36 #ifndef __BT_GATTS_SERVICE_H__ 37 #define __BT_GATTS_SERVICE_H__ const uint8_t * bt_gatts_service_get_gap_device_name(void)
This function gets the current Device Name Characteristic value.
The Peripheral Preferred Connection Parameters structure of the GAP service.
Definition: bt_gatts_service.h:95
uint16_t supervision_timeout
Connection Supervision Timeout in 10 ms units, value range: 0x000A to 0x0C80.
Definition: bt_gatts_service.h:100
bt_status_t bt_gatts_service_set_gap_ppcp(bt_gatts_le_gap_ppcp_t *ppcp_param)
This function sets Peripheral Preferred Connection Parameters Characteristic.
void bt_gatts_service_init(void)
This function initializes the GATTS service.
uint16_t slave_latency
Slave Latency in number of connection events, value range: 0x0000 to 0x03E8.
Definition: bt_gatts_service.h:99
bt_status_t bt_gatts_service_set_gap_central_address_resolution(uint8_t flag)
This function sets Central Address Resolution Characteristic.
int32_t bt_status_t
Define the status type, returned from the APIs, and defined as BT_STATUS_XXX.
Definition: bt_type.h:173
bt_status_t bt_gatts_service_set_gap_device_name(const uint8_t *device_name, uint16_t length)
This function sets Device Name Characteristic.
uint16_t max_conn_interval
Maximum Connection Interval in 1.25 ms units, value range: 0x0006 to 0x0C80.
Definition: bt_gatts_service.h:98
void bt_gatts_service_set_gap_appearance(uint16_t appearance)
This function sets Appearance Characteristic.
uint16_t min_conn_interval
Minimum Connection Interval in 1.25 ms units, value range: 0x0006 to 0x0C80.
Definition: bt_gatts_service.h:97
Service structure of the GATTS.
Definition: bt_gatts.h:245