...
A: Yes [link]:
A.1: read raw data from serial port;
A.2: send raw data to server through TCP Binary/ASCII mode;
A.3: read raw data from server;
A.4: parse raw data.
...
Q: Is it possible to connect fms to FMB640 directly?
A: If you would like to connect FMS to FMB640, you can connect it directly to FMB640 CAN lines without any adpaters or Converters, please see this link:
https://teltonika.lt/downloads/en/fmb640/FMB640-wiring-full.png
CAN1L and CAN1H can be connected to the FMS lines directly to read FMS data.
...
Q: How to get the parameters received by the fms by sms?
A: After connecting FMB640 to FMS and by sending SMS command "scanfms", you will receive a response with parameters that are received from FMS. (Igniton of Truck has to be On)
https://wiki.teltonika.lt/view/FMB_scanfms
...
Q: Can we use the RS232 port for FMS data?
A: By using a RS232 converter to connect to FMB640, you would have to use TCP Binary/ASCII mode. But you will receive all data from FMS unparsed (you would have to parse data from the server side).
https://wiki.teltonika.lt/view/FMB640_RS-232_and_RS-485
...