Go to the documentation of this file.
58 #include "custom_config.h"
59 #include "fault_trace.h"
67 #define LNS_CONNECTION_MAX 10
68 #define LNS_SERVICE_UUID 0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
69 0x0A, 0x46, 0x44, 0xD3, 0x01, 0x08, 0xED, 0xA6
70 #define LNS_LOG_INFO_VAL_LEN 244
71 #define LNS_LOG_CTRL_PT_VAL_LEN 1
@ LNS_CTRL_PT_TRACE_INFO_DUMP
lns_evt_type_t
Log Notification Service event type.
sdk_err_t lns_log_info_send(uint8_t conn_idx)
Notify saved log information if it`s cccd is enabled.
@ LNS_EVT_TRACE_INFO_CLEAR
Log Notification Service event.
@ LNS_EVT_CTRL_PT_IND_ENABLE
@ LNS_EVT_CTRL_PT_IND_DISABLE
sdk_err_t lns_service_init(lns_evt_handler_t evt_handler)
Initialize a Log Notification Service instance and add in the DB.
uint16_t sdk_err_t
SDK API result type.
@ LNS_CTRL_PT_TRACE_INFO_CLEAR
@ LNS_CTRL_PT_TRACE_STATUS_GET
sdk_err_t lns_pay_load_update(uint8_t conn_idx, const uint16_t payload_len)
Update lns gatt payload length (MTU - 3).
@ LNS_EVT_TRACE_INFO_DUMP
@ LNS_EVT_LOG_INFO_NTF_DISABLE
sdk_err_t lns_log_status_send(uint8_t conn_idx, const uint8_t log_num)
Send saved log status.
@ LNS_EVT_LOG_INFO_NTF_ENABLE
void(* lns_evt_handler_t)(lns_evt_t *p_evt)
Log Notification Service event handler type.
@ LNS_EVT_TRACE_STATUS_GET
lns_ctrl_pt_t
Log Notification Service Control Point.