20#include <zephyr/types.h>
23#define BT_UUID_LBS_VAL \
24 BT_UUID_128_ENCODE(0x00001523, 0x1212, 0xefde, 0x1523, 0x785feabcd123)
27#define BT_UUID_LBS_BUTTON_VAL \
28 BT_UUID_128_ENCODE(0x00001524, 0x1212, 0xefde, 0x1523, 0x785feabcd123)
31#define BT_UUID_LBS_LED_VAL \
32 BT_UUID_128_ENCODE(0x00001525, 0x1212, 0xefde, 0x1523, 0x785feabcd123)
35#define BT_UUID_LBS BT_UUID_DECLARE_128(BT_UUID_LBS_VAL)
36#define BT_UUID_LBS_BUTTON BT_UUID_DECLARE_128(BT_UUID_LBS_BUTTON_VAL)
37#define BT_UUID_LBS_LED BT_UUID_DECLARE_128(BT_UUID_LBS_LED_VAL)
led_state
Asset Tracker led states in the application.
Definition: led_state_event.h:21
int bt_lbs_send_button_state(bool button_state)
Send the button state.
bool(* button_cb_t)(void)
Callback type for when the button state is pulled.
Definition: lbs.h:43
void(* led_cb_t)(const bool led_state)
Callback type for when an LED state change is received.
Definition: lbs.h:40
int bt_lbs_init(struct bt_lbs_cb *callbacks)
Initialize the LBS Service.
button_cb_t button_cb
Definition: lbs.h:50
led_cb_t led_cb
Definition: lbs.h:48
Callback struct used by the LBS Service.
Definition: lbs.h:46