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

Go to the source code of this file.

Data Structures

struct  ble_tss_init_t
 Thingy Sound Service initialization structure. More...
 
struct  ble_tss_s
 Thingy Sound Service structure. More...
 

Macros

#define BLE_TSS_MAX_DATA_LEN   (GATT_MTU_SIZE_DEFAULT - 3)
 
#define BLE_UUID_TSS_SERVICE   0x0500
 

Typedefs

typedef void(* ble_tss_evt_handler_t )(ble_tss_t *p_tss, ble_tss_evt_type_t evt_type, uint8_t *p_data, uint16_t length)
 Thingy Sound Service event handler type.
 

Functions

uint32_t ble_tss_init (ble_tss_t *p_tss, const ble_tss_init_t *p_tss_init)
 Function for initializing the Thingy Sound Service. More...
 
uint32_t ble_tss_mic_set (ble_tss_t *p_tss, uint8_t *p_data, uint16_t size)
 Function for sending microphone data. More...
 
void ble_tss_on_ble_evt (ble_tss_t *p_tss, ble_evt_t *p_ble_evt)
 Function for handling the Thingy Sound Service's BLE events. More...
 
uint32_t ble_tss_spkr_stat_set (ble_tss_t *p_tss, ble_tss_spkr_stat_t status)
 Function for sending speaker status. More...