
Chapter 5 – Network Service Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
32
Change NAM Selection +WNAM
Description:
This command is used to request a change in the NAM (Number Assignment Modem
)
selection. The
modem supports up to 4 NAMs. However, if a NAM is not fully programmed, the modem will not switch to
the requested NAM. The default NAM for the modem is 1. The response to this command is only OK, and is
no guarantee that the NAM will change. If the NAM selection request is accepted, the unsolicited command
+WNAM: <nam> will be returned. If or when the actual NAM changes, the unsolicited cWCNM:
<nam> will be returned. See
Unsolicited Result Codes
in Chapter 21.
Values:
<nam>
1
NAM 1
2
NAM 2
3
NAM 3
4
NAM 4
5
Auto NAM
Syntax:
Command syntax:
AT+WNAM=<nam>
Command
Possible Responses
AT+WNAM=2
Note: Use NAM 2, if programmed
OK
+WNAM: 2
+WCNM: 2
AT+WNAM=3
Note: Use NAM 3, if programmed
OK
Note: No unsolicited response indicates that NAM 3 is
not valid, thus no change in NAM.
AT+WNAM=5
Note: Try Auto NAM
OK
+WNAM: 5
+WCNM: 1
Note: Auto NAM is selected, NAM 1 chosen.
AT+WNAM? +WNAM:
1
AT+WNAM=?
+WNAM: (1-5)
Read Current NAM +WCNM
Description:
This command is used to read the current NAM (Number Assignment Modem). The modem supports up to 4
NAMs. Also, note that there exists an unsolicited reWCNM: <nam> that is returned any time the
NAM changes. See
Unsolicited Result Codes
in Chapter 21.
Syntax:
Command syntax:
AT+WCNM
Command
Possible Responses
AT+WCNM
Note: Ask for the current NAM
+WCNM: 1
OK
Note: NAM 1 in use