Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Functions | Variables
lampda::logic::inputs_bluetooth Namespace Reference

Handle the system input, the behavior associated to the bluetooth inputs. More...

Functions

bool is_bluetooth_used ()
 Indicates when called if a bluetooth command was received during the last power on.
 
void handle_BLE_ELK_command (const utils::ELK::Package &elkControlCommand)
 Handle an ELK bluetooth command.
 

Variables

static bool _wasBluetoothUsed = false
 keep track of the bluetooth uses
 

Detailed Description

Handle the system input, the behavior associated to the bluetooth inputs.

Function Documentation

◆ handle_BLE_ELK_command()

void lampda::logic::inputs_bluetooth::handle_BLE_ELK_command ( const utils::ELK::Package elkControlCommand)

Handle an ELK bluetooth command.

Parameters
[in]elkControlCommandControl command, assumed to be received by bluetooth