|
Digi XBee(R) ANSI C Host Library
|
#include <stdlib.h>#include <stdint.h>#include <stdio.h>#include "xbee/platform.h"#include "xbee/byteorder.h"#include "xbee/ipv4.h"Functions | |
| int | xbee_ipv4_ntoa (char buffer[16], uint32_t ip_be) |
| Format a big-endian IP address from an XBee frame as a "dotted quad", four decimal numbers separated by '. More... | |
| int | xbee_ipv4_aton (const char *cp, uint32_t *ip_be) |
| Takes an address separated by '. More... | |
| char * | xbee_ipv4_protocol_str (char buffer[8], uint8_t protocol) |
| A string description of the "protocol" byte from an XBee IPv4 frame. More... | |
| int | xbee_ipv4_envelope_reply (xbee_ipv4_envelope_t FAR *reply, const xbee_ipv4_envelope_t FAR *original) |
| Address a reply envelope using fields from a received envelope. More... | |
| int | xbee_ipv4_envelope_send (const xbee_ipv4_envelope_t FAR *envelope) |
| Send an IPv4 packet. More... | |
| void | xbee_ipv4_envelope_dump (const xbee_ipv4_envelope_t FAR *envelope, bool_t include_payload) |
| Print the contents of an IPv4 envelope to stdout. | |
| int | xbee_ipv4_receive_dump (xbee_dev_t *xbee, const void FAR *raw, uint16_t length, void FAR *context) |
| Dump received IPv4 frame to stdout. More... | |
1.8.11