API_Mode

[ API Mode ]

What is API Mode (Application Programming Interface)?

http://www.digi.com/support/kbase/kbaseresultdetl.jsp?kb=184

In AT Command mode(Transparent Mode) , everything got in RX of XBee will be sent out via antenna , the incoming data from antenna will go to TX.      But in API Mode , it won't send out anything until it received the correct form of commands from serial interface.     Check the link for details.


The API allows the programmer the ability to:

  • Change parameters without entering command mode (XBee only)
  • View RSSI and source address on a packet by packet basis
  • Receive packet delivery confirmation on every transmitted packet
Data Structure in API Mode:

7E 00 0A 01 01 50 01 00 48 65 6C 6C 6F B8

7E
Start delimiter
00 0A
Length bytes
01
API identifier
01
API frame ID
50 01
Destination address low
00
Option byte
48 65 6C 6C 6F
Data packet(ASCII: "Hello")
B8
Checksum

Copyright © 2010 bdragon All rights reserved.
bdragong@gmail.com
Comments