A guide to Devices for the total Newb

JonMoJo12 days ago

Hi there,

I'm sorry if this has already been addressed (...and please refer me if that's the case?)

My use case is with a Simcom A7670e module that I want to follow on Traccar - I've read around the documentation for both, but need to understand:

  1. How do I identify the correct protocol (and port) for this Device - Is this one of the clones? How would I know?
  2. What does the device need to do to talk to Traccar?
    a. Are there AT commands I need to turn on or send to get the information into Traccar? (I just need to know I need to do this, not the actual commands).
    b. Can I use LTE, GPS or WiFi (ESP 32) to send tracking data? (The ESP32 will control the A7670e)
    c. How does the 'protocol' initiate comms between the Device and Traccar? i.e. Does the device need to start the 'conversation'? (send an http(s) request to the server.)

Out of the box the A7670e does:

  1. Send and recieve SMS
  2. Recieve phone calls

As you can probably tell, I'm new to both Traccar and GSM/GPS devices, but trying to learn as quickly as I can, so feel free to redirect me to other reading or links if my questions are too basic.

I need to start with LTE as the specific device I currently has does not have GPS on it - I have the one with both on order, but I do want my final project to work with as many 'phone' protocols as possible.

I think that'll get me started. Thank you in advance.

Anton Tananaev12 days ago

Your device need to connect to the server and report the data. There are many protocol available:

https://www.traccar.org/protocols/

But if you just want location, this might be the simplest option:

https://www.traccar.org/osmand/

JonMoJo12 days ago

Thanks Anton,

I appreciate all the work you've done on this server and it's support services - Monumental.

I think https://www.traccar.org/osmand/ is what I'll need, and as I understand this example, I need the A7670e to 'ping' the Traccar server with http://demo.traccar.org:5055/?id=12345&lat=48.8566&lon=2.3522&timestamp=1609459200000 (or with extra parameters) every few minutes? I can do this via the ESP 32.

..and the 'protocol' is essentially how the http request is constructed, like an API call?

Thanks.

Anton Tananaev12 days ago

Yes. We don't call it API because most of the protocols are not HTTP-based. Many are raw TCP/UDP or sometimes other things, like MQTT.

JonMoJo12 days ago

Understood - I'll crack on.