#ifndef __NEXA__
#define __NEXA__

#include "app.h"

void resetDecoder ();

extern unsigned long x_data;

boolean nextPulseNexa (unsigned int width);

typedef struct {
unsigned int remote_id;
unsigned char group;
unsigned char onOff;
unsigned char channel;
unsigned char button;
} NEXA_QUEUE_DATA;

#define LOG_SIZE 3096
extern unsigned short nexaData[LOG_SIZE];
extern unsigned short logCounter;

#endif