OpenZWave Library  1.2
Macros
HidController.cpp File Reference
#include "Msg.h"
#include "platform/Thread.h"
#include "platform/Event.h"
#include "platform/Log.h"
#include "platform/TimeStamp.h"
#include "platform/HidController.h"
#include "hidapi.h"
+ Include dependency graph for HidController.cpp:

Macros

#define CHECK_HIDAPI_RESULT(RESULT, ERRORLABEL)   if (RESULT < 0) goto ERRORLABEL
 
#define PACKET_BUFFER_LENGTH   256
 
#define FEATURE_REPORT_LENGTH   0x40
 
#define INPUT_REPORT_LENGTH   0x5
 
#define OUTPUT_REPORT_LENGTH   0x0
 

Macro Definition Documentation

§ CHECK_HIDAPI_RESULT

#define CHECK_HIDAPI_RESULT (   RESULT,
  ERRORLABEL 
)    if (RESULT < 0) goto ERRORLABEL

§ FEATURE_REPORT_LENGTH

#define FEATURE_REPORT_LENGTH   0x40

§ INPUT_REPORT_LENGTH

#define INPUT_REPORT_LENGTH   0x5

§ OUTPUT_REPORT_LENGTH

#define OUTPUT_REPORT_LENGTH   0x0

§ PACKET_BUFFER_LENGTH

#define PACKET_BUFFER_LENGTH   256