Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
lampda::bluetooth::BLEElkService Class Reference

Set a ELK Bluetooth service. Used to control the lamp wia bluetooth. More...

#include <elk_service.h>

Inheritance diagram for lampda::bluetooth::BLEElkService:

Public Member Functions

err_t begin (void) override
 

Static Public Attributes

static const uint8_t UUID128_SERVICE [16]
 ELK main service.
 
static const uint8_t UUID128_CHR_WRITE [16]
 Characteristic write service.
 

Protected Member Functions

void elk_commmand_handle (uint16_t conn_hdl, const uint8_t *data, uint16_t len) const
 callback for a received command
 

Detailed Description

Set a ELK Bluetooth service. Used to control the lamp wia bluetooth.

Member Data Documentation

◆ UUID128_CHR_WRITE

const uint8_t lampda::bluetooth::BLEElkService::UUID128_CHR_WRITE
static
Initial value:
= {
0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xf3, 0xff, 0x00, 0x00}

Characteristic write service.

◆ UUID128_SERVICE

const uint8_t lampda::bluetooth::BLEElkService::UUID128_SERVICE
static
Initial value:
= {
0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xf0, 0xff, 0x00, 0x00}

ELK main service.


The documentation for this class was generated from the following files: