Daniel,
I have tried your OS its really good I like it
Just a quick question, what is the best way to change the time?
I used to use my PinePhone to connect to the watch using bluetoothctl and manually setting the HEX bits needed to change the time using the Time Service
I tried this with wasp OS and I keep getting
[CHG] Device D3:14:37:A9:BB:32 Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device D3:14:37:A9:BB:32 Connected: no
When I look at the nrf app I can't see the time service anymore.
===========
ok I found the below, I just need to figure out how to do it.
At the end of the install process your watch will show the time (03:00) together with a date and a battery meter. When the watch goes into power saving mode you can use the button to wake it again.
At this point you will also be able to use the Nordic UART Service to access the MicroPython REPL. You can use
to access the MicroPython REPL.
To set the time and restart the main application:
[color=var(--color-prettylights-syntax-constant)]^[color=var(--color-prettylights-syntax-variable)]C[/color]
watch.rtc.[color=var(--color-prettylights-syntax-entity)]set_localtime[/color]((yyyy, mm, dd, [color=var(--color-prettylights-syntax-variable)]HH[/color], [color=var(--color-prettylights-syntax-variable)]MM[/color], [color=var(--color-prettylights-syntax-variable)]SS[/color]))
wasp.system.[color=var(--color-prettylights-syntax-entity)]run[/color]()[/color]
Or, if you have a suitable GNU/Linux workstation, just use:
./tools/wasptool --rtc
=============================
Never mind I found what I needed now
Simply run the script (using Python 3 - Python 2 is not supported!) and it automatically connects to the first NUS console it can find. Exit using
.
I have tried your OS its really good I like it
Just a quick question, what is the best way to change the time?
I used to use my PinePhone to connect to the watch using bluetoothctl and manually setting the HEX bits needed to change the time using the Time Service
I tried this with wasp OS and I keep getting
[CHG] Device D3:14:37:A9:BB:32 Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device D3:14:37:A9:BB:32 Connected: no
When I look at the nrf app I can't see the time service anymore.
===========
ok I found the below, I just need to figure out how to do it.
At the end of the install process your watch will show the time (03:00) together with a date and a battery meter. When the watch goes into power saving mode you can use the button to wake it again.
At this point you will also be able to use the Nordic UART Service to access the MicroPython REPL. You can use
Code:
tools/wasptool --console
To set the time and restart the main application:
[color=var(--color-prettylights-syntax-constant)]^[color=var(--color-prettylights-syntax-variable)]C[/color]
watch.rtc.[color=var(--color-prettylights-syntax-entity)]set_localtime[/color]((yyyy, mm, dd, [color=var(--color-prettylights-syntax-variable)]HH[/color], [color=var(--color-prettylights-syntax-variable)]MM[/color], [color=var(--color-prettylights-syntax-variable)]SS[/color]))
wasp.system.[color=var(--color-prettylights-syntax-entity)]run[/color]()[/color]
Or, if you have a suitable GNU/Linux workstation, just use:
./tools/wasptool --rtc
=============================
Never mind I found what I needed now
Simply run the script (using Python 3 - Python 2 is not supported!) and it automatically connects to the first NUS console it can find. Exit using
Code:
Ctrl-X