Hi,
My problem occurs when I try to read bits from GPS. Not all GPS, only one : SOKKIA GRX2.
Here is my code :
Is there something I miss to set or check ?
Thanks in advance.
My problem occurs when I try to read bits from GPS. Not all GPS, only one : SOKKIA GRX2.
Here is my code :
Client = new BluetoothClient();
BluetoothEndPoint ep = new BluetoothEndPoint(BluetoothAddress.Parse(strAdresse), BluetoothService.SerialPort);
Client.Connect(Ep);
Stream peerStream = Client.GetStream();
...
byte[] buf = new byte[240];
int b = peerStream.ReadByte();
This code works for all GPS I've tested (Holux, Trimble, ...). However, last line stucks my thread for Sokkia GPS. No error throwed, even in debug, the thread is stucked for hours !Is there something I miss to set or check ?
Thanks in advance.