BlueSTSDK_Android icon indicating copy to clipboard operation
BlueSTSDK_Android copied to clipboard

Send Command using BlueST Android to turn off device and wake it at specified time?

Open reokyouma opened this issue 4 years ago • 1 comments

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?

reokyouma avatar Feb 27 '20 01:02 reokyouma

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

GiovanniVisentiniST avatar Feb 27 '20 09:02 GiovanniVisentiniST