libneoradio2
Classes | Macros | Typedefs | Enumerations
libneoradio2common.h File Reference
#include <stdint.h>
#include "radio2_frames.h"

Go to the source code of this file.

Classes

struct  _Neoradio2DeviceInfo
 

Macros

#define NEORADIO2_SUCCESS   0
 
#define NEORADIO2_FAILURE   1
 
#define NEORADIO2_ERR_WBLOCK   2
 
#define NEORADIO2_ERR_INPROGRESS   3
 
#define NEORADIO2_ERR_FAILURE   4
 
#define NEORADIO2_MAX_DEVS   8
 
#define neoradio2_handle   long
 

Typedefs

typedef enum _CommandStatus CommandStatus
 
typedef enum _CommandStateType CommandStateType
 
typedef struct _Neoradio2DeviceInfo Neoradio2DeviceInfo
 
typedef enum _StatusType StatusType
 

Enumerations

enum  _CommandStatus { StatusInProgress = 0, StatusFinished, StatusError }
 
enum  _CommandStateType { CommandStateHost = 0, CommandStateDevice, CommandStateUnknown = -1 }
 
enum  _StatusType {
  StatusChain = 0, StatusAppStart, StatusPCBSN, StatusSensorRead,
  StatusSensorWrite, StatusSettingsRead, StatusSettingsWrite, StatusCalibration,
  StatusCalibrationPoints, StatusCalibrationStored, StatusCalibrationInfo, StatusLedToggle,
  StatusMax
}
 

Macro Definition Documentation

◆ NEORADIO2_ERR_FAILURE

#define NEORADIO2_ERR_FAILURE   4

◆ NEORADIO2_ERR_INPROGRESS

#define NEORADIO2_ERR_INPROGRESS   3

◆ NEORADIO2_ERR_WBLOCK

#define NEORADIO2_ERR_WBLOCK   2

◆ NEORADIO2_FAILURE

#define NEORADIO2_FAILURE   1

◆ neoradio2_handle

#define neoradio2_handle   long

◆ NEORADIO2_MAX_DEVS

#define NEORADIO2_MAX_DEVS   8

◆ NEORADIO2_SUCCESS

#define NEORADIO2_SUCCESS   0

Typedef Documentation

◆ CommandStateType

◆ CommandStatus

◆ Neoradio2DeviceInfo

◆ StatusType

typedef enum _StatusType StatusType

Enumeration Type Documentation

◆ _CommandStateType

Enumerator
CommandStateHost 
CommandStateDevice 
CommandStateUnknown 

◆ _CommandStatus

Enumerator
StatusInProgress 
StatusFinished 
StatusError 

◆ _StatusType

Enumerator
StatusChain 
StatusAppStart 
StatusPCBSN 
StatusSensorRead 
StatusSensorWrite 
StatusSettingsRead 
StatusSettingsWrite 
StatusCalibration 
StatusCalibrationPoints 
StatusCalibrationStored 
StatusCalibrationInfo 
StatusLedToggle 
StatusMax