 |
libRBR
v1.2.3
RBR instrument communication API
|
Go to the documentation of this file.
13 #ifndef LIBRBR_RBRINSTRUMENTOTHER_H
14 #define LIBRBR_RBRINSTRUMENTOTHER_H
25 #define RBRINSTRUMENT_HWREV_CPU_MAX 5
32 #define RBRINSTRUMENT_PART_NUMBER_MAX 255
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMETTE3_LISOCL2
Definition: RBRInstrumentOther.h:302
bool fwLock
Definition: RBRInstrumentOther.h:428
@ RBRINSTRUMENT_POWER_SOURCE_COUNT
Definition: RBRInstrumentOther.h:106
Instrument powerinternal command parameters.
Definition: RBRInstrumentOther.h:217
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMETTE3_LIFES2
Definition: RBRInstrumentOther.h:304
const float capacity
The capacity of the battery.
Definition: RBRInstrumentOther.h:359
@ RBRINSTRUMENT_INTERNAL_BATTERY_LINIMNCO
Definition: RBRInstrumentOther.h:177
RBRInstrumentError RBRInstrument_getPowerExternal(RBRInstrument *instrument, RBRInstrumentPowerExternal *power)
Get instrument external power information.
const float capacity
The capacity of the battery.
Definition: RBRInstrumentOther.h:226
struct RBRInstrumentHardwareRevision RBRInstrumentHardwareRevision
Instrument hwrev command parameters.
RBRInstrumentError RBRInstrument_getHardwareRevision(RBRInstrument *instrument, RBRInstrumentHardwareRevision *hwrev)
Get instrument hardware revision information.
RBRInstrumentInternalBatteryType
Definition: RBRInstrumentOther.h:166
RBRInstrumentError RBRInstrument_resetPowerExternalUsed(RBRInstrument *instrument)
Reset the counter of energy used from the external battery.
struct RBRInstrumentPower RBRInstrumentPower
Instrument power command parameters.
float external
The measured voltage of any external power source.
Definition: RBRInstrumentOther.h:137
@ RBRINSTRUMENT_INTERNAL_BATTERY_LISOCL2
Definition: RBRInstrumentOther.h:171
char partNumber[RBRINSTRUMENT_PART_NUMBER_MAX+1]
Definition: RBRInstrumentOther.h:426
@ RBRINSTRUMENT_EXTERNAL_BATTERY_OTHER
Definition: RBRInstrumentOther.h:294
RBRInstrumentError RBRInstrument_getPower(RBRInstrument *instrument, RBRInstrumentPower *power)
Get instrument power information.
char bsl
Definition: RBRInstrumentOther.h:75
@ RBRINSTRUMENT_INTERNAL_BATTERY_LIFES2
Definition: RBRInstrumentOther.h:173
RBRInstrumentPowerSource source
The power source from which the instrument is running.
Definition: RBRInstrumentOther.h:129
@ RBRINSTRUMENT_INTERNAL_BATTERY_COUNT
Definition: RBRInstrumentOther.h:181
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMATA_ZNMNO2
Definition: RBRInstrumentOther.h:298
const char * RBRInstrumentExternalBatteryType_displayName(RBRInstrumentExternalBatteryType type)
Get a human-readable display name for an external battery type.
Instrument id command parameters.
Definition: RBRInstrument.h:280
const char * RBRInstrumentPowerSource_name(RBRInstrumentPowerSource source)
Get a human-readable string name for a power source.
Instrument info command parameters.
Definition: RBRInstrumentOther.h:423
@ RBRINSTRUMENT_UNKNOWN_POWER_SOURCE
Definition: RBRInstrumentOther.h:108
#define RBRINSTRUMENT_PART_NUMBER_MAX
The maximum number of characters in an instrument part number.
Definition: RBRInstrumentOther.h:32
const char * RBRInstrumentInternalBatteryType_displayName(RBRInstrumentInternalBatteryType type)
Get a human-readable display name for an internal battery type.
int RBRInstrumentVersion_compare(const char *a, const char *b)
Compare two firmware version strings.
@ RBRINSTRUMENT_UNKNOWN_INTERNAL_BATTERY
Definition: RBRInstrumentOther.h:183
float used
The accumulated energy used from the internal battery since the value was last reset.
Definition: RBRInstrumentOther.h:231
RBRInstrumentExternalBatteryType batteryType
The type of battery.
Definition: RBRInstrumentOther.h:353
@ RBRINSTRUMENT_POWER_SOURCE_EXTERNAL
Definition: RBRInstrumentOther.h:104
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMATA_LISOCL2
Definition: RBRInstrumentOther.h:296
RBRInstrumentInternalBatteryType batteryType
The type of battery.
Definition: RBRInstrumentOther.h:220
const char * RBRInstrumentExternalBatteryType_name(RBRInstrumentExternalBatteryType type)
Get a human-readable string name for an external battery type.
RBRInstrumentError
Errors which can be returned from library functions.
Definition: RBRInstrument.h:200
struct RBRInstrumentPowerExternal RBRInstrumentPowerExternal
Instrument powerexternal command parameters.
@ RBRINSTRUMENT_UNKNOWN_EXTERNAL_BATTERY
Definition: RBRInstrumentOther.h:314
RBRInstrumentError RBRInstrument_resetPowerInternalUsed(RBRInstrument *instrument)
Reset the counter of energy used from the internal battery.
float regulator
The measured voltage of a short logger's internal voltage regulator.
Definition: RBRInstrumentOther.h:144
RBRInstrumentError RBRInstrument_getInfo(RBRInstrument *instrument, RBRInstrumentInfo *info)
Get more information about the instrument.
RBRInstrumentError RBRInstrument_getPowerInternal(RBRInstrument *instrument, RBRInstrumentPowerInternal *power)
Get instrument internal power information.
@ RBRINSTRUMENT_INTERNAL_BATTERY_NIMH
Definition: RBRInstrumentOther.h:179
@ RBRINSTRUMENT_EXTERNAL_BATTERY_COUNT
Definition: RBRInstrumentOther.h:312
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMETTE3_LINIMNCO
Definition: RBRInstrumentOther.h:308
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMETTE3_ZNMNO2
Definition: RBRInstrumentOther.h:306
RBRInstrumentError RBRInstrument_setPowerExternalBatteryType(RBRInstrument *instrument, RBRInstrumentExternalBatteryType type)
Set the external power battery type.
@ RBRINSTRUMENT_POWER_SOURCE_INTERNAL
Definition: RBRInstrumentOther.h:102
Instrument hwrev command parameters.
Definition: RBRInstrumentOther.h:68
struct RBRInstrumentInfo RBRInstrumentInfo
Instrument info command parameters.
RBRInstrumentPowerSource
Definition: RBRInstrumentOther.h:97
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMETTE_LIMNO2
Definition: RBRInstrumentOther.h:300
@ RBRINSTRUMENT_INTERNAL_BATTERY_ZNMNO2
Definition: RBRInstrumentOther.h:175
char cpu[RBRINSTRUMENT_HWREV_CPU_MAX+1]
Definition: RBRInstrumentOther.h:73
float used
The accumulated energy used from the external battery since the value was last reset.
Definition: RBRInstrumentOther.h:364
char pcb
Definition: RBRInstrumentOther.h:71
Core library context object.
Definition: RBRInstrument.h:591
Instrument power command parameters.
Definition: RBRInstrumentOther.h:126
Instrument powerexternal command parameters.
Definition: RBRInstrumentOther.h:350
RBRInstrumentExternalBatteryType
Definition: RBRInstrumentOther.h:291
@ RBRINSTRUMENT_EXTERNAL_BATTERY_FERMETTE3_NIMH
Definition: RBRInstrumentOther.h:310
#define RBRINSTRUMENT_HWREV_CPU_MAX
The maximum number of characters in the type and revision of the CPU.
Definition: RBRInstrumentOther.h:25
RBRInstrumentError RBRInstrument_getId(RBRInstrument *instrument, RBRInstrumentId *id)
Get identification information from the instrument.
@ RBRINSTRUMENT_INTERNAL_BATTERY_NONE
Definition: RBRInstrumentOther.h:169
RBRInstrumentError RBRInstrument_setInternalBatteryType(RBRInstrument *instrument, RBRInstrumentInternalBatteryType type)
Set the internal power battery type.
const char * RBRInstrumentInternalBatteryType_name(RBRInstrumentInternalBatteryType type)
Get a human-readable string name for an internal battery type.
@ RBRINSTRUMENT_POWER_SOURCE_USB
Definition: RBRInstrumentOther.h:100
struct RBRInstrumentPowerInternal RBRInstrumentPowerInternal
Instrument powerinternal command parameters.