146
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_generic_step7_ac.fm
Step 7: End Connection
Example 16. The test set cannot initiate a call disconnection from the mobile station. You must manually
push the end button on the mobile station or send commands to a test bus built into the mobile
station. For a mobile station release where the call is terminated by physically pushing a button
on the phone (as opposed to using a test bus) ensure that the call-state-change-detector timeout
time is long enough to allow the end button to be pushed.
Example 17. 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.
DISP “Terminate the call from the mobile station.”
OUTPUT Test_set;”CALL:CONN?” !Initiate call connected state query.
ENTER Test_set;Call_connected !Program hangs here until state
!change or timer expires.
IF Call_connected THEN !Check if disconnection successful.
! <put error handler here>
END IF
! Call is disconnected so proceed with control program
End the Mobile Station Test Mode Transmission
In test mode, you must send the necessary test mode commands to end the mobile station transmission.
Partially Preset the Test Set
At this point, it is good practice to partially preset the test set by sending the SYST:PRES3 command. This
command stops all measurement and call processing processes, but does not reset all values to default.