Skip to content

File CayenneTypes.hpp

FileList > src > CayenneTypes.hpp

Go to the source code of this file

Namespaces

Type Name
namespace CayenneLPP

Classes

Type Name
struct AcceleroVal_t
struct GPSCoord_t
struct GyroVal_t
struct Measurement_t

Public Types

Type Name
union MeasurementData_t

Macros

Type Name
define ANALOG_VOLT_MAX_RANGE (UINT16_MAX / 100)
define BAROMETRIC_PRESS_MAX_RANGE (UINT16_MAX / 10)
define CAYENNE_MAX_UNION_SIZE (sizeof(GPSCoord_t))
The max size of the union.
define DIG_GPIO_MIN_RANGE (0)
define LUM_MAX_RANGE (UINT16_MAX / 100)
define MAX_GPS_ALT_RANGE (UINT24_MAX / 100)
define MAX_GPS_LAT_RANGE (UINT24_MAX / 10000)
define MAX_GPS_LONG_RANGE (UINT24_MAX / 10000)
define PRESENCE_MIN_RANGE (0)
define RH_MAX_RANGE (UINT16_MAX / 2)
define TEMP_MAX_RANGE (UINT16_MAX / 10)
define UINT24_MAX ((((2 ^ 24) - 1)))
The ranges for the checking inside the helper functions!

Public Types Documentation

union MeasurementData_t


Macro Definition Documentation

define ANALOG_VOLT_MAX_RANGE

#define ANALOG_VOLT_MAX_RANGE (UINT16_MAX / 100)

define BAROMETRIC_PRESS_MAX_RANGE

#define BAROMETRIC_PRESS_MAX_RANGE (UINT16_MAX / 10)

define CAYENNE_MAX_UNION_SIZE

#define CAYENNE_MAX_UNION_SIZE (sizeof(GPSCoord_t))

define DIG_GPIO_MIN_RANGE

#define DIG_GPIO_MIN_RANGE (0)

define LUM_MAX_RANGE

#define LUM_MAX_RANGE (UINT16_MAX / 100)

define MAX_GPS_ALT_RANGE

#define MAX_GPS_ALT_RANGE (UINT24_MAX / 100)

define MAX_GPS_LAT_RANGE

#define MAX_GPS_LAT_RANGE (UINT24_MAX / 10000)

define MAX_GPS_LONG_RANGE

#define MAX_GPS_LONG_RANGE (UINT24_MAX / 10000)

define PRESENCE_MIN_RANGE

#define PRESENCE_MIN_RANGE (0)

define RH_MAX_RANGE

#define RH_MAX_RANGE (UINT16_MAX / 2)

define TEMP_MAX_RANGE

#define TEMP_MAX_RANGE (UINT16_MAX / 10)

define UINT24_MAX

#define UINT24_MAX ((((2 ^ 24) - 1)))

The documentation for this class was generated from the following file src/CayenneTypes.hpp