File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2828extern "C" {
2929#endif
3030
31- /** Possible types of buffers passed around the Bluetooth stack */
31+ /** Possible types of buffers passed around the Bluetooth stack in a form of bitmask. */
3232enum bt_buf_type {
3333 /** HCI command */
34- BT_BUF_CMD ,
34+ BT_BUF_CMD = BIT ( 0 ) ,
3535 /** HCI event */
36- BT_BUF_EVT ,
36+ BT_BUF_EVT = BIT ( 1 ) ,
3737 /** Outgoing ACL data */
38- BT_BUF_ACL_OUT ,
38+ BT_BUF_ACL_OUT = BIT ( 2 ) ,
3939 /** Incoming ACL data */
40- BT_BUF_ACL_IN ,
40+ BT_BUF_ACL_IN = BIT ( 3 ) ,
4141 /** Outgoing ISO data */
42- BT_BUF_ISO_OUT ,
42+ BT_BUF_ISO_OUT = BIT ( 4 ) ,
4343 /** Incoming ISO data */
44- BT_BUF_ISO_IN ,
44+ BT_BUF_ISO_IN = BIT ( 5 ) ,
4545 /** H:4 data */
46- BT_BUF_H4 ,
46+ BT_BUF_H4 = BIT ( 6 ) ,
4747};
4848
4949/** @brief This is a base type for bt_buf user data. */
You can’t perform that action at this time.
0 commit comments