Skip to content

Commit d1af0f3

Browse files
nimble/host: move BLE_GATT_CHR_CLI_SUP_FEAT_SZ to public header.
Moves 'BLE_GATT_CHR_CLI_SUP_FEAT_SZ' from the private header to the public ble_gatt.h header.
1 parent 0259699 commit d1af0f3

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

nimble/host/include/host/ble_gatt.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ struct ble_hs_cfg;
201201

202202
/** @} */
203203

204+
/**
205+
* @brief Size of the GATT Client Supported Features characteristic.
206+
*
207+
*/
208+
#define BLE_GATT_CHR_CLI_SUP_FEAT_SZ 1
209+
210+
/** @} */
211+
204212
/*** @client. */
205213
/** Represents a GATT error. */
206214
struct ble_gatt_error {

nimble/host/src/ble_gatt_priv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +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
9291
/**
9392
* For now only 3 bits in first octet are defined
9493
*

0 commit comments

Comments
 (0)