Go to the documentation of this file.
56 #ifndef _SAMPLE_PROFILE_H_
57 #define _SAMPLE_PROFILE_H_
60 #include "custom_config.h"
68 #define SAMPLES_INSTANCE_MAX 0x01
69 #define SAMPLES_CONNECTION_MAX 10
70 #define SAMPLES_MAX_DATA_LEN 244
71 #define SAMPLES_SERVICE_UUID 0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
72 0x0A, 0x46, 0x44, 0xD3, 0x01, 0x01, 0xED, 0xA6
@ SAMPLES_EVT_TX_NOTIFY_COMPLETE
@ SAMPLES_EVT_TX_NOTIFICATION_DISABLED
samples_evt_handler_t evt_handler
void(* samples_evt_handler_t)(samples_evt_t *p_evt)
Sample Service event handler type.
Sample Service init stucture. This contains all option and data needed for initialization of the serv...
@ SAMPLES_EVT_RX_RECEIVE_DATA
sdk_err_t samples_notify_tx_data(uint8_t conn_idx, uint8_t ins_idx, uint8_t *p_data, uint16_t length)
Send data to peer device.
uint16_t sdk_err_t
SDK API result type.
@ SAMPLES_EVT_TX_NOTIFICATION_ENABLED
sdk_err_t samples_service_init(samples_init_t samples_init[], uint8_t ins_num)
Initialize Sample Service instances and add in the DB.
samples_evt_type_t evt_type
samples_evt_type_t
Sample Service event type.