Api Control - Laird AC4490 User Manual

Hide thumbs Also See for AC4490:
Table of Contents

Advertisement

AC4490 User Guide
Version 4.5
Note: Only the last byte written will be displayed in the command response.
Command: <0xCC> <0xC1> <Start> <Length> <Data>
Number of Bytes Returned: 4+
Response: <Starting Address> <Length> <Data written>
Parameter Range:
<Start> =
Address to begin writing from
<Length> =
Length of bytes to write
<Data> =
Last byte of data written
Reset
The OEM Host issues this command to perform a soft reset of the transceiver. Any transceiver settings
modified by CC commands will revert to the default values stored in the EEPROM.
Command: <0xCC> <0xFF>
Number of Bytes Returned: None
Response: None

API Control

API Control is a powerful feature offered by the AC4490. When enabled, the API Receive Packet, API
Transmit Packet, API Send Data Complete and Enhanced API Receive Packet features provide dynamic packet
routing and packet accounting ability to the OEM host, thereby eliminating the need for extensive
programming on the OEM host side. API operation utilizes specific packet formats; specifying various vital
parameters used to control radio settings and packet routing on a packet-by-packet basis. The API features
can be used in any combination that suits the OEM's specific needs.
Receive API Packet
Note: Implemented in firmware v.6.3 and later.
By default, the source MAC is not included in the received data string sent to the OEM host. For applications
where multiple radios are sending data, it may be necessary to determine the origin of a specific data packet.
Receive API Packet can be enabled to determine the sender of a message. This causes the receiving radio to
add a header to the received packet detailing the length of the data packet and the sender's MAC address.
The format of the Receive API Packet is:
0x83
Payload Data Length
Note:
If Receive API is enabled, the Enhanced API Receive feature should be disabled by clearing bit-0 of
the Enhanced API control byte, EEPROM address 0xC6.
Laird Connectivity Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/ramp
Sender's MAC
Payload Data
20
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610

Advertisement

Table of Contents
loading

Table of Contents