Jump to content









Photo

Connecting an AVL tracking device to Carriots

AVL tracking device C4MAX C4EVO

  • Please log in to reply
1 reply to this topic

#1 ldorado12

ldorado12

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 05 January 2017 - 05:01 PM

Hi,
 
I would like to connect an AVL (Automatic Vehicle Location) device similar to Mobile Devices C4MAX/C4EVO to Carriots. My AVL supports TCP/IP but the protocol is not HTTP. It transmits an ASCII string having the following format: 
 
>RUS01,050117155306-3302139-0610482128400011000001008111601101774964F,0000000004221232,01;ID=10192;#0002;*41<
 
where
 
 Each message begins with the ">" symbol and ends with the "<" symbol.
"RUS01" is a header.
"050117155306-3302139-06104821284..." is an ASCII string having date, time, latitude, longitude, speed, etc.
"ID=10192" is a unique ID for each AVL device.
"#0002" is the message ID.
 "*41" is a Checksum.
 
Since C4MAX/C4EVO devices don't support HTTP neither, I think there should be a procedure for adding similar devices. 
 
Is there an API or something that I could use for connecting my AVL to Carriots?
 
I would greatly appreciate your suggestions.
 
Regards,
 
Luis


#2 jpastor

jpastor

    Development leader

  • Administrators
  • 159 posts

Posted 24 January 2017 - 11:00 AM

Hi Luis.

 

Carriots can receive the information via HTTP or MQTT.
If your device does not support HTTP but has TCP / IP, it will be more appropriate to use MQTT although you should send the information as specified in: https://www.carriots...umentation/mqtt

Unfortunately we do not have an API for your device, so you could send the information using MQTT or use an intermediate gateway that receives the information, parses the ASCII string, converts it to JSON and sends the information (via MQTT or HTTP).

Best regards!
 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users