Hello, I want to write an application that can receive packets over radio and send the same packets to a PC over serial. Could anybody take a look at the application I wrote (in attachment). What's wrong with it?
Thanks in advance! Best regards, Qian
#ifndef GATEWAY_H
#define GATEWAY_H
typedef nx_struct gateway_msg {
nx_uint16_t x;
nx_uint16_t y;
nx_uint16_t z;
} gateway_msg_t;
enum {
AM_RADIO_MSG = 7,
AM_SERIAL_MSG = 0x89,
};
#endif
GatewayAppC.nc
Description: Cdf file
GatewayC.nc
Description: Cdf file
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
