This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Communication Between Two GSM(SIM-508) module

How can i communicate between two GPRS enabled,SIM-508 module, using AT command via hyper-terminal of PC.

Parents Reply Children
  • <p>Yes i can use any of three as described above.
    But i want to communicate using GPRS only.But for that use i need at least one static IP for one module and another mayhave static/dynamic IP.</p>
    <p>But i want to do it with Dynamic IP alloted to both module from GSM service provider.</p>
    <p>so how cani achieve it</p>

  • Note that dynamic IP means that you must register your current IP with a machine with static IP somewhere. Look at dyndns.com for example.

    But there is another problem. Dynamic IP may also imply that the module is firewalled so that it does not accept incomming connections, even if you know the IP. Because of this, you may have to do the actual data transfers too trhrough a third machine, so that both the modules performs outgoing connections to the common machine.

  • As Per says, the trouble with the dynamic IP addresses allocated by GPRS opertors is not just that they are dynamic, but also that they are (usually) "private" - ie, they are effectively "hidden" behind a firewall and not visible outside the particular GPRS network.

    In fact, I don't think that there is even any guarantee that devices on the same GPRS network will be able to "see" each other's IP addresses.

    You might be lucky, and it might just happen to work if, for example, your two devices are in the same cell - but don't count on it!

    There are specialist service providers who offer solutions to this (like a VPN) - at a price, of course.

    As per says, without using any specialist services, the easiest way is to have both units communicate via a common intermediary.

    If (and it's a big "if") you can get a sufficient guarantee from your service provider that your devices will always be able to see each other's (private and/or dynamic) IP addresses, then you could have them notify their addresses to each other by SMS od data call...

    Again, none of this has anything at all to do with Keil!

  • Thanks for your comment,
    Actually i am using Keil, in programming the 8051 for all these task all together, attached with each GPRS module.But unable to find out how to solve this dynamic IP problem.

    But as of now, it's clear that i have to communicate via static IP to each other or VPN or on the pity-of-service provider.

    Thanks to all of u gr8 minds.

    Regards.

    Mohit
    Bitadvance,
    Pune

  • "i am using Keil, in programming the 8051 for all these task all together"

    But the problem is general to any IP network - it has nothing specifically to do with the 8051, or Keil - or even GPRS!

    Perhaps you should forget about the 8051, Keil, and GPRS for a moment, and think about how you'd get two PCs to communicate from different LANs...

    "it's clear that i have to communicate via static IP to each other or VPN"

    You still have the option of going via an intermediate server - possibly your own PC.

    Even if the IP address is static, it may still not be public - and you still have the issue of how you will get each unit to know the other's IP address...

  • Sir,can you plz seuugest me some forum or web-link which related to AT commands query.

    Mohit
    Bitadvance
    Pune

  • Sir,can you plz seuugest me some forum or web-link which related to AT commands query.

    Mohit
    Bitadvance
    Pune

  • But it's nothing to do with AT commands, is it?

    As I said, the issues of IP addressing apply to any IP network!

    What you need to understand is IP networking!

    eg, try: compnetworking.about.com/.../bldef_tcpip.htm

  • HI,THIS IS KK I HAV PROBLEM WITH 2 SIM 508 MODULES USING GPRS.JUNK WAS SENDING IN BETWEEN THE AT COMMANDS THIS CODE IS WRITTEN IN ARM LPC 2378

  • Unless KK is the same as Mohit Rawat, this is the wrong thread. Create your own thread, and deactivate the caps-lock key and then write a proper problem description, followed by any questions you have and possibly relevant parts of source code.

    Right now, you haven't even explicitly said if the ARM is sending the junk characters or the GSM module. And you haven't said what AT commands and if you wait the required time between the commands etc...

    But once more: One problem, one thread. And don't reuse other peoples thread unless your problem is identical and you can supply solutions or better descriptions how to reproduce the problem.