mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
include/nuttx/wireless: Another correction to a Bluetooth IOCTL command structure.
This commit is contained in:
@@ -116,7 +116,8 @@
|
|||||||
|
|
||||||
/* SIOCBT_ADVERTISESTOP
|
/* SIOCBT_ADVERTISESTOP
|
||||||
* Description: Stop advertising.
|
* Description: Stop advertising.
|
||||||
* Input: None
|
* Input: A reference to a write-able instance of struct
|
||||||
|
* bt_scanstop_s.
|
||||||
* Output: None
|
* Output: None
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -245,6 +246,13 @@ struct bt_advertisestart_s
|
|||||||
FAR const struct bt_eir_s as_sd; /* Data for scan response packets */
|
FAR const struct bt_eir_s as_sd; /* Data for scan response packets */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* The read-only data that accompanies the SIOCBT_SCANSTOP IOCTL command */
|
||||||
|
|
||||||
|
struct bt_advertisestop_s
|
||||||
|
{
|
||||||
|
char at_name[HCI_DEVNAME_SIZE]; /* Device name */
|
||||||
|
};
|
||||||
|
|
||||||
/* The read-only data that accompanies the SIOCBT_SCANSTART IOCTL command */
|
/* The read-only data that accompanies the SIOCBT_SCANSTART IOCTL command */
|
||||||
|
|
||||||
struct bt_scanstart_s
|
struct bt_scanstart_s
|
||||||
|
|||||||
@@ -300,7 +300,8 @@ int btnet_ioctl(FAR struct net_driver_s *dev, int cmd, unsigned long arg)
|
|||||||
|
|
||||||
/* SIOCBT_ADVERTISESTOP
|
/* SIOCBT_ADVERTISESTOP
|
||||||
* Description: Stop advertising.
|
* Description: Stop advertising.
|
||||||
* Input: None
|
* Input: A reference to a write-able instance of struct
|
||||||
|
* bt_scanstop_s.
|
||||||
* Output: None
|
* Output: None
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user