Classes | Macros | Typedefs | Enumerations | Functions
ls.h File Reference
`#include "gr55xx_sys.h"`
`#include "custom_config.h"`

Go to the source code of this file.

## Classes
struct | lms_evt_t
| LMS Service event. More...
struct | lms_init_t
| LMS Service initialization variable. More...

## Macros
#define | LMS_CONNECTION_MAX
| Maximum number of LMS Service connections. More...
#define | LMS_MAX_DATA_LEN 244
| Maximum length of LMS characteristic. More...
#define | BLE_UUID_LMS_SERVICE
| The UUID of LMS Service for setting advertising data. More...
#define | LMS_PATTERN_VALUE 0x474f4f44
| The Fast OTA pattern value. More...

## Typedefs
typedef void(* | lms_evt_handler_t) (lms_evt_t *p_evt)
| LMS Service event handler type. More...
typedef void(* | function) (void)
| LMS Service function type. More...

## Enumerations
enum | lms_evt_type_t { LMS_EVT_INVALID, LMS_EVT_CMD_NOTIFICATION_ENABLED, LMS_EVT_CMD_NOTIFICATION_DISABLED, LMS_EVT_CMD_RECEIVE_DATA, LMS_EVT_CMD_NOTIFY_COMPLETE, LMS_EVT_DATA_NOTIFICATION_ENABLED, LMS_EVT_DATA_NOTIFICATION_DISABLED, LMS_EVT_DATA_RECEIVE_DATA, LMS_EVT_DATA_NOTIFY_COMPLETE }
| LMS Service event type. More...

## Functions
sdk_err_t | lms_service_init (lms_init_t *p_otas_init)
| Add an LMS Service instance in the DB. More...
sdk_err_t | lms_notify_cmd (uint8_t conn_idx, uint8_t *p_data, uint16_t length)
| Send data to peer device. More...
sdk_err_t | lms_notify_data (uint8_t conn_idx, uint8_t *p_data, uint16_t length)
| Send data to peer device. More...