Digi XBee(R) ANSI C Host Library
transparent_serial.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010-2012 Digi International Inc.,
3  * All rights not expressly granted are reserved.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
7  * You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
10  * =======================================================================
11  */
12 
22 #ifndef XBEE_TRANSPARENT_SERIAL_H
23 #define XBEE_TRANSPARENT_SERIAL_H
24 
25 #include "xbee/platform.h"
26 #include "wpan/aps.h"
27 
29 
47 
67  const char FAR *data);
68 
70 
71 // If compiling in Dynamic C, automatically #use the appropriate C file.
72 #ifdef __DC__
73  #use "xbee_transparent_serial.c"
74 #endif
75 
76 #endif
77 
#define FAR
On platforms with "far" pointers, define to the proper keyword; empty definition if not required...
Definition: platform.h:396
#define XBEE_BEGIN_DECLS
Macro defined to.
Definition: platform.h:41
Common header for Hardware Abstraction Layer.
int xbee_transparent_serial(wpan_envelope_t *envelope)
Send data to the "Digi Transparent Serial" cluster (cluster 0x0011 of endpoint 0xE8).
Definition: xbee_transparent_serial.c:32
Cluster/Endpoint layer for WPAN networks (ZigBee and DigiMesh).
int xbee_transparent_serial_str(wpan_envelope_t *envelope, const char FAR *data)
Send string to the "Digi Transparent Serial" cluster (cluster 0x0011 of endpoint 0xE8).
Definition: xbee_transparent_serial.c:46
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42
The "envelope" is used to gather all necessary information about a given frame on the network...
Definition: aps.h:40