Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn screen on and off over BLE #32

Open
FedericoCeratto opened this issue Jun 27, 2024 · 1 comment
Open

Turn screen on and off over BLE #32

FedericoCeratto opened this issue Jun 27, 2024 · 1 comment
Assignees

Comments

@FedericoCeratto
Copy link

Hello and thanks for developing the firmware.
I would love to be able to turn the screen on and off remotely over BLE on the RISC-V variant. Ideally the off state should be really low power.

@kienvo
Copy link
Member

kienvo commented Jun 27, 2024

Hi @FedericoCeratto, thank you for the interesting idea.

Currently, the BLE is only turned on in the download mode. To have this feature implemented, I think we should change a bit how BLE works:

  • Defining new characteristics/services and data exchanging around these so we can send on/off commands over the new characteristics.
  • The badge will have always-on-BLE, probably consume more power (I haven't do the measurement yet), but I think we could turn it on/off over the characteristics above.

For low power sleep while BLE is turned on, I haven't figured out how it works on this chip. The datasheet is missing the BLE sections. The internal clock source for BLE seems noisy. All my works on BLE are guessed based on BLE conventions =]

@kienvo kienvo self-assigned this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants