Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Functions
lampda::hal::bluetooth Namespace Reference

Handle the platform specific bluetooth operations. More...

Functions

bool is_activated ()
 Return true if the bluetooth is activated.
 
bool is_advertising ()
 Return true is the bluetooth is visible by other devices.
 
bool is_connected ()
 Return true if a bluetooth user is connected.
 
void start_advertising ()
 
void stop_bluetooth_advertising ()
 
void write_battery_level (const uint8_t batteryLevel)
 
void notify_battery_level (const uint8_t batteryLevel)
 
bool was_used ()
 Return tue if the bluetooth was used during lifetime.
 
void shutdown ()
 

Detailed Description

Handle the platform specific bluetooth operations.