![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Public Member Functions | |
bool | start (uint8_t adv_time) |
bool | stop () |
bool | status () |
bool start | ( | uint8_t | adv_time | ) |
adv_time | advertising timeout in seconds. If x = 0, advertising never stops |
TRUE | for start advertising success |
FALSE | for for start advertising failure |
bool stop | ( | ) |
TRUE | for stop advertising success |
FALSE | for for stop advertising failure |
void setup() { api.ble.advertise.stop(); } void loop() { }
bool status | ( | ) |
TRUE | : the device is in advertising |
FALSE | : the device is stop advertis |