Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_tcs.h File Reference

Go to the source code of this file.

Data Structures

struct  ble_tcs_init_t
 Thingy Configuration Service initialization structure. More...
 
struct  ble_tcs_s
 Thingy Configuration Service structure. More...
 

Macros

#define BLE_TCS_MAX_DATA_LEN   (GATT_MTU_SIZE_DEFAULT - 3)
 
#define BLE_UUID_TCS_SERVICE   0x0100
 

Typedefs

typedef void(* ble_tcs_evt_handler_t )(ble_tcs_t *p_tcs, ble_tcs_evt_type_t evt_type, uint8_t *p_data, uint16_t length)
 Thingy Configuration Service event handler type.
 

Functions

uint32_t ble_tcs_init (ble_tcs_t *p_tcs, const ble_tcs_init_t *p_tcs_init)
 Function for initializing the Thingy Configuration Service. More...
 
uint32_t ble_tcs_mtu_set (ble_tcs_t *p_tcs, ble_tcs_mtu_t *p_data)
 Function for setting the MTU char data. More...
 
void ble_tcs_on_ble_evt (ble_tcs_t *p_tcs, ble_evt_t *p_ble_evt)
 Function for handling the Thingy Configuration Service's BLE events. More...