sl_bt_evt_l2cap_command_rejectedL2CAP Connection Oriented Channels#

Indicates that the peer device rejected a command.

Data Structures#


struct | sl_bt_evt_l2cap_command_rejected_s
| Data structure of the command_rejected event.

Macros#


#define | sl_bt_evt_l2cap_command_rejected_id 0x064300a0
| Identifier of the command_rejected event.

Detailed Description#

Indicates that the peer device rejected a command.

This might happen if, for example, the device does not support the feature or the command has an incorrect CID.


Data Structure Documentation#

◆ sl_bt_evt_l2cap_command_rejected_s#

struct sl_bt_evt_l2cap_command_rejected_s#

Data structure of the command_rejected event.

Data Fields#

uint8_t | connection |

The Bluetooth connection handle on which the event is received

uint8_t | code |

Enum sl_bt_l2cap_command_code_t. Code of the rejected command

uint16_t | reason |

Enum sl_bt_l2cap_command_reject_reason_t. The rejection reason