Hi all,
I'm currently working on a wearable that connects to an app via ble. This connection is only ever initiated by a button press and used to change some settings. Hence, I dont need the radio to stay on all the time and draw power. For the project I'm using a XIAO ble sense. I first used the ArduinoBLE library for the project but had to change to do problems with the embed stuff and the XIAO. The ArduinoBLE library has a BLE.end() function so I'm wondering if bluefruit has something similar. I found this thread on the topic but it didn't help much Turn Bluetooth on and off · Issue #167 · adafruit/Adafruit_nRF52_Arduino · GitHub.
Thanks advance for taking the time to read this.
kind regards
Frederik