mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
serial/uart/h4: add ioctl interface
Signed-off-by: chengkai <chengkai@xiaomi.com>
This commit is contained in:
@@ -79,6 +79,11 @@ struct bt_driver_s
|
||||
enum bt_buf_type_e type,
|
||||
FAR void *data, size_t len);
|
||||
|
||||
/* Lower-half logic may support platform-specific ioctl commands */
|
||||
|
||||
CODE int (*ioctl)(FAR struct bt_driver_s *btdev, int cmd,
|
||||
unsigned long arg);
|
||||
|
||||
/* Filled by register function, shouldn't be touched by bt_driver_s */
|
||||
|
||||
FAR void *priv;
|
||||
|
||||
Reference in New Issue
Block a user