#include "AM.h"
typedef nx_struct CC1KHeader {
- nx_am_addr_t addr;
+ nx_am_addr_t dest;
+ nx_am_addr_t source;
nx_uint8_t length;
nx_am_group_t group;
nx_am_id_t type;
} cc1000_footer_t;
typedef nx_struct CC1KMetadata {
- nx_uint16_t strength;
+ nx_int16_t strength_or_preamble; /* negative when used for preamble length */
nx_uint8_t ack;
nx_uint16_t time;
nx_uint8_t sendSecurityMode;