HP (Hewlett-Packard) TIA/EIA-136 Network Card User Manual


 
153
Chapter 5, Programming the Cellular Adapter
Program Example
Programming the Cellular
Adapter
238 OUTPUT Testsys;”*ESR?;:STAT:CALLP:EVENT?” !Check for Connect/
error
239 ENTER Testsys;Esr,Connect
240 WAIT 5 ! Give Testsys time to service other processes
241 UNTIL Connect or Esr !Until mobile has reconnected or an error
242 IF Esr THEN
243 PRINT “Error with Handoff”
244 STOP
245 END IF
246 PRINT “Handoff was successful.”
247 ! Release call
248 PRINT “Releasing call...”
249 OUTPUT Testsys;”CPR:DCCH:REL” !Release command
250 ! Make sure Test System is again in Active state
251 REPEAT
252 WAIT 2
253 OUTPUT Testsys;”STAT:CALLP:COND?”
254 ENTER Testsys;Active_status
255 UNTIL Active_status=1
256 PRINT “Call has been released.”
257 PRINT “Active annunciator should be lit.”
258 PRINT “Program has finished.”
259 END