TinyCTS
Bluetooth Current Time Service client and server for Arduino
Loading...
Searching...
No Matches
TinyCTSPicoBLE.h File Reference

Starts the BLE stack of the Raspberry Pi Pico (W) core once, for the client and the server. More...

Go to the source code of this file.

Functions

bool tiny_cts::ctsPicoBegin (const char *name, bool pairing)

Detailed Description

Starts the BLE stack of the Raspberry Pi Pico (W) core once, for the client and the server.

Function Documentation

◆ ctsPicoBegin()

bool tiny_cts::ctsPicoBegin ( const char * name,
bool pairing )
inline

Start the BLE hardware, if that has not been done yet.

Parameters
nameThe name of the device (server)
pairingAllow pairing ("just works"); it can be selected only before the BLE hardware is started.
Returns
false if the hardware was started before without the pairing that is requested now.