AS (Active scan for network environment data)

This command applies to the XBee Smart Modem.

Scans for mobile cells in the vicinity and returns information about the cells in the service area of the device. When you run the command, the cell module waits until all other communication is idle and then performs the scan.

The information that can be reported by this command varies based on the network technology of the module that you are using.

In both AT and API mode the command returns line-based records mapping key-value pairs. The record for the serving cell begins with the capital letter S, and keys for the fields are MCC, MNC, Area, CID, and Signal. Each line describes a particular cell and only those values determined during a single scan are reported.

Example

atas

S MCC:311 MNC:480 Area:48707
CID:48825632 Signal:-88
CID:48825612 Signal:-95
CID:48825603 Signal:-68
CID:48825601 Signal:-71

Parameter range

0-1

Value Description
0 or no value

Scans for mobile cells in the vicinity and returns information about the cells in the service area of the module. When you run the command, the cell module waits until all other communication is idle and then performs the scan.

1

Attempts a full scan, which requires dropping network registration. Any outstanding sockets or other activity will be lost. Since registration is lost, no "serving cell" information is provided, as the "serving cell" that the device will re-join cannot be reported, and there is no guarantee that the "serving cell" the device was on before network registration was dropped will still be used.

A full scan can return more complete information for all cells seen, which includes cells offered by other carriers.

The duration of the scan is approximately 25 seconds.

Note This action should be used only on CAT 1 modules.

Parameter range

N/A

Default

N/A