;================================================================================================
;                   LG Electronics Inc.
;                   CDMA Handsets Laboratory
;                   Development 3, S/W 5 Group (Sprint Part)
;
;================================================================================================
;  Version  : Sprint_QSC
;  Made by  : LGE
;  Date     : 12/21/2007
;------------------------------------------------------------------------------------------------
;when          who        what
;----------    -------    -----------------------------------------------------------------------
;
;----------    -------    ------------------------------------------------------------------------

;Last Updated: 03/13/2008

;================================================================================================
;
; NV-items are programmed using the nv_write command:
;
;   nv_write itemname { [nam index,] val1, val2, ..., valn }
;
; Only NAM 0 has meaningful values.  Values for NAMs 1-3 are
; zeroed out or set to default values.
;
; Some items require a nam index (0-1). The curly braces
; are required and they surround the values to be written.
; You must supply every value the item expects. Hex values
; you supply need the 0x prefix.
;
; Semi-colons introduce comments. Whole line and
; to-end-of-line comments are possible.
;
; THE FOLLOWING PARAMETERS SHOULD BE SET FOR EACH PHONE:
;-------------------------------------------------------------------------------------------------
;
;   1. CDMA preferred serving system (Automatic A or Automatic B)
;   2. Analog preferred serving system (System A or System B)
;   3. Analog Home SID (the SID of the preferred serving system)
;   4. Analog first paging channel (for system A or system B)
;   5. CDMA primary and seconday channels (including PCN, if in use)
;   6. CDMA SID/NID pairs (the SID of the preferred serving system)
;   7. MIN1 and MIN2 parameters.
;   8. Default settings for TM250
;==================================================================================================
;** print "Start Service Programming"
;** Enter the Service Programming Code (factory defaulted to 000000)
;** If you don't have version 116 or later, this command will fail.
;** This allows access to the SP items (both reading _and_ writing)

;spc "000000"

wait 2

; Put the DMSS in offline mode
mode offline-d

;==================================================================================================
; SYSTEM ITEM
;==================================================================================================
;** Display the ESN and permanent physical station
;** configuration parameters
nv_read esn
nv_read verno_maj
nv_read verno_min
nv_read scm
nv_read slot_cycle_index
nv_read mob_firm_rev
nv_read mob_model
factory reset
wait 2

mode reset

