ГОСТ Р 56845—2015
«define
«define
PROTOCOL_REVISION 6
PROD_SPEC_GMDN 7
PrivateOid componentjd:
octet_string prod_spec;
} ProdSpecEntry:
typedef struct ProductionSpec
{
intu16 count:
intu16 length:
ProdSpecEntry value(1];
} ProductionSpec:
typedef intu16 PowerStatus:
«defineON_MAJNS
«defineON_BATTERY
«define
«define
«define
typedef struct BatMeasure
{
FLOAT_Type value;
OID_Type unit;
} BatMeasure;
Г
первый элемент массива 7
0x8000
0x4000
CHARGING_FULL 0x0080
CHARGING_TRICKLE 0x0040
CHARGING_OFF0x0020
typedef intu16 MeasurementStatus:
«define
«define
«define
«define
«define
«define
«define
«define
«define
MSJNVALID0x8000
MS_QUESTIONABLE0x4000
MS_NOT_AVAILABLE0x2000
MS_CALIBRAT!ON_ONGOING0x1000
MS_TEST_DATA0x0800
MS_DEMO_DATA0x0400
MS_VALIDATED_DATA0x0080
MS EARLYJNDICATION0x0040
MS MSMT ONGOING0x0020
typedef struct NuObsValue
{
OID_Type metric_id;
MeasurementStatus state;
OID_Type unit_code;
FLOAT_Type value;
} NuObsValue;
typedef struct NuObsValueCmp
{
intu16 count;
intu16 length,
NuObsValue value[1];
Г
первый элемент массива
V
} NuObsValueCmp;
typedef struct SampleType
{
intu8 sample_size:
intu8 significant_bits;
} SampleType;
«define SAMPLE_TYPE_SIGNIFICANT_BITS_SIGNED_SAMPLES 255
typedef intu16 SaFlags;
«define
«define
«define
«define
SMOOTH_CURVE0x8000
DELAYED_CURVE0x4000
STATIC_SCALE0x2000
SA_EXT_VAL_RANGE0x1000
145