L
L
Lev Fedorov2017-10-08 21:39:46
Arduino
Lev Fedorov, 2017-10-08 21:39:46

Reading from monitor port?

So, I need to read from the port monitor, a line with the signal strength and poppy address from the HC-05 module. In high priority, reading only the degree of the signal, it is encoded with 4 hex bits, maximum FFFF. How to implement it?

+INQ:FE84:46:6580C4,5A020C,FFCA

Outputs a line like this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yegor S, 2017-10-10
@gorbln

The question was asked incorrectly. What do you need to do? Parse the line that comes to the arduino port? Or to the input to the computer FROM the arduino? It's like a completely different task.
Accordingly, in the first case, study examples of working with an arduino port, for example, SerialCallResponseASCII. But in general, parsing on arduino is not a very convenient thing.
In the second case - everything will depend on what you want to get. A "port monitor" is simply a connection to the serial port on which the arduino hangs. Accordingly, you can also connect to this port and receive data from it, and then process it as you like. Any python is there, or whatever you like. I use delphi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question