38
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Proguide\Chapters\prog_prog_guide_step4.fm
Step 4: Establish an Active Link with Mobile Station
Example 5. Programming Example:
!**********************************************************************
! Step 4: Establish Active Link with Mobile Station
!**********************************************************************
!
OUTPUT Test_set;”CALL:PAG:IMSI ‘001012345678901’” ! Set paging IMSI
OUTPUT Test_set;”CALL:PAG:REP OFF” ! Set paging repeat state to off
OUTPUT Test_set;”CALL:ORIG” ! Start a base station originated call
OUTPUT Test_set;”CALL:CONN:STAT?” ! Hanging GPIB query
ENTER Test_set;Call_connected ! Program will hang here until
! origination passes or fails
IF NOT Call_connected THEN ! Check if connection successful
OUTPUT Test_set;”CALL:END”
! <put error handler here>
END IF
! Call is connected so proceed with control program
Call Origination Process Commands
Paging the Mobile Station Paging the mobile station is accomplished using the CALL:ORIGinate
command.
Example 6. Command Syntax:
CALL:ORIGinate
Example 7. Programming Example:
OUTPUT Test_set;"CALL:ORIG"
would start the process of making a base station originated call.
Setting the Paging IMSI The paging IMSI is set using the PAGing:IMSI command.
Example 8. Command Syntax:
CALL:PAGing:IMSI <string>