- pi@raspberrypi:~/616/wasp-os $ sudo hcitool lescan
- LE Scan ...
- F5:E2:9C:A2:B0:9B PineTime
- F5:E2:9C:A2:B0:9B (unknown)
- 6E:9A:D9:B4:5C:DD (unknown)
- 6E:9A:D9:B4:5C:DD (unknown)
- EF:46:76:DB:A7:CC PineTime
- pi@raspberrypi:~/616/wasp-os $ ./tools/wasptool --console
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 166, in read_nonblocking
- s = os.read(self.child_fd, size)
- OSError: [Errno 5] Input/output error
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- 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 485, in read_nonblocking
- return super(spawn, self).read_nonblocking(size)
- File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 171, in read_nonblocking
- raise EOF('End Of File (EOF). Exception style platform.')
- pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "./tools/wasptool", line 399, in <module>
- console.expect('Exit console using Ctrl-X')
- 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 117, in expect_loop
- return self.eof(e)
- File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 63, in eof
- raise EOF(msg)
- pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
- <pexpect.pty_spawn.spawn object at 0x76278d50>
- command: ./tools/pynus/pynus.py
- args: [b'./tools/pynus/pynus.py']
- buffer (last 100 chars): ''
- before (last 100 chars): ' timeout)\r\ndbus.exceptions.DBusException: org.bluez.Error.Failed: Software caused connection abort\r\n'
- after: <class 'pexpect.exceptions.EOF'>
- match: None
- match_index: None
- exitstatus: None
- flag_eof: True
- pid: 3973
- 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('Exit console using Ctrl-X')
- pi@raspberrypi:~/616/wasp-os $ pip3 install update
- Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
- Collecting update
- Downloading https://www.piwheels.org/simple/update/update-0.4.4-py3-none-any.whl
- Installing collected packages: update
- Successfully installed update-0.4.4
- pi@raspberrypi:~/616/wasp-os $