Step 8: Figure 2. Process for Terminating an Active Call from the Mobile Station
Example 2. Programming Example:
OUTPUT Test_set;"CALL:CONN:TIM 5" !Set timeout time to 5 seconds.
OUTPUT Test_set;"CALL:CONN:ARM"
OUTPUT Test_set;"CALL:CONN:STAT?" !Initiate call connect state query.
DISP "Terminate the call from the mobile station."
ENTER Test_set;Call_connected
IF Call_connected THEN
! <put error handler here>
END IF
! Call is disconnected so proceed with control program
Start
Set call state change
detector time-out
time.
Arm call state
change detector.
Send call connected
state query
command.
Terminate the call
from mobile station.
Enter response from
call connected state
query.
Call connected?
No
Proceed with control
program.
!Arm the change detector.
!Program will hang here until state
!change or timer expires.
!Check if disconnect successful.
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Reference_Manual\Chapters\prog_prog_guide_step8.fm
Step 8: Disconnect the Mobile Station from the BSE
Yes
Invoke error
handler.
199