|
| uint8_t | _xbee_checksum (const void FAR *bytes, uint_fast8_t length, uint_fast8_t initial) |
| |
| void | _xbee_dispatch_table_dump (const xbee_dev_t *xbee) |
| |
| int | _xbee_frame_dispatch (xbee_dev_t *xbee, const void FAR *frame, uint16_t length) |
| |
| int | _xbee_frame_load (xbee_dev_t *xbee) |
| |
| void | xbee_dev_dump_settings (xbee_dev_t *xbee, uint16_t flags) |
| | Print information to stdout about the XBee device. More...
|
| |
| void | xbee_dev_flowcontrol (xbee_dev_t *xbee, bool_t enabled) |
| | Control whether xbee_frame_write() checks the XBee CTS signal before sending frames. More...
|
| |
| int | xbee_dev_init (xbee_dev_t *xbee, const xbee_serial_t *serport, xbee_is_awake_fn is_awake, xbee_reset_fn reset) |
| | Initialize the XBee device structure and open a serial connection to a local, serially-attached XBee module. More...
|
| |
| int | xbee_dev_reset (xbee_dev_t *xbee) |
| | Toggles the reset line of the XBee device. More...
|
| |
| int | xbee_dev_tick (xbee_dev_t *xbee) |
| | Check for newly received frames on an XBee device and dispatch them to registered frame handlers. More...
|
| |
| int | xbee_frame_dump_modem_status (xbee_dev_t *xbee, const void FAR *frame, uint16_t length, void FAR *context) |
| | Frame handler for 0x8A (XBEE_FRAME_MODEM_STATUS) frames – dumps modem status to STDOUT for debugging purposes. More...
|
| |
| int | xbee_frame_write (xbee_dev_t *xbee, const void FAR *header, uint16_t headerlen, const void FAR *data, uint16_t datalen, uint16_t flags) |
| | Copies a frame into the transmit serial buffer to send to an XBee module. More...
|
| |
| uint8_t | xbee_next_frame_id (xbee_dev_t *xbee) |
| | Increment and return current frame ID for a given XBee device. More...
|
| |
Device layer for XBee module interface.