Digi XBee(R) ANSI C Host Library
atmode.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2009-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 
21 #ifndef __XBEE_ATMODE
22 #define __XBEE_ATMODE
23 
24 #include "xbee/platform.h"
25 #include "xbee/device.h"
26 
28 
29 int xbee_atmode_enter(xbee_dev_t *xbee);
30 int xbee_atmode_exit(xbee_dev_t *xbee);
31 int xbee_atmode_tick(xbee_dev_t *xbee);
32 
33 int xbee_atmode_send_request(xbee_dev_t *xbee, const char FAR *command);
34 int xbee_atmode_read_response(xbee_dev_t *xbee, char FAR *response,
35  int resp_size, int FAR *bytesread);
36 
38 
39 // If compiling in Dynamic C, automatically #use the appropriate C file.
40 #ifdef __DC__
41  #use "xbee_atmode.c"
42 #endif
43 
44 #endif
45 
#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.
Definition: device.h:361
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42