?opts_04\
]
SELECT HYPERBAND (1 = Cellular, 2 = PCS): ?1
SELECT SYSTEM (1 = A/B,  2 = A only, 3 = B only?3
Choose B side channel (334-666, 717-799)?790
enter SID for phone to register on?164
Building FBCCH Frames ...
Number of FBCCH Frames =          4
Building EBCCH Messages
Number of EBCCH Messages:          2
Power up the Mobile
Waiting for Registration
Hit any key to quit
REGISTRATION
MSID: 000/200-3530 Registered
PAID:      52653
nb=         6
np=        26
pch_subchan =         20
Sending Registration Accept to Mobile
  Enter option desired from menu below (1 for OPTS)
  1)  OPTS test 1: User sets all values
  'q' or 'Q' to quit
IR Control Data - Bit0 (0 or 1)?0
Number of bands to be searched?3
1 = a cellular
2 = b cellular
3 = A PCS
4 = B PCS
5 = C PCS
6 = D PCS
7 = E PCS
8 = F PCS
0 = no search
Next PCS or cellular band?3
Next PCS or cellular band?2
Next PCS or cellular band?1
Number of partner SOCs?1
Next SOC value?45
Number of partner SIDs?1
Next SID value?46
Number of favored SOCs?1
Next favored SOC number?47
Number of favored SIDs?1
Next favored SID number?48
Number of forbidden SOCs?1
Next forbidden SOC number?49
Number of forbidden SIDs?1
Next forbidden SID number?50
Number of cellular probability blocks to search (1-16)?5
Number of PCS sub-bands to search (1-7)?3
Rescan Count?0
Rescan Loop?4
Sending Spach Notification ....
SPACHCON

Data Received on the RACH
=========================
Message #1: SPACHCON
Message #2: SERIAL NUMBER
Message #3: CAPABILITY
hlp data length        32
data block built
:hlp:data          0         1
:hlp:data          1        31
:hlp:data          2         0
:hlp:data          3        50
:hlp:data          4        16
:hlp:data          5         0
:hlp:data          6         0
:hlp:data          7         1
:hlp:data          8         0
:hlp:data          9        45
:hlp:data         10         1
:hlp:data         11         0
:hlp:data         12        46
:hlp:data         13         1
:hlp:data         14         0
:hlp:data         15        47
:hlp:data         16         1
:hlp:data         17         0
:hlp:data         18        48
:hlp:data         19         1
:hlp:data         20         0
:hlp:data         21        49
:hlp:data         22         1
:hlp:data         23         0
:hlp:data         24        50
:hlp:data         25         0
:hlp:data         26         5
:hlp:data         27         0
:hlp:data         28         3
:hlp:data         29         0
:hlp:data         30         0
:hlp:data         31         0
:hlp:data         32         4
Size of OPTS data =         4
Waiting for R-Data Accept
R-DATA ACCEPT
Received R-Data Accept
  Enter option desired from menu below (1 for OPTS)
  1)  OPTS test 1: User sets all values
  'q' or 'Q' to quit
XXX, Please try again
Exiting Program
End of OPTS Testing
?///////////////////////////////////////////////////////////////////////                                             */
?//   FILE: OPTS_04.MAC
?//                                                                   
?//   DOCUMENT/REVISION: TBD                         
?//                                                                   
?//   DESCRIPTION: This macro is used to test IRDB MS code            
?//                using OVER THE AIR PROGRAMMING TELESERVICES        
?//                (OPTS). All IRDB information elements are input    
?//                from the user and are assembled to be put into     
?//                the RDATA information element. This script also 
?//                includes the added protocol discriminator element.                     
?//                Number cellular and Number PCS fields are increased
?//                8 to 16 bits.
?//                                                                   
?//   Copyright Ericsson Inc. 1996                                    
?//                The copyright to the computer program here is the  
?//                property of Ericsson Inc. The program(s) may be    
?//                used and/or copied only with the written           
?//                permission from Ericsson Inc. or in accordance     
?//                with the terms and conditions stipulated in the    
?//                agreement or contract uner which the program(s)    
?//                have been supplied.                                
?///////////////////////////////////////////////////////////////////////
?///////////////////////////////////////////////////////////////////////
?// Current Version Information - DO NOT MODIFY THIS AREA              $
?// $Revision::   1.0                                                  $
?//     $Date::   27 Jan 1997 13:52:04                                 $
?//   $Author::   watson                                               $
?///////////////////////////////////////////////////////////////////////
? 
?// Main macro: OPTS_04.MAC
?// Sub macros: print_menu, get_mask, store_rdata_temp_word,
?//             set_user_values, build_data_block
?//             print_data_block, send_SPACH_Notification
?//             wait_for_accept, send_SPACH, Send_RDATA, dcch_setup
?//             get_ch, rnd_ch_ab, ch_a, ch_b
? 
? 
?*pmc
?var pch_sub
?var block[355]
?var RDataRejectCause
?var spach_notify_fail, spach_data_fail
?var tempirdb[87]
?var index
?var system_select, band_select
? 
?var phnum       // for storing the MSID, added 8/15/97
?var nfb, neb 
? 
?const PLC_TIME, 4                                 
?const NOTIFY_TIME, 4000
?const ACCEPT_TIME, 4000
