Chapter 5 67
Remote operation
Example code showing a dual-band handover from E-GSM to DCS
350 ! enabled, it will IMMEDIATELY return ENABLED
360 !
370 ! Select the HSCSD screen - it's easier to see what's
380 ! happening for now
390 OUTPUT Master;"DISP HSCSD"
400 OUTPUT Slave;"DISP HSCSD"
410 !
420 ! Dial in RF losses
430 !
440 OUTPUT Master;"Conf:OFLevel:RFInOut ";-1*Master_loss
450 OUTPUT Master;"Conf:OFLevel:Mode 'On'"
460 OUTPUT Slave;"Conf:OFLevel:RFInOut ";-1*Slave_loss
470 OUTPUT Slave;"Conf:OFLevel:Mode 'On'"
480 !
490 ! select big tx levels
500 OUTPUT Master;"HSCSD:Master:TCH:TLevel 5"
510 OUTPUT Slave;"HSCSD:Slave:TCH:TLevel 5"
520 !
530 ! Get a call up
540 !
550 ! Make sure master is listening to master uplink
560 !
570 OUTPUT Master;"HSCSD:Measure:TSlot 'Master'"
580 !
590 ! and wait for the call
600 !
610 PRINT "Make a call from the mobile..."
620 REPEAT
630 WAIT .5
640 OUTPUT Master;"Cell:Call:Stat:Stat?"
650 ENTER Master;Stat$
660 UNTIL Stat$="""CONNECTED"""
670 PRINT "Call connected, press CONTINUE key to continue..."
680 PAUSE
690 !
700 ! Now perform a dual band handover 710 !
720 OUTPUT Master;"Disp DBand"
730 OUTPUT Slave;"Disp DBand"
740 OUTPUT Master;"DualBand:TCH:DCS 615"
750 OUTPUT Master;"DualBand:TLevel:DCS 6"
760 OUTPUT Master;"DualBand:Atten:GBCH '10 dB'"
770 OUTPUT Master;"DualBand:Amplitude:DTCH -55 dBm"
780 OUTPUT Slave;"DualBand:TCH:DCS 615"
790 OUTPUT Slave;"DualBand:TLevel:DCS 6
800 OUTPUT Slave;"DualBand:Atten:GBCH '10 dB'"
810 OUTPUT Slave;"DualBand:Amplitude:DTCH -55 dBm"