BlueSTSDK_Android
BlueSTSDK_Android copied to clipboard
Send Command using BlueST Android to turn off device and wake it at specified time?
Hi
Is it possible to send a bluetooth command or is there any part of the library that can send command to the device to turn off and wake up after some time after the android finished getting the data?
Hi,
no that use case is not manage by the sdk. you can use the "Debug" console that is a serial and send a command that do what you want. you can see here some example about commands to set the time: https://github.com/STMicroelectronics/STBlueMS_Android/blob/3026be0ae48d49e8b8a81054dbb4b3a5ae4a625f/BlueMS/src/main/java/com/st/BlueMS/preference/nucleo/NucleoConsole.java#L80
Giovanni