B&B Electronics Zlinx ZP Series User Manual

Page 42

Advertising
background image

38

Manual Documentation Number: ZP24D-250RM-SR-2508

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com

B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com


AS (Active Scan) Command
<AT Command Mode Options> The AS
command is used to send a

Beacon

Request to a Broadcast
Address (0xFFFF) and Broadcast PAN
(0xFFFF) on every channel. The
parameter determines the amount of time
the RF module will listen for Beacons on
each channel. A ‘PanDescriptor’ is created
and returned for every Beacon received
from the scan. Each PanDescriptor contains the following
information:

CoordAddress (SH + SL parameters)<CR>
CoordPanID (ID parameter)<CR>
CoordAddrMode <CR>
0x02 = 16-bit Short Address
0x03 = 64-bit Long Address
Channel (CH parameter) <CR>
SecurityUse<CR>
ACLEntry<CR>
SecurityFailure<CR>
SuperFrameSpec<CR> (2 bytes):
bit 15 - Association Permitted (MSB)
bit 14 - PAN Coordinator
bit 13 - Reserved
bit 12 - Battery Life Extension
bits 8-11 - Final CAP Slot
bits 4-7 - Superframe Order
bits 0-3 - Beacon Order
GtsPermit<CR>
RSSI<CR> (- RSSI is returned as -dBm)
TimeStamp<CR> (3 bytes)
<CR> (A carriage return <CR> is sent at the end of the AS command.

The Active Scan is capable of returning up to 5 PanDescriptors in a scan. The actual
scan time on each channel is measured as Time = [(2 ^ (SD Parameter)) * 15.36] ms.
Total scan time is this time multiplied by the number of channels to be scanned.

NOTE: Refer the scan table in the SD description to determine scan times. If using API
Mode, no <CR>’s are returned in the response. Refer to the API Mode Operation
section.


AT Command: ATAS

Parameter Range: 0 - 6

Related Command: SD (Scan
Duration), DL (Destination Low
Address), DH (Destination High
Address), ID (PAN ID), CH (Channel)
Minimum Firmware Version Required:
v1.x80

Advertising