AnsweredAssumed Answered

Sensor port problem

Question asked by zlatoslavm on Sep 22, 2016

Hello,
I am new in application development and my question is related to the sensor ports. Currently I am using QML code that tries to connect with COM port and receive nmea data from it but I have a problem with this type of connection. The problem is that I cannot access the data that comes into my device. I am using the following code:

SensorPort {
id: portTest
baudRate: 9600
dataFormat: SensorPort.Nmea
portName: "COM2"
flowControl: SensorPort.HardwareControl
}

And then I am using the line: portTest.connect(). In the console it`s written Error 10. Can you tell me what might be the problem.

Best Regards,

Zlatoslav.

Outcomes