Hello,

I have a question about the Bluetooth functionality inside a shimmer device.
In my application I need to have the functionality to turn the Bluetooth On and OFF.

To turn the BT Off, I send a command to the shimmer. To turn back On I am waiting for the dock event. I already have managed to implement this, but I am not completely sure if the following commands are all I need.

*To turn ON:*
    call BluetoothInit.init();
    call BTStdControl.start();

*To turn Off:*
    call BTStdControl.stop();

*Note:*
interface StdControl as BTStdControl;
interface Init as BluetoothInit;

I tested my application, and the battery drainage time doesn't correspond.
The time for working with BT Off is the same as the BT is always ON.

Are the commands mentioned before enough to turn the BT On and Off?

Thanks,
Hristijan
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to