Device name and its properties. More...
#include <ble_gap.h>
Data Fields |
|
| ble_gap_conn_sec_mode_t | write_perm |
| uint8_t | vloc :2 |
| uint8_t * | p_value |
| uint16_t | current_len |
| uint16_t | max_len |
Detailed Description
Device name and its properties.
- Note
- If max_len is more than BLE_GAP_DEVNAME_DEFAULT_LEN and vloc is set to BLE_GATTS_VLOC_STACK , the attribute table size must be increased to have room for the longer device name (see ble_gatts_enable_params_t ).
Field Documentation
| uint16_t ble_gap_device_name_t::current_len |
Current length in bytes of the memory pointed to by p_value.
| uint16_t ble_gap_device_name_t::max_len |
Maximum length in bytes of the memory pointed to by p_value.
| uint8_t* ble_gap_device_name_t::p_value |
Pointer to where the value (device name) is stored or will be stored.
| uint8_t ble_gap_device_name_t::vloc |
Value location, see GATT Value Locations .
| ble_gap_conn_sec_mode_t ble_gap_device_name_t::write_perm |
Write permissions.