234
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_sync_callstate.fm
Call Processing State Synchronization
Description
Connected/Idle Query
This query will determine if a call is connected or disconnected by returning an integer value. The value
indicates if the call state is idle or connected, not if any call state change has occurred.
Query returns one of the following:
• 0 = idle
• 1 = connected
If the call is in the setup request, proceeding, alerting, or disconnecting state, this command will not return a
value until the call status proceeds to either connected or idle.
OUTPUT 714;”CALL:CONNECTED:STATE?”
Example 22. Base Station Originated Call - Using the Connected/Idle Query
The following example illustrates the use of the connected/idle query for a base station originated call. This
code originates a call, then waits for the connected/idle query to return a result.
Note that this code does not include the CALL:CONNECTED:TIME (timeout timer) or the
CALL:CONNECTED:ARM (change detector arm) commands. These commands are unnecessary since the
change detector is armed automatically by the CALL:ORIGINATE command, and the timeout timer value is
never applicable since a base station originated call guarantees a state change.
10 OUTPUT 714;”CALL:ORIGINATE” ! Begin the BS originated call.
20 OUTPUT 714;”CALL:CONNECTED:STATE?” ! The connect/idle query.
30 ENTER 714;Call_connected ! Program will hang here until state
40 ! change or protocol timer expires.
50 !************************************************************
60 ! If mobile is not set to auto-answer, answer the call.
70 !************************************************************
80 IF NOT Call_connected THEN
90 DISP “CALL NOT CONNECTED.”
100 ELSE
110 DISP “CALL IS CONNECTED.”
120 END IF
130 END
Содержание 8960
Страница 14: ...14 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide cdma2000_titlepage fm ...
Страница 33: ...33 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters ch_measurements fm Measurements Measurements ...
Страница 105: ...105 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters ch_general_programming fm Programming Programming ...
Страница 247: ...247 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters ch_hpib_command_syntax fm GPIB Commands ...
Страница 654: ...654 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters cdma2000_hpib_common fm IEEE 488 2 Common Commands ...
Страница 655: ...655 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters ch_manual_operation fm Manual Operation ...
Страница 701: ...701 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters ch_error_messages fm Troubleshooting ...
Страница 759: ...759 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters ch_configure fm Configuration Configuration ...
Страница 780: ...780 S Hp8960 E1962B CDMA 2000 Pi Release Reference Guide Chapters cdma2000_conf_name fm Test Application Name ...