Hello,
How to communication FMC125 with Arduino via Serial (UART) port (TX, RX pin)?
(1-First send “Hello” from Arduino board to FMC125, then send its to server by FMC125.
2-send “Hi” from FMC125 to Arduino board)
Hello,
How to communication FMC125 with Arduino via Serial (UART) port (TX, RX pin)?
(1-First send “Hello” from Arduino board to FMC125, then send its to server by FMC125.
2-send “Hi” from FMC125 to Arduino board)
Hello
you can test with the following setting
here the device will work as a gateway between the server and Arduino,
you can send a command from the server to the Arduino over CODEC12
https://wiki.teltonika-gps.com/view/Codec#Codec_12
let me know the result,
thanks,
in LOG showing this error:
[TCPMOD] ERROR @ m2m_rs232_tcp.c(44):Data skipped! Reason:0
Hello
This error is related to the SIM card, when you use TCP/UDP>> the device acts as a gateway, between the external device and the server, there, the data session should be active (the link between the device and the server should be up) during the test
BR
laith
thanks again,
One more question,
in LOG showing this error again:
[TCPMOD] ERROR @ m2m_rs232_tcp.c(44):Data skipped! Reason:2
And is it possible to see the sent data in the log or should I only see it on the server and the AVL packet? (Because I don’t see anything in the log!!!)
Hello, I am not sure if you can see the packet on the normal logs, therefore, I suggest you to check on the server,
the packet will come to the server in CODEC12 format, not as normal AVL data
Note: try to change the mode to TCP/UDP binary, and check
BR
Excuse me, do I have to activate CODEC12 somewhere?
No, it is the protocol that we use to send commands to the device
So no special setting is required on the device, right? (except setting RS232 in TCP ASCII mode) And the settings should be done on the server side?
Hello
there are some settings, RS configuration(like mode and baud rate), and you need to configure the device to keep the link always open,
Please contact your sales manager to get support for the configuration
BR
laith
Thanks
good luck
This topic was automatically closed 40 hours after the last reply. New replies are no longer allowed.