Digi XBee(R) ANSI C Host Library
ext_modem_status.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 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., 9350 Excelsior Blvd., Suite 700, Hopkins, MN 55343
10  * ===========================================================================
11  */
12 
21 #ifndef XBEE_EXT_MODEM_STATUS_H
22 #define XBEE_EXT_MODEM_STATUS_H
23 
24 #include "xbee/platform.h"
25 #include "xbee/device.h"
26 
28 
30 #define XBEE_FRAME_EXT_MODEM_STATUS 0x98
31 
33 typedef XBEE_PACKED(xbee_frame_xms_ss_header_t, {
35  uint8_t frame_type;
36 
38  uint8_t status_code;
40 
41 int xbee_frame_dump_ext_modem_status(xbee_dev_t *xbee,
42  const void FAR *payload,
43  uint16_t length,
44  void FAR *context);
45 
51 #define XBEE_FRAME_EXT_MODEM_STATUS_DEBUG \
52  { XBEE_FRAME_EXT_MODEM_STATUS, 0, xbee_frame_dump_ext_modem_status, NULL }
53 
55 
56 #endif // XBEE_SECURE_SESSION_H
57 
#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.
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39
Definition: device.h:361
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42
Header for Extended Modem Status.
Definition: ext_modem_status.h:33