/* 
 * File Name: SimpleCmdMsg.h
 *
 * Description:
 * This header file defines the AM_SIMPLECMDMSG and AM_LOGMSG message
 * types for the SimpleCmd and SenseLightToLog applications.
 */

#ifndef SIMPLECMDMSG_H
#define SIMPLECMDMSG_H


enum {
 AM_SIMPLECMDMSG = 8,
};

//enum {
//  LED_ON = 1,
//  LED_OFF = 2,
//};

// SimpleCmd message structure
typedef nx_struct SimpleCmdMsg {
    nx_int8_t action;
    nx_uint16_t source;
    nx_int8_t seqno;						// aggiunto il sequence number per BCast
    } SimpleCmdMsg;


#endif

