- Mon Feb 05, 2007 7:34 pm
#25942
we are a student team working with the gm862 evk v3 board.
We have been unable to get the python script to execute on the board. Below are a few differnent scripts that has been successfully upload into the module through hyperterminal. The script is then enabled. I have followed all of the steps from page 36 and on in the "Easy Script in Python manual". I have tried both DTR switch positions... I know other users have had success with the scripts below. I don't know what else to try and I have followed everything exactly in the user manual... any suggestions would be great
------------------------------------------------------------------------------------
import MDM
import MOD
MODE="TEST "
MOD.sleep(150)
MDM.send(`at#bnd=3\\r`,5)
MDM.send(`at+cmgf=1\\r`,5)
MDM.send(`AT+CMGS=phone number here\\r`,5)
MDM.send(MODE+`PYTHON SCRIPT Working...\\r`,0)
MDM.send(chr(26),0)
--------------------------------------------------------------------------------
import MDM
import MOD
MOD.sleep(150)
MDM.send(`AT+CMGF=1`,0)
MOD.sleep(15)
MDM.send(`AT+CMGS="phone number here"\\r`, 0)
MOD.sleep(15)
MDM.send(`Sent by Python Script\\r", 0)
MDM.sendbyte(0x1A,0)
We have been unable to get the python script to execute on the board. Below are a few differnent scripts that has been successfully upload into the module through hyperterminal. The script is then enabled. I have followed all of the steps from page 36 and on in the "Easy Script in Python manual". I have tried both DTR switch positions... I know other users have had success with the scripts below. I don't know what else to try and I have followed everything exactly in the user manual... any suggestions would be great
------------------------------------------------------------------------------------
import MDM
import MOD
MODE="TEST "
MOD.sleep(150)
MDM.send(`at#bnd=3\\r`,5)
MDM.send(`at+cmgf=1\\r`,5)
MDM.send(`AT+CMGS=phone number here\\r`,5)
MDM.send(MODE+`PYTHON SCRIPT Working...\\r`,0)
MDM.send(chr(26),0)
--------------------------------------------------------------------------------
import MDM
import MOD
MOD.sleep(150)
MDM.send(`AT+CMGF=1`,0)
MOD.sleep(15)
MDM.send(`AT+CMGS="phone number here"\\r`, 0)
MOD.sleep(15)
MDM.send(`Sent by Python Script\\r", 0)
MDM.sendbyte(0x1A,0)