添加与app对接协议
This commit is contained in:
@@ -134,10 +134,11 @@ uint8_t pc_device_choice(device_t *port, uint8_t type);
|
||||
* @param port 由对应的驱动提供的绑定接口获得的句柄
|
||||
* @param buffer 读取数据缓存
|
||||
* @param length 读取数据长度
|
||||
* @param timeout 超时时间
|
||||
* @retval < 0 操作失败或在指定的时间内未满足指定的操作长度
|
||||
* @retval >= 0 实际已缓存的长度
|
||||
*/
|
||||
int embedded_device_read(device_t *port, void *buffer, uint32_t length);
|
||||
int embedded_device_read(device_t *port, void *buffer, uint32_t length, uint32_t timeout);
|
||||
/**
|
||||
* @brief 嵌入式设备数据接口写操作
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user