61
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Proguide\Chapters\prog_prog_guide_step8.fm
Step 8: Disconnect the Mobile Station from the BSE
Example 2. Programming Example:
OUTPUT Test_set;”CALL:CONN:TIM 5” !Set timeout time to 5 seconds.
OUTPUT Test_set;”CALL:CONN:ARM” !Arm the change detector.
OUTPUT Test_set;”CALL:CONN:STAT?” !Initiate call connect state query.
DISP “Terminate the call from the mobile station.”
ENTER Test_set;Call_connected !Program will hang here until state
!change or timer expires.
IF Call_connected THEN !Check if disconnect successful.
! <put error handler here>
END IF
! Call is disconnected so proceed with control program