InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.72k stars 931 forks source link

Disable Bluetooth #632

Closed convolutionbbs closed 2 years ago

convolutionbbs commented 3 years ago

Hi - is there a way to disable bluetooth from the watch? If not, could it be added as a feature request?

ajack2001my commented 3 years ago

Until we can input date/time directly on the watch, I don't think it's a good idea.

JF002 commented 3 years ago

It's not possible to disable bluetooth for now, but it might be an interesting feature to add !

geekbozu commented 3 years ago

We should definitely consider adding an "airplane" mode setting. Should not be to to difficult either.

davidhealey commented 3 years ago

Until we can input date/time directly on the watch, I don't think it's a good idea.

But you could use bluetooth to set date/time then turn off the bluetooth, no? It wouldn't be any different from not being near your phone.

GIJack commented 3 years ago

Until we can input date/time directly on the watch, I don't think it's a good idea.

It is. two reasons

  1. airplane mode. So you can take this on an airplane, or wear it through areas that are RF sensative or can't have radios. It will still be usable as a watch, syncing before and after a flight.
  2. storage. If you are not using the watch, and its not connected, you don't have to worry about it broadcasting anything or someone else connecting to it
Chasarr commented 3 years ago

Restarting bluetooth is definitely a welcome feature now when it tends to be a bit unstable. I frequently have to restart my watch to reconnect it to my phone, and a simple "restart bluetooth" button would be great

Avamander commented 3 years ago

@Chasarr

and a simple "restart bluetooth" button would be great

Nope, not a "simple" thing, safe to say it'd be here if it were.

Also use the :+1: react if you just wish to agree with the proposal.

Chasarr commented 3 years ago

Oh, don't get me wrong! I meant clicking the button might be simple, not actually implementing it! Bluetooth connectivity seems to be working better with a pull request merged for 1.5 which might remove my need for such an option for me.

I was just explaining another use case of the button which wasn't mentioned here previously, so I would argue that I actually added something to the conversation, although not vital. I'm not very well versed in Github issue comment etiquette, so apologies if my comment felt like spam to you

TommyTran732 commented 3 years ago

It would really be great if we can have secure pairing and an option to disable bluetooth :)

Avamander commented 3 years ago

@tommytran732

It would really be great if we can have secure pairing and an option to disable bluetooth :)

Secure bonding is a separate issue and if you simply agree with a request, use the :+1: react.

uis246 commented 2 years ago

I think there will several modes: "noisy"(with adv), normal(without adv), quiet(if possible to use rx only) and disabled.

uis246 commented 2 years ago

secure pairing

MITM-proof? Show some sort of key as qr code.

medeyko commented 2 years ago

There also exist potential tracking vulnerabilitirs when BLE is on, so maybe it's one more cause to have an option to turn BLE off:

https://www.theregister.com/2021/10/22/bluetooth_tracking_device/ https://cseweb.ucsd.edu/~nibhaska/papers/sp22_paper.pdf https://www.zdnet.com/article/bluetooth-vulnerability-can-be-exploited-to-track-and-id-iphone-smartwatch-microsoft-tablet-users/ https://www.usenix.org/conference/usenixsecurity21/presentation/stute

uis246 commented 2 years ago

Thanks. Non-advertising mode with keeping connections, but maybe it is not so useful as complete disabling.

JF002 commented 2 years ago

The airplane mode feature should disconnect from any BLE device and stop advertising. In theory, it should prevent the radio from emitting any signal. I don't have the necessary equipment to check that in reality, though.