PebbleOS v4.47.0-1161-g94e3d98da
Loading...
Searching...
No Matches
pbl_pp_gatt_config Struct Reference

What the application provides to the transport, see pbl_pp_gatt_configure(). More...

#include <gatt.h>

Data Fields

const char * serial_number
 Serial number of the device, sent to the phone when a session starts: PBL_PP_GATT_SERIAL_NUMBER_SIZE characters, a terminator is not needed.
 
void(* set_responsiveness )(uint16_t conn_handle, struct pbl_bt_responsiveness_req *req, enum pbl_bt_response_time_state state, uint16_t max_period_secs)
 Applies a connection response time, see pbl_pp_session_set_responsiveness(): typically pbl_bt_responsiveness_request().
 

Detailed Description

What the application provides to the transport, see pbl_pp_gatt_configure().

Field Documentation

◆ serial_number

const char* pbl_pp_gatt_config::serial_number

Serial number of the device, sent to the phone when a session starts: PBL_PP_GATT_SERIAL_NUMBER_SIZE characters, a terminator is not needed.

◆ set_responsiveness

void(* pbl_pp_gatt_config::set_responsiveness) (uint16_t conn_handle, struct pbl_bt_responsiveness_req *req, enum pbl_bt_response_time_state state, uint16_t max_period_secs)

Applies a connection response time, see pbl_pp_session_set_responsiveness(): typically pbl_bt_responsiveness_request().

Called from any thread. NULL leaves connections as they are.


The documentation for this struct was generated from the following file: