We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcc1d38 commit 3a07c25Copy full SHA for 3a07c25
include/zephyr/bluetooth/buf.h
@@ -36,8 +36,8 @@ extern "C" {
36
37
/** Possible types of buffers passed around the Bluetooth stack in a form of bitmask. */
38
enum bt_buf_type {
39
- /** Invalid value, used for error checking */
40
- BT_BUF_TYPE_INVALID = 0,
+ /** Unknown/invalid packet type, used for error checking */
+ BT_BUF_TYPE_NONE = 0,
41
/** HCI command */
42
BT_BUF_CMD = BIT(0),
43
/** HCI event */
@@ -102,7 +102,7 @@ static inline enum bt_buf_type bt_buf_type_from_h4(uint8_t h4_type, enum bt_buf_
102
case BT_HCI_H4_ISO:
103
return dir == BT_BUF_OUT ? BT_BUF_ISO_OUT : BT_BUF_ISO_IN;
104
default:
105
- return BT_BUF_TYPE_INVALID;
+ return BT_BUF_TYPE_NONE;
106
}
107
108
0 commit comments