26 #if !XBEE_CELLULAR_ENABLED 27 #error "XBEE_CELLULAR_ENABLED must be defined as non-zero " \ 34 #define XBEE_FRAME_TRANSMIT_SMS 0x1F 37 #define XBEE_FRAME_RECEIVE_SMS 0x9F 39 #define XBEE_SMS_MAX_PHONE_LENGTH 20 40 #define XBEE_SMS_MAX_MESSAGE_LENGTH 160 48 char phone[XBEE_SMS_MAX_PHONE_LENGTH];
52 char message[XBEE_SMS_MAX_MESSAGE_LENGTH];
59 char phone[XBEE_SMS_MAX_PHONE_LENGTH];
70 char phone[XBEE_SMS_MAX_PHONE_LENGTH];
97 #define XBEE_SMS_SEND_OPT_NO_STATUS 0x8000 #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
Format of XBee API frame type 0x9F (XBEE_FRAME_RECEIVE_SMS); received from XBee by host...
Definition: sms.h:64
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
int xbee_sms_send(xbee_dev_t *xbee, const char *phone, const char *message, uint16_t options)
Send an SMS message.
Definition: xbee_sms.c:24
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39
int xbee_sms_receive_dump(xbee_dev_t *xbee, const void FAR *raw, uint16_t length, void FAR *context)
Dump received SMS message to stdout.
Definition: xbee_sms.c:55
Format of XBee API frame type 0x1F (XBEE_FRAME_TRANSMIT_SMS); sent from host to XBee.
Definition: sms.h:53
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42