This example shows how to use Bluetooth Low-Energy (BLE) communication with your Toit devices.
To run the BLE advertising code example on your ESP32, execute the following Toit CLI command:
toit run advertising.toit
To run the BLE scanning code example on your ESP32, execute the following Toit CLI command:
toit run scanning.toit