467,188 Members | 1,406 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,188 developers. It's quick & easy.

'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:

Expand|Select|Wrap|Line Numbers
  1. import MDM
  2. print 'Hello World!'
  3. result = MDM.send('AT\r', 0)
  4. print result
  5. c = MDM.receive(10)
  6. print c
If anyone could provide any assistance on getting this to work I would be very grateful.

Regards,

Ed King
Jul 9 '08 #1
  • viewed: 6208
Share:
2 Replies
Hi everyone,

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

Regards,

Ed King
Jul 11 '08 #2
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(’testing…’ + ‘\r\n’)
———————-

Best of luck!
Luc L
Jul 16 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by ME | last post: by
17 posts views Thread by Tim Judd | last post: by
33 posts views Thread by ankursinha | last post: by
5 posts views Thread by surena abari | last post: by
14 posts views Thread by | last post: by
134 posts views Thread by evolnet.regular@gmail.com | last post: by
4 posts views Thread by arnuld | last post: by
reply views Thread by C.W.Holeman II | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.