You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To explain this bug I am going to use an RTK rover containing an F9p ublox with a Bluetooth connection thanks to the HC-05 module connected to the uart1.
On the other side a pc or raspberry pi under linux with rtklib (RTKLIB-b34g) using str2str to redirect data from a CentipedeRTK network base to rfcomm (/dev/rfcomm0) to broadcast the correction to the F9p.
bug:
str2str no longer sends data if the Bluetooth module disconnects and reconnects, it is necessary to restart str2str to have a data transfer again, yet the logs still show a data transfer.
you can change LIENSS to the base closest to you and in operation ( https://centipede.fr)
Now the data is sent to the F9P and the RTK LED should glow or flash (check that you are connected to an aerial and that you are in a place where the aerial can see the satellites).
Making the bug:
restart your rover or just the bluetooth module. Tthe rtk led (fix/float) no longer glows.Yet you still have correct logs on str2str
a serial write may fail because buffer full or something like that, but this code do not do nothing with the error. if the kernel remove a device then put it back, the first device serial may be locked and the serial will be bound to another device. in your example rfcomm0 should still exist as long as str2str is running, but yout rf device should be bound on rfcomm1 (I do not have hardware to reproduce this, I did some test with virtual device but ... )
jancelin/MultiProbeCase#7 (comment)
context:
To explain this bug I am going to use an RTK rover containing an F9p ublox with a Bluetooth connection thanks to the HC-05 module connected to the uart1.
On the other side a pc or raspberry pi under linux with rtklib (RTKLIB-b34g) using str2str to redirect data from a CentipedeRTK network base to rfcomm (/dev/rfcomm0) to broadcast the correction to the F9p.
bug:
str2str no longer sends data if the Bluetooth module disconnects and reconnects, it is necessary to restart str2str to have a data transfer again, yet the logs still show a data transfer.
method for manufacturing the bug:
Configure GNSS F9p And BT
https://docs.centipede.fr/docs/make_rover/configuration
Configure PC/ raspberry pi
bluetoothctl
scan on
pair 00:19:09:01:0B:CF
trust 00:19:09:01:0B:CF
quit
Start rfcomm to automatically connect the bluetooth module to the
/dev/rfcomm0
portsudo rfcomm bind 0 00:19:09:01:0B:CF
ls -l /dev
str2str -in ntrip://:@caster.centipede.fr:80/LIENSS -out serial://rfcomm0:115200:8:N:1:off
Now the data is sent to the F9P and the RTK LED should glow or flash (check that you are connected to an aerial and that you are in a place where the aerial can see the satellites).
Making the bug:
Tthe rtk led (fix/float) no longer glows.Yet you still have correct logs on str2str
ctrl c
)str2str -in ntrip://:@caster.centipede.fr:80/LIENSS -out serial://rfcomm0:115200:8:N:1:off
)The LED on the f9p is glowing again, so the RTCM3 corrections are reaching the f9p....
The text was updated successfully, but these errors were encountered: