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"
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
IF NOT Call_connected THEN
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>
Example 9. Programming Example:
OUTPUT Test_set;"CALL:PAG:IMSI '001012345678901'"
would set the paging IMSI to 001012345678901.
Setting the Paging Repeat State The paging repeat state is set using the PAGing:REPeat:STATe
command.
Example 10. Command Syntax:
CALL:PAGing:REPeat[:STATe] <ON|1|OFF|0>
Example 11. Programming Example:
OUTPUT Test_set;"CALL:PAG:REP OFF"
would turn on paging repeat.
178
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Reference_Manual\Chapters\prog_prog_guide_step4.fm
! Set paging repeat state to off
! Program will hang here until
! origination passes or fails
! Check if connection successful