diff --git a/include/nuttx/wireless/bt_ioctl.h b/include/nuttx/wireless/bt_ioctl.h index 6326ea822f7..f468e143130 100644 --- a/include/nuttx/wireless/bt_ioctl.h +++ b/include/nuttx/wireless/bt_ioctl.h @@ -116,7 +116,8 @@ /* SIOCBT_ADVERTISESTOP * Description: Stop advertising. - * Input: None + * Input: A reference to a write-able instance of struct + * bt_scanstop_s. * Output: None */ @@ -245,6 +246,13 @@ struct bt_advertisestart_s 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 */ struct bt_scanstart_s diff --git a/wireless/bluetooth/bt_ioctl.c b/wireless/bluetooth/bt_ioctl.c index 28aa2a86bd6..98f3f4293b4 100644 --- a/wireless/bluetooth/bt_ioctl.c +++ b/wireless/bluetooth/bt_ioctl.c @@ -300,7 +300,8 @@ int btnet_ioctl(FAR struct net_driver_s *dev, int cmd, unsigned long arg) /* SIOCBT_ADVERTISESTOP * Description: Stop advertising. - * Input: None + * Input: A reference to a write-able instance of struct + * bt_scanstop_s. * Output: None */