TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139563 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47615 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42559 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

Digimesh XBee PRO API mode interfacing

Rating:

0

Author: Pavol alias LQd

Last Updated: 2013-03-22

Package Version: 1.0.0.0

Category: ZigBee

Downloaded: 1355 times

Not followed.

License: MIT license  

This library presents a bridge for interfacing XBee PRO modules in powerful but somewhat complicated API mode. Written in mB for AVR, but contains almost no AVR specifics.

I am ready to answer questions. Description in source code.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Digimesh XBee PRO API mode interfacing" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Digimesh XBee PRO API mode interfacing" changes.

Do you want to report abuse regarding "Digimesh XBee PRO API mode interfacing".

  • Information
  • Comments (3)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

This library presents a bridge for interfacing XBee PRO modules in powerful
but somewhat complicated API mode.
So far it implements:
  •   XBee_TX
  •   XBee_rx
  •   XBee_AT_Command
  •   XBee_AT_command_response
  •   XBee_modem_status
  •   XBee_transmit_status
  •   XBee_receive_packet
  •   Xbee_remote_command_response

This is not complete command set, it was written for another big project mainly,
so I have made what I was needed. Code was tested and successfully is working
about a year in few devices, so should be mainly OK. It is somewhat commented
but I have no time for writing help and example project, so it is as it is.
But I am ready to answer questions.

Packets are sent through XBee_TX function, command are made through calling
XBee_AT_command and response for the command will be picked up through calling XBee_rx which will then call user defined XBee_AT_command_response, general reception is made by periodically calling XBee_rx function. So it works like that, user call XBee_rx and this routine will check for new messages, will pick them up if any and decompose it to parameters and data passed to appropriate user defined routine depending on type of message.
Library accomodates hardware handshaking, so XBee module
is not transmitting serial data to uC as it comes, but is asked for data
by calling XBee_rx (thus this should be done as often as possible, modules
has some buffer, but if multiple packets will not be collected, some data
could be lost), this function returns status (no incoming data,
reception error...) and will call (and pass received data to) user defined
routines for handling incoming packet of certain type if any.

ALSO FROM THIS AUTHOR

Fast HD44780 8bit by LQd

0

Library for driving HD44780 in 8bit mode, purpose was to achieve maximal possible speed and library is optimized for this. May be you will need to tweak some waiting routines based on clock frequency of uP and used controller, some of them may not meet datasheet specification.

[Learn More]

Hex string to value

0

Converts HEX strings to value, from single chars through bytes to words and longwords. Written in mB for AVR but no AVR specifics used, so it should be fully multi platform usable.

[Learn More]

Circular buffer by LQd

0

Simple ready to use implementation of FirstIn-FrstOut type buffer for general use. Size can be easily adjusted as well as type of stored data. Current depth signalization available. Perfect for interrupt-driven receiving... Written in mB for AVR but no AVR speciffics used, just pure basic.

[Learn More]