Programming Manual

i480e&i480e-MD2 Programming Manual
86 / 139
18.1.2 HID Disconnect Status
typedef enum
{
hid_disconnect_success, /*!< Successful disconnection.*/
hid_disconnect_link_loss, /*!< Unsuccessful due to the link being lost.*/
hid_disconnect_timeout, /*!< Unsuccessful due to time out.*/
hid_disconnect_violation, /*!< Disconnection due to protocol violation
*/
hid_disconnect_error, /*!< Unsuccessful for some other
reason.*/
hid_disconnect_virtual_unplug, /*!< Virtual unplug disconnection */
hid_disconnect_command_disallowed /* command disallowed. */
} hid_disconnect_status;
18.2
HIDCONN
The HIDCONN command is used to create an HID connection with the host.
Command
AT+B HIDCONN [bd_addr]
Response
AT-B HIDCONN [hid_connect_status],[bd_addr]
Parameters
hid_connect_status
Refer to the chapter 18.1.1.
bd_addr
remote device address
Note
N/A
18.3
HIDDISC
The HIDDISC command is used to disconnect the HID connection with the host.
Command
AT+B HIDDISC
Response
AT-B HIDDISC [disconnect_status]
Parameters
disconnect_staus
Refer to the chapter 18.1.2.
Note
N/A
Barrot Confidential