14#define BLE_SVC_SERIAL_DATA_LEN_MAX (486)
15#define BLE_SVC_SERIAL_CHAR_VALUE_LEN_MAX (243)
18 SerialServiceEventTypeDataReceived,
19 SerialServiceEventTypeDataSent,
20 SerialServiceEventTypesBleResetRequest,
21} SerialServiceEventType;
29 SerialServiceEventType event;
33typedef uint16_t (*SerialServiceEventCallback)(
SerialServiceEvent event,
void* context);
41void ble_svc_serial_set_callbacks(
44 SerialServiceEventCallback callback,
51bool ble_svc_serial_update_tx(
BleServiceSerial* service, uint8_t* data, uint16_t data_len);
Definition serial_service.c:64
Definition serial_service.h:23
Definition serial_service.h:28