Skip to content

Commit ff9698a

Browse files
nimble/host: move BLE_GATT_CHR_CLI_SUP_FEAT_SZ to public header
Move BLE_GATT_CHR_CLI_SUP_FEAT_SZ to public header.
1 parent 1dd610a commit ff9698a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

nimble/host/include/host/ble_gatt.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ struct ble_hs_cfg;
198198

199199
/** @} */
200200

201+
/** Client supported features size. For now only 3 bits in first octet are defined */
202+
#define BLE_GATT_CHR_CLI_SUP_FEAT_SZ 1
203+
201204
/*** @client. */
202205
/** Represents a GATT error. */
203206
struct ble_gatt_error {

nimble/host/src/ble_gatt_priv.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ extern STATS_SECT_DECL(ble_gatts_stats) ble_gatts_stats;
8888

8989
#define BLE_GATT_CHR_DECL_SZ_16 5
9090
#define BLE_GATT_CHR_DECL_SZ_128 19
91-
#define BLE_GATT_CHR_CLI_SUP_FEAT_SZ 1
92-
/**
93-
* For now only 3 bits in first octet are defined
94-
*
95-
*/
9691
#define BLE_GATT_CHR_CLI_SUP_FEAT_MASK 7
9792
#define BLE_GATT_DB_HASH_SZ 16
9893

0 commit comments

Comments
 (0)