EB500 problem
Sourabh
Posts: 5
Hi,
I am on a project, a part of which is that the EB500 connects to a cell phone and dials a call. I can establish the connection but the phone does not dial the call. I am using the AT (attention commands) to establish the phone call. Please let me know if there is a way I can make a call after connection. I have tried this with a Sony Ericsson T610 and Nokia 6600. I have also attached my routine.
' {$STAMP BS2}
'STOP
PAUSE 1000
'SEROUT 1,84,[noparse][[/noparse]"lst visible",CR]
SEROUT 1,84,[noparse][[/noparse]"set security open",CR]
PAUSE 5000
DEBUG "security set",CR
SEROUT 1,84,[noparse][[/noparse]"set visible on",CR]
PAUSE 5000
DEBUG "visiblity set",CR
SEROUT 1,84,[noparse][[/noparse]"set connectable on",CR]
PAUSE 5000
DEBUG "set connectable on",CR
'SEROUT 1,84,[noparse][[/noparse]"con 00:0A[noparse]:D[/noparse]9:84:CF:B1",CR]
SEROUT 1,84,[noparse][[/noparse]"con 00:0E:6D:2F:68:11",CR]
DEBUG "connecting",CR
SERIN 0,84,[noparse][[/noparse]WAIT("ACK",CR)]
DEBUG "connected",CR
WaitForConnection:
IF IN5 = 0 THEN WaitForConnection
'HIGH 6
'PAUSE 300
'PAUSE 20000
'LOW 6
'SERIN 0,84,[noparse][[/noparse]WAIT(CR,">")]
'DEBUG "got >",CR
'END IF
SEROUT 1,84,[noparse][[/noparse]"ATD911;",CR]
'SEROUT 1,84,[noparse][[/noparse]CR]
'DEBUG "atd",CR
PAUSE 25000
'SEROUT 1,84,[noparse][[/noparse]"911"]
'DEBUG "911",CR
'PAUSE 5000
'SEROUT 1,84,[noparse][[/noparse]";"]
'DEBUG ";",CR
'PAUSE 5000
'SEROUT 1,84,[noparse][[/noparse]CR]
DEBUG "cr",CR
PAUSE 5000
DEBUG "dial completed"
Thanks,
Sourabh Ghose
University of Nevada, Las Vegas
I am on a project, a part of which is that the EB500 connects to a cell phone and dials a call. I can establish the connection but the phone does not dial the call. I am using the AT (attention commands) to establish the phone call. Please let me know if there is a way I can make a call after connection. I have tried this with a Sony Ericsson T610 and Nokia 6600. I have also attached my routine.
' {$STAMP BS2}
'STOP
PAUSE 1000
'SEROUT 1,84,[noparse][[/noparse]"lst visible",CR]
SEROUT 1,84,[noparse][[/noparse]"set security open",CR]
PAUSE 5000
DEBUG "security set",CR
SEROUT 1,84,[noparse][[/noparse]"set visible on",CR]
PAUSE 5000
DEBUG "visiblity set",CR
SEROUT 1,84,[noparse][[/noparse]"set connectable on",CR]
PAUSE 5000
DEBUG "set connectable on",CR
'SEROUT 1,84,[noparse][[/noparse]"con 00:0A[noparse]:D[/noparse]9:84:CF:B1",CR]
SEROUT 1,84,[noparse][[/noparse]"con 00:0E:6D:2F:68:11",CR]
DEBUG "connecting",CR
SERIN 0,84,[noparse][[/noparse]WAIT("ACK",CR)]
DEBUG "connected",CR
WaitForConnection:
IF IN5 = 0 THEN WaitForConnection
'HIGH 6
'PAUSE 300
'PAUSE 20000
'LOW 6
'SERIN 0,84,[noparse][[/noparse]WAIT(CR,">")]
'DEBUG "got >",CR
'END IF
SEROUT 1,84,[noparse][[/noparse]"ATD911;",CR]
'SEROUT 1,84,[noparse][[/noparse]CR]
'DEBUG "atd",CR
PAUSE 25000
'SEROUT 1,84,[noparse][[/noparse]"911"]
'DEBUG "911",CR
'PAUSE 5000
'SEROUT 1,84,[noparse][[/noparse]";"]
'DEBUG ";",CR
'PAUSE 5000
'SEROUT 1,84,[noparse][[/noparse]CR]
DEBUG "cr",CR
PAUSE 5000
DEBUG "dial completed"
Thanks,
Sourabh Ghose
University of Nevada, Las Vegas