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);
Stream peerStream = Client.GetStream();
byte buf = new byte;
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.