API for the LED Button Service (LBS).
More...
|
#define | BT_UUID_LBS_VAL BT_UUID_128_ENCODE(0x00001523, 0x1212, 0xefde, 0x1523, 0x785feabcd123) |
| LBS Service UUID.
|
|
#define | BT_UUID_LBS_BUTTON_VAL BT_UUID_128_ENCODE(0x00001524, 0x1212, 0xefde, 0x1523, 0x785feabcd123) |
| Button Characteristic UUID.
|
|
#define | BT_UUID_LBS_LED_VAL BT_UUID_128_ENCODE(0x00001525, 0x1212, 0xefde, 0x1523, 0x785feabcd123) |
| LED Characteristic UUID.
|
|
#define | BT_UUID_LBS BT_UUID_DECLARE_128(BT_UUID_LBS_VAL) |
|
#define | BT_UUID_LBS_BUTTON BT_UUID_DECLARE_128(BT_UUID_LBS_BUTTON_VAL) |
|
#define | BT_UUID_LBS_LED BT_UUID_DECLARE_128(BT_UUID_LBS_LED_VAL) |
|
|
typedef void(* | led_cb_t) (const bool led_state) |
| Callback type for when an LED state change is received.
|
|
typedef bool(* | button_cb_t) (void) |
| Callback type for when the button state is pulled.
|
|
API for the LED Button Service (LBS).