Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Namespaces | Functions
bluetooth_mock.cpp File Reference

Mock of the board bluetooth. More...

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::platform
 Handle the platform specific interactions.
 
namespace  lampda::platform::bluetooth
 Handle the platform specific bluetooth operations.
 

Functions

bool lampda::platform::bluetooth::is_activated ()
 Return true if the bluetooth is activated.
 
bool lampda::platform::bluetooth::is_advertising ()
 Return true is the bluetooth is visible by other devices.
 
bool lampda::platform::bluetooth::is_connected ()
 Return true if a bluetooth user is connected.
 
void lampda::platform::bluetooth::start_advertising ()
 
void lampda::platform::bluetooth::stop_bluetooth_advertising ()
 
void lampda::platform::bluetooth::write_battery_level (const uint8_t batteryLevel)
 
void lampda::platform::bluetooth::notify_battery_level (const uint8_t batteryLevel)
 

Detailed Description

Mock of the board bluetooth.