'Hello World!' on a Telit GM862-GPS using Python Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EdKing
    New Member
    • Jul 2008
    • 2

    'Hello World!' on a Telit GM862-GPS using Python Script

    Hi everyone,

    I'm currently trying to get the simplest "Hello World!" Python script working on a Telit GM862-GPS. I have succeeded in writing to the Telit via the Hyper Terminal and can confirm that the program is enabled. However, I cannot get the Telit to relay "Hello World!" back to the Hyper Terminal, even after trawling through Telit's user guides. The code is:

    Code:
    import MDM
    print 'Hello World!'
    result = MDM.send('AT\r', 0)
    print result
    c = MDM.receive(10)
    print c
    If anyone could provide any assistance on getting this to work I would be very grateful.

    Regards,

    Ed King
  • EdKing
    New Member
    • Jul 2008
    • 2

    #2
    Hi everyone,

    The above problem still remains. Is there anyone who can help me on this?

    Regards,

    Ed King

    Comment

    • LucL
      New Member
      • Jul 2008
      • 1

      #3
      I don't have the GM862-GPS yet, I ordered it last night and can't wait to get it, BUT, I did research it a bit and found this in reference to your question...

      "If you are using the GM862-GPS (i.e. the GPS version of the GM862) then you will not see any output from “print” commands. From my understanding this is because the internal serial port that was used for debugging on the GM862 (i.e. returning of output provided by print) is now used for the GPS. You will need to send back debugging information via the serial port, e.g."

      ———————-
      import SER
      SER.set_speed(’ 115200′,’8N1′)
      SER.send(’testi ng…’ + ‘\r\n’)
      ———————-

      Best of luck!
      Luc L

      Comment

      Working...