A272R版本优化
This commit is contained in:
@ -204,7 +204,7 @@ void send_mul_touchscreen_x_y_2_carplay(
|
||||
unsigned short x2, unsigned short y2
|
||||
);
|
||||
/*
|
||||
* @brief 发送旋钮信息给苹果;
|
||||
* @brief 发送旋钮信息给苹果手机,不建议用这个;
|
||||
*/
|
||||
void KnobUpdate(char gSelectButtonPressed,
|
||||
char gHomeButtonPressed,
|
||||
@ -213,6 +213,15 @@ void KnobUpdate(char gSelectButtonPressed,
|
||||
double gYPosition,
|
||||
char gWheelPositionRelative
|
||||
);
|
||||
/*
|
||||
* @brief 发送旋钮信息给苹果手机;
|
||||
*/
|
||||
void sendKnobInfo( char gSelectButtonPressed,
|
||||
char gHomeButtonPressed,
|
||||
char gBackButtonPressed,
|
||||
char gXPosition,
|
||||
char gYPosition,
|
||||
char gWheelPositionRelative);
|
||||
|
||||
/*
|
||||
* @brief 请求iphone启动一个应用;
|
||||
@ -266,6 +275,8 @@ void process_record_stream(int handle, void *buffer, int len, int frames, unsign
|
||||
|
||||
int carplay_get_iphone_ip_addr(char *ipaddr);
|
||||
void carplay_wl_set_iphone_mac_addr(char bt_addr[6]);
|
||||
int carplay_get_connected_iphone_wifi_mac(char mac[18]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -131,6 +131,18 @@ typedef struct __carplay_cfg_info
|
||||
|
||||
}carplay_cfg_info;
|
||||
|
||||
typedef struct _carlink_flash_io
|
||||
{
|
||||
uint32_t (*get_data_arae_size)(void* ctx);
|
||||
uint32_t (*get_flash_block_erase_size)(void* ctx);
|
||||
int32_t (*op_flash)(void* flash_handle, void* ctx, int open);
|
||||
int32_t (*read_data)(void* flash_handle, void *data, uint32_t length, uint32_t offset, void* ctx);
|
||||
int32_t (*write_data)(void* flash_handle, void *data, uint32_t length, uint32_t offset, void* ctx);
|
||||
void* ctx;
|
||||
void* flash_handle;
|
||||
} carlink_flash_io;
|
||||
void register_carlink_flash_io_interface(carlink_flash_io *handle);
|
||||
|
||||
#if 0
|
||||
typedef struct __auto_cfg_info
|
||||
{
|
||||
|
Reference in New Issue
Block a user