Chapter 6 – Network Service Commands

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 command +WCNM: <nam> will be returned. See Unsolicited Result Codes in Chapter 3.

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

OK

 

Note: Use NAM 2, if

+WNAM: 2

 

programmed

+WCNM: 2

 

 

 

 

AT+WNAM=3

OK

 

Note: Use NAM 3, if

Note: No unsolicited response indicates that

 

programmed

NAM 3 is not valid, thus no change in NAM.

 

 

 

 

AT+WNAM=5

OK

 

Note: Try Auto NAM

+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 command +WCNM: <nam> that is returned any time the NAM changes. See Unsolicited Result Codes in Chapter 3.

Syntax:

Command syntax: AT+WCNM

 

 

Command

Possible Responses

 

 

 

 

AT+WCNM

+WCNM: 1

 

Note: Ask for the current NAM

OK

 

 

Note: NAM 1 in use

 

 

 

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

48

Page 48
Image 48
Multi-Tech Systems CDMA Wireless Modem manual Change NAM Selection +WNAM, Read Current NAM +WCNM, Values Nam