OpenSignals/problémy/2023-07-06

Z Wikiverzity

OpenSignals/problémy/2023-07-06

Problem[editovat]

  • Zapnu 4-kanálový hub bioPLUX
00:07:80:D8:A8:0C
  • kliknu na FIND AND CONFIGURE YOUR DEVICES
  • 1 FOUND
  • malé okénko:
DEVICE biosignalsplux
MAC    00:07:80:D8:A8:0C
NAME   00:07:80:D8:A8:0C
        DISABLED

  • Ale pak vyskočí okénko:
⨂ ERROR MESSAGE
The communication port does not exist or it is
already being used
    [OK]
  • kliknu na OK
  • After minutes OpenSignals crashes
$ opensignals &
[1] 124831
$ Start Server
Python Started
create websocket
create websocket
create websocket
[Errno 2] No such file or directory: '/home/petr/Documents/OpenSignals (r)evolution/configurations/device_list.json'

create websocket
websocket opened
[Errno 2] No such file or directory: '/home/petr/Documents/OpenSignals (r)evolution/configurations/general_config.json'

has user: False

8 8

Traceback (most recent call last):
  File "./code/server.py", line 1292, in addDevice
  File "./code/modules/deviceFinder.py", line 239, in checkDevice
  File "./code/modules/deviceInterface.py", line 106, in myDevice
RuntimeError: The communication port does not exist or it is already being used.

Druhý pokus:

$ opensignals &
[1] 128466
$ Start Server
Python Started
create websocket
create websocket
create websocket
websocket opened
has user: False

8 8

Traceback (most recent call last):
  File "./code/server.py", line 1292, in addDevice
  File "./code/modules/deviceFinder.py", line 239, in checkDevice
  File "./code/modules/deviceInterface.py", line 106, in myDevice
RuntimeError: The communication port does not exist or it is already being used.

Kliknu na DISABLED a opět:

⨂ ERROR MESSAGE The communication port does not exist or it is already being used
Traceback (most recent call last):
  File "./code/server.py", line 1292, in addDevice
  File "./code/modules/deviceFinder.py", line 239, in checkDevice
  File "./code/modules/deviceInterface.py", line 106, in myDevice
RuntimeError: The communication port does not exist or it is already being used.

Hledám communication port v manuálu OpenSignals_Manual.pdf a najdu na str. 232, oddíl 7.4 Error List:

TID  Error:
3    The communication port does not exist or it is already being used.
Solution:
This exception usually means that the device to which you are trying to
connect is already connected somewhere else. To solve, you can either
shutdown the software that is connecting to the device or try turning off and
on the device itself, since this action will close the connection.
If you keep having this issue multiple times, it may be due to a problem with
the Bluetooth Adapter when it comes to closing the connection to the device.
Please try the instructions in 7.1. Windows Bluetooth Stack Troubleshooting.
If the issue is still not solved, you have to manually force the disconnection of
your software with the device after each interaction. To do so, follow the
instruction in related to the removal of Paired Devices (7.1. Windows
Bluetooth Stack Troubleshooting).
  • Žádný jiný software s hubem nekomunikuje
  • Vypnu a zapnu hub, ale chyba se stále opakuje

Nevím, jestli mám postupovat podle manuálu str. 26, paragraph 1.4.4 Linux?

Jdu na str. 218, 7 Troubleshooting / 7.1 Windows Bluetooth Stack Troubleshooting

Týká se ale jenom Windows

2023-07-07[editovat]

Problém vyřešen, zřejmě po update firmware se změnil PIN z 123 na 1234, i když manuál říká něco jiného.

Spárování Bluetooth:

  • OpenSignals_Manual.pdf str. 26: 1.4 Connecting Bluetooth devices / 1.4.4 Linux
  • Zapnu hub (musí blikat zelená LEDka)
  • Ve stavové liště kliknu na ikonu Bluetooth  – povoleno
  • Nastavit nové zařízení
  • Vítejte v průvodci pro nastavení zařízení Bluetooth
  • Následující
  • kliknu na biosignalsplux
  • vyberte metodu: Párovat zařízení
  • For biosignalsplux devices enter: 123
In the new PIN Options window click on Custom PIN and enter the device’s PIN to connect
to your device. For biosignalsplux devices enter 123 (while for BITalino the pin will be
1234) and click on Next to connect to your device.
  • nepodařilo se přidat zařízení / Pairing failed for 00:07:80:D8:A8:0C
  • Dokončení – Zavřít
  • Pokusem zjištěno, že funguje PIN 1234