Reading from devrfcomm0 (bluetooth) works perfectly. My program connects to the USB port but it does not get any data. ![]() The program correctly handles reading data from the GPS device via bluetooth.īut when I try to read data through USB is unfortunately the program does not receive anything.īy the console command: cat devttyUSB0 I get the whole sequence of NMEA data from GPS devices. Problem: Cant have a faster read via serial port 1) Try to empty first the buffer before reading the next data buffer bufferreadserial() 2) of course you can adjust the faster baud rate your host device is capable too. Gambas Serial Port Send Receive Serial Interfacing RS232 Gambas Serial Port Send Receive Serial Interfacing RS232.Gambas Serial Port Send Receive Code PRIVATE SComm.
0 Comments
Leave a Reply. |