mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
bluetooth: Forward ioctl to btuart lowerhalf driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
fab8b081c0
commit
6ec74d8d36
@@ -137,6 +137,11 @@ struct btuart_lowerhalf_s
|
||||
/* Flush/drain all buffered RX data */
|
||||
|
||||
CODE ssize_t (*rxdrain)(FAR const struct btuart_lowerhalf_s *lower);
|
||||
|
||||
/* Lower-half logic may support platform-specific ioctl commands */
|
||||
|
||||
CODE int (*ioctl)(FAR const struct btuart_lowerhalf_s *lower,
|
||||
int cmd, unsigned long arg);
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user