![AeroComm AC4790 User Manual Download Page 13](http://html.mh-extra.com/html/aerocomm/ac4790/ac4790_user-manual_3049207013.webp)
13
thereby eliminating the need for extensive programming on the OEM Host side. This ability of the protocol makes it ideal for any
legacy system.
API Transmit Packet
API Transmit Packet is enabled when bit-1 of the API Control byte is enabled. The OEM Host should use the following
format to transmit a packet over the RF.
0x81
Payload Data
Length
(0x01- 0x80)
Session Count
Refresh
Transmit
Retries/Broadcast
Attempts
Destination
MAC (2,1,0)
Payload Data
1)
If the OEM Host does not encode the header correctly, the transceiver will send the entire string (up to 0x80
bytes) and will look for the header in the next data.
2)
Although the 7 bytes of overhead are not sent over the RF, they are kept in the buffer until the packet
is sent. Keep this in mind so as to not overrun the 256-byte buffer.
3)
Setting MAC to FFh FFh FFh will broadcast the packets to all available transceivers.
API Send Data Complete
API Send Data Complete is enabled when bit-2 of the API Control byte is enabled. The transceiver sends the OEM Host the
following data upon receiving an RF Acknowledge from the remote transceiver or exhausting all attempts.
0x82
RSSI
RSSI *
0x00: Failure
0x01: Success
1)
The RSSI is how strong the remote transceiver heard the local transceiver, RSSI* is how strong the
local transceiver heard the remote transceiver.
2)
Successful RF Acknowledge updates the Success/Failure bit.
3)
When the transceiver is transmitting Broadcast Packets it will always return success after exhausting
all Broadcast Attempts.
4)
API Send Data Complete can be used as a software send data complete indicator
5)
The transceiver could receive a failure even though the packet was received as it could have missed
the RF Acknowledge from the remote transceiver.
API Receive Packet
API Receive Packet is enabled when bit-0 of the API Control byte is enabled. Upon receiving a packet the radio sends its
OEM Host the packet in the following format.
0x81
Payload Data
Length
RSSI
RSSI*
Source MAC
(2,1,0)
Payload Data
The RSSI is how strong the remote transceiver heard the local transceiver, RSSI* is how strong the local transceiver heard the
remote transceiver.
Quick Tip:
Note: When both API Send Data Complete and API Receive Packet on the API Control are enabled, Send Data Complete
will be received before the transceiver gets an API Receive Packet. This order may get reversed when the API Send Data
Complete is missed and is being resent after the API Receive Packet is received.
electronic components distributor