- pi@raspberrypi:~/wasp-os $ ls -l hrs.data
- -rw-r--r-- 1 pi pi 478104 Aug 18 07:36 hrs.data
- pi@raspberrypi:~/wasp-os $ ls -l
- total 592
- drwxr-xr-x 7 pi pi 4096 Jul 31 21:18 bootloader
- drwxr-xr-x 2 pi pi 4096 Aug 3 22:45 build-pinetime
- -rw-r--r-- 1 pi pi 35149 Jul 31 15:43 COPYING
- -rw-r--r-- 1 pi pi 7652 Jul 31 15:43 COPYING.LGPL
- drwxr-xr-x 3 pi pi 4096 Jul 31 15:43 docs
- -rw-r--r-- 1 pi pi 1008 Aug 7 20:52 filtering.py
- -rw-r--r-- 1 pi pi 478104 Aug 18 07:36 hrs.data
- -rw-r--r-- 1 pi pi 129 Aug 4 16:47 hrv.data
- drwxr-xr-x 2 pi pi 4096 Aug 4 16:46 logs
- -rw-r--r-- 1 pi pi 4491 Jul 31 15:43 Makefile
- drwxr-xr-x 14 pi pi 4096 Jul 31 15:44 micropython
- drwxr-xr-x 2 pi pi 4096 Aug 9 15:51 pulled
- -rw-r--r-- 1 pi pi 0 Aug 9 16:40 python
- -rw-r--r-- 1 pi pi 7909 Jul 31 15:43 README.rst
- drwxr-xr-x 5 pi pi 4096 Jul 31 21:19 reloader
- drwxr-xr-x 2 pi pi 4096 Jul 31 15:43 res
- -rw-r--r-- 1 pi pi 3368 Aug 7 15:52 sync-pinetime.py
- -rw-r--r-- 1 pi pi 5938 Aug 9 17:20 TODO.rst
- drwxr-xr-x 8 pi pi 4096 Aug 9 15:55 tools
- drwxr-xr-x 8 pi pi 4096 Aug 9 15:55 wasp
- pi@raspberrypi:~/wasp-os $ cp hrs.data hrs.data1
- pi@raspberrypi:~/wasp-os $ ls
- bootloader docs hrv.data pulled res wasp
- build-pinetime filtering.py logs python sync-pinetime.py
- COPYING hrs.data Makefile README.rst TODO.rst
- COPYING.LGPL hrs.data1 micropython reloader tools
- pi@raspberrypi:~/wasp-os $ ls -l
- total 1060
- drwxr-xr-x 7 pi pi 4096 Jul 31 21:18 bootloader
- drwxr-xr-x 2 pi pi 4096 Aug 3 22:45 build-pinetime
- -rw-r--r-- 1 pi pi 35149 Jul 31 15:43 COPYING
- -rw-r--r-- 1 pi pi 7652 Jul 31 15:43 COPYING.LGPL
- drwxr-xr-x 3 pi pi 4096 Jul 31 15:43 docs
- -rw-r--r-- 1 pi pi 1008 Aug 7 20:52 filtering.py
- -rw-r--r-- 1 pi pi 478104 Aug 18 07:36 hrs.data
- -rw-r--r-- 1 pi pi 478104 Aug 18 21:57 hrs.data1
- -rw-r--r-- 1 pi pi 129 Aug 4 16:47 hrv.data
- drwxr-xr-x 2 pi pi 4096 Aug 4 16:46 logs
- -rw-r--r-- 1 pi pi 4491 Jul 31 15:43 Makefile
- drwxr-xr-x 14 pi pi 4096 Jul 31 15:44 micropython
- drwxr-xr-x 2 pi pi 4096 Aug 9 15:51 pulled
- -rw-r--r-- 1 pi pi 0 Aug 9 16:40 python
- -rw-r--r-- 1 pi pi 7909 Jul 31 15:43 README.rst
- drwxr-xr-x 5 pi pi 4096 Jul 31 21:19 reloader
- drwxr-xr-x 2 pi pi 4096 Jul 31 15:43 res
- -rw-r--r-- 1 pi pi 3368 Aug 7 15:52 sync-pinetime.py
- -rw-r--r-- 1 pi pi 5938 Aug 9 17:20 TODO.rst
- drwxr-xr-x 8 pi pi 4096 Aug 9 15:55 tools
- drwxr-xr-x 8 pi pi 4096 Aug 9 15:55 wasp
- pi@raspberrypi:~/wasp-os $ ./tools/wasptool --device EF:46:76:DB:A7:CC --eval 'watch.rtc.get_localtime()'
- ~~~
- (2020, 3, 2, 4, 43, 9, 0, 62)
- ~~~
- pi@raspberrypi:~/wasp-os $ ./tools/wasptool --device EF:46:76:DB:A7:CC --check--rtc
- usage: wasptool [-h] [--as UPLOAD_AS] [--battery] [--bootloader] [--binary]
- [--console] [--check-rtc] [--device DEVICE] [--exec EXEC]
- [--eval EVAL] [--memfree] [--pull PULL] [--push PUSH]
- [--reset] [--ota OTA] [--rtc] [--upload UPLOAD] [--verbose]
- wasptool: error: unrecognized arguments: --check--rtc
- pi@raspberrypi:~/wasp-os $ ./tools/wasptool --device EF:46:76:DB:A7:CC --check-rtc
- PC <-> watch: 04:44:20 <-> 22:02:35 (delta 62295)
- pi@raspberrypi:~/wasp-os $ ./tools/wasptool --device F5:E2:9C:A2:B0:9B --check-rtc
- PC <-> watch: 10:54:29 <-> 22:03:39 (delta 40150)
- pi@raspberrypi:~/wasp-os $ date
- Wed 18 Aug 22:04:42 EDT 2021
- pi@raspberrypi:~/wasp-os $ ./tools/wasptool --device F5:E2:9C:A2:B0:9B --pull hrs.data
- Downloading hrs.data:
- Traceback (most recent call last):.................] 48.8%
- File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 111, in expect_loop
- incoming = spawn.read_nonblocking(spawn.maxread, timeout)
- File "/usr/lib/python3/dist-packages/pexpect/pty_spawn.py", line 482, in read_nonblocking
- raise TIMEOUT('Timeout exceeded.')
- pexpect.exceptions.TIMEOUT: Timeout exceeded.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "./tools/wasptool", line 421, in <module>
- handle_binary_download(console, args.pull, args.pull)
- File "./tools/wasptool", line 264, in handle_binary_download
- reply = c.run_command('repr(f.read(24))')
- File "./tools/wasptool", line 42, in run_command
- c.expect('>>> ')
- File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 341, in expect
- timeout, searchwindowsize, async_)
- File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 369, in expect_list
- return exp.expect_loop(timeout)
- File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 119, in expect_loop
- return self.timeout(e)
- File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 82, in timeout
- raise TIMEOUT(msg)
- pexpect.exceptions.TIMEOUT: Timeout exceeded.
- <pexpect.pty_spawn.spawn object at 0x76214990>
- command: ./tools/pynus/pynus.py
- args: [b'./tools/pynus/pynus.py', b'--address', b'F5:E2:9C:A2:B0:9B']
- buffer (last 100 chars): '\r\r\nMe'
- before (last 100 chars): '\r\r\nMe'
- after: <class 'pexpect.exceptions.TIMEOUT'>
- match: None
- match_index: None
- exitstatus: None
- flag_eof: False
- pid: 6283
- child_fd: 5
- closed: False
- timeout: 30
- delimiter: <class 'pexpect.exceptions.EOF'>
- logfile: None
- logfile_read: None
- logfile_send: None
- maxread: 2000
- ignorecase: False
- searchwindowsize: None
- delaybeforesend: 0.05
- delayafterclose: 0.1
- delayafterterminate: 0.1
- searcher: searcher_re:
- 0: re.compile('>>> ')
- pi@raspberrypi:~/wasp-os $ ls -l]
- ls: invalid option -- ']'
- Try 'ls --help' for more information.
- pi@raspberrypi:~/wasp-os $ ls -l
- total 1144
- drwxr-xr-x 7 pi pi 4096 Jul 31 21:18 bootloader
- drwxr-xr-x 2 pi pi 4096 Aug 3 22:45 build-pinetime
- -rw-r--r-- 1 pi pi 35149 Jul 31 15:43 COPYING
- -rw-r--r-- 1 pi pi 7652 Jul 31 15:43 COPYING.LGPL
- drwxr-xr-x 3 pi pi 4096 Jul 31 15:43 docs
- -rw-r--r-- 1 pi pi 1008 Aug 7 20:52 filtering.py
- -rw-r--r-- 1 pi pi 562488 Aug 19 01:55 hrs.data
- -rw-r--r-- 1 pi pi 478104 Aug 18 21:57 hrs.data1
- -rw-r--r-- 1 pi pi 129 Aug 4 16:47 hrv.data
- drwxr-xr-x 2 pi pi 4096 Aug 4 16:46 logs
- -rw-r--r-- 1 pi pi 4491 Jul 31 15:43 Makefile
- drwxr-xr-x 14 pi pi 4096 Jul 31 15:44 micropython
- drwxr-xr-x 2 pi pi 4096 Aug 9 15:51 pulled
- -rw-r--r-- 1 pi pi 0 Aug 9 16:40 python
- -rw-r--r-- 1 pi pi 7909 Jul 31 15:43 README.rst
- drwxr-xr-x 5 pi pi 4096 Jul 31 21:19 reloader
- drwxr-xr-x 2 pi pi 4096 Jul 31 15:43 res
- -rw-r--r-- 1 pi pi 3368 Aug 7 15:52 sync-pinetime.py
- -rw-r--r-- 1 pi pi 5938 Aug 9 17:20 TODO.rst
- drwxr-xr-x 8 pi pi 4096 Aug 9 15:55 tools
- drwxr-xr-x 8 pi pi 4096 Aug 9 15:55 wasp
- pi@raspberrypi:~/wasp-os $ cp hrs.data hrs.data2