Transmitting/Receiving data to/from a GRPS device

Fabricio Rodriguez

I have been tasked with writing a C# / WPF app that displays location information of vehicle GPS tracking devices out in the field, which use a GPRS modem for communications. The tracking device in question is a Meitrack device (http://www.meitrack.net/). This device can send and receive data via GPRS and SMS.

Looking at the protocol, the device can transmit data to the server using this message structure:

@@<Data identifier><Data length>,<IMEI>,<Command type>,<Command><* Check code>\r\n

And the server can transmit data to the device using this structure:

$$<Data identifier><Data length>,<IMEI>,<Command type>,<Command><* Check code>\r\n

Now I'm unfortunately not very clued up with GRPS communications. My first question is, do I need a GPRS modem on the server side for all of this to work? Or can the tracking units transmit GPRS data to a specific IP address using TCP or UDP, where the server (with a static IP address) would be listening? If the latter is the case, it would be sufficient for the server to simply have an internet connection, and would not require a GPRS modem?

However, looking at the protocol, I see a parameter called IMEI. This I know is a unique identifier for all cellular devices. So it looks as if that is the method of communications for this tracking device? I.e. All comms stays in the cellular network (and does not enter the internet) and communicates with other devices by addressing their IMEI? In this case the server WOULD require a GPRS modem.

So my first question is if a GPRS modem will be required on the server side or not. Or can I get away with the server simply having an internet connection, and using IP addresses instead of IMEI or SIM numbers? And if that is the case, would each tracking device also require a static IP address if the server wished to talk back to the tracking device?

Sorry for my ignorance. I've used GSM modems many years ago for sending and receiving SMSes via AT commands, but I've never used them for GPRS data.

Thanks in advance for any support...

user1725145

Without knowing this particular product, this is how I understand it works:

The GPRS modem forms a mobile connection to your mobile operator's network. On top of this mobile connection, it needs to form an IP connection to a server in the operator's network. Via this server (access point), you can access the internet, including your own server, just as you would via any internet service provider.

Your server only needs a normal internet connection.

The IMEI in the above messages seems to be just an identifier for the tracking device - it's not actually needed for the connection. The mobile network takes care of routing IP packets to the correct GPRS device.

The tracker is just like any computer accessing the internet via a service provider - it can download and upload information.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

OpenCL - Writing data to device

From Dev

Store data on the device permanently

From Dev

Send data and command from device to device in a LAN

From Dev

Intercepting data sent by input device

From Dev

gps device data receiving and interpreting it

From Dev

How to delete the data in Character device

From Dev

Sending data to android wear device

From Dev

Not receiving data from BLE device

From Dev

Keychain data security in jailbroken device

From Dev

Is this data cable able to charge a device?

From Dev

Sending data blink(1) device

From Dev

Upload data to simulated iOS device

From Java

How to access data/data folder in Android device?

From Dev

custom QAbstractNetworkCache implementation; QAbstractNetworkCache::insert(QIODevice *device) device has no data

From Dev

Does copying Android application from device to device copies the data as well?

From Dev

Google fit data is different from device to device with same account

From Dev

Does copying Android application from device to device copies the data as well?

From Dev

What data can a HID device receive?

From Dev

Secure Storage of Personal User Data on iOS Device

From Dev

How to store a user's data to the device?

From Dev

SharedPreference not saving any data into my device

From Dev

Detect if an android device has mobile data capability

From Dev

OpenCV - copy CUDA device data into GPU Mat

From Dev

how to send data (a string) to a paired device in android?

From Dev

Send data to USB GPIO device on Ubuntu

From Dev

How to store data securely on a mobile device?

From Dev

Store in-app items data on device

From Dev

NSData initWithContentsOfURL reading not all data, but only on device

From Dev

CUDA device to host data transfer error

Related Related

  1. 1

    OpenCL - Writing data to device

  2. 2

    Store data on the device permanently

  3. 3

    Send data and command from device to device in a LAN

  4. 4

    Intercepting data sent by input device

  5. 5

    gps device data receiving and interpreting it

  6. 6

    How to delete the data in Character device

  7. 7

    Sending data to android wear device

  8. 8

    Not receiving data from BLE device

  9. 9

    Keychain data security in jailbroken device

  10. 10

    Is this data cable able to charge a device?

  11. 11

    Sending data blink(1) device

  12. 12

    Upload data to simulated iOS device

  13. 13

    How to access data/data folder in Android device?

  14. 14

    custom QAbstractNetworkCache implementation; QAbstractNetworkCache::insert(QIODevice *device) device has no data

  15. 15

    Does copying Android application from device to device copies the data as well?

  16. 16

    Google fit data is different from device to device with same account

  17. 17

    Does copying Android application from device to device copies the data as well?

  18. 18

    What data can a HID device receive?

  19. 19

    Secure Storage of Personal User Data on iOS Device

  20. 20

    How to store a user's data to the device?

  21. 21

    SharedPreference not saving any data into my device

  22. 22

    Detect if an android device has mobile data capability

  23. 23

    OpenCV - copy CUDA device data into GPU Mat

  24. 24

    how to send data (a string) to a paired device in android?

  25. 25

    Send data to USB GPIO device on Ubuntu

  26. 26

    How to store data securely on a mobile device?

  27. 27

    Store in-app items data on device

  28. 28

    NSData initWithContentsOfURL reading not all data, but only on device

  29. 29

    CUDA device to host data transfer error

HotTag

Archive