Skip to content

Commit a3f7320

Browse files
committed
Update to VSCP specification v1.15.4
1 parent 1f94057 commit a3f7320

10 files changed

+11
-11
lines changed

src/framework/core/vscp_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ extern "C"
9999
#define VSCP_CORE_VERSION_SUB_MINOR (1)
100100

101101
/** VSCP specification version string, the framework is compliant to. */
102-
#define VSCP_CORE_VERSION_STR "v1.13.1"
102+
#define VSCP_CORE_VERSION_STR "v1.15.4"
103103

104104
/** VSCP framework version string */
105105
#define VSCP_CORE_FRAMEWORK_VERSION "v2.1.0"

src/framework/core/vscp_type_measurement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ extern "C"
461461
* Optional unit rem (1)
462462
* This is a measurement of a radiation dose (Equivalent dose of ionizing radiation).
463463
*/
464-
#define VSCP_TYPE_MEASUREMENT_RADIATION_DOSE_EQ 61
464+
#define VSCP_TYPE_MEASUREMENT_DOSE_EQUIVALENT 61
465465

466466
/**
467467
* Default unit: coulomb per kilogram (C/kg).

src/framework/core/vscp_type_measurement32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ extern "C"
460460
* Optional unit rem (1)
461461
* This is a measurement of a radiation dose (Equivalent dose of ionizing radiation).
462462
*/
463-
#define VSCP_TYPE_MEASUREMENT32_RADIATION_DOSE_EQ 61
463+
#define VSCP_TYPE_MEASUREMENT32_DOSE_EQUIVALENT 61
464464

465465
/**
466466
* Default unit: coulomb per kilogram (C/kg).

src/framework/core/vscp_type_measurement64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ extern "C"
460460
* Optional unit rem (1)
461461
* This is a measurement of a radiation dose (Equivalent dose of ionizing radiation).
462462
*/
463-
#define VSCP_TYPE_MEASUREMENT64_RADIATION_DOSE_EQ 61
463+
#define VSCP_TYPE_MEASUREMENT64_DOSE_EQUIVALENT 61
464464

465465
/**
466466
* Default unit: coulomb per kilogram (C/kg).

src/framework/core/vscp_type_measurezone.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ extern "C"
462462
* Optional unit rem (1)
463463
* This is a measurement of a radiation dose (Equivalent dose of ionizing radiation).
464464
*/
465-
#define VSCP_TYPE_MEASUREZONE_RADIATION_DOSE_EQ 61
465+
#define VSCP_TYPE_MEASUREZONE_DOSE_EQUIVALENT 61
466466

467467
/**
468468
* Default unit: coulomb per kilogram (C/kg).

src/framework/events/vscp_evt_control.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,8 +1603,8 @@ extern BOOL vscp_evt_control_sendSetSecurityPin(uint8_t reserved, uint8_t zone,
16031603
* @param[in] zone Zone for which event applies to (0-255). 255 is all zones.
16041604
* @param[in] subZone Sub-zone for which event applies to (0-255). 255 is all sub-zones.
16051605
* @param[in] securityPassword Security password. This password can be 1-5 bytes and length of event
1606-
* is set accordingly. It should be interpreted as an UTF-8 string with a length set bt event data
1607-
* length - 3 (array[5])
1606+
* is set accordingly. It should be interpreted as a UTF-8 string of length equal to the event data
1607+
* length minus 3 bytes (array[5])
16081608
* @param[in] securityPasswordsize Size in byte.
16091609
*
16101610
* @return If event is sent, it will return TRUE otherwise FALSE.

src/framework/events/vscp_evt_measurement.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ extern BOOL vscp_evt_measurement_sendRadiationDoseEquivalent(uint8_t index, uint
14981498
{
14991499
vscp_TxMessage txMsg;
15001500

1501-
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREMENT, VSCP_TYPE_MEASUREMENT_RADIATION_DOSE_EQ, VSCP_PRIORITY_3_NORMAL);
1501+
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREMENT, VSCP_TYPE_MEASUREMENT_DOSE_EQUIVALENT, VSCP_PRIORITY_3_NORMAL);
15021502

15031503
txMsg.dataSize = 1;
15041504
txMsg.data[0] = vscp_data_coding_getFormatByte(VSCP_DATA_CODING_REPRESENTATION_NORMALIZED_INTEGER, unit, index);

src/framework/events/vscp_evt_measurement32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ extern BOOL vscp_evt_measurement32_sendRadiationDoseEquivalent(float_t value)
15531553
vscp_TxMessage txMsg;
15541554
uint8_t size = 0;
15551555

1556-
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREMENT32, VSCP_TYPE_MEASUREMENT32_RADIATION_DOSE_EQ, VSCP_PRIORITY_3_NORMAL);
1556+
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREMENT32, VSCP_TYPE_MEASUREMENT32_DOSE_EQUIVALENT, VSCP_PRIORITY_3_NORMAL);
15571557

15581558
txMsg.data[0] = ((uint8_t*)&value)[3];
15591559
txMsg.data[1] = ((uint8_t*)&value)[2];

src/framework/events/vscp_evt_measurement64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ extern BOOL vscp_evt_measurement64_sendRadiationDoseEquivalent(double_t value)
17851785
vscp_TxMessage txMsg;
17861786
uint8_t size = 0;
17871787

1788-
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREMENT64, VSCP_TYPE_MEASUREMENT64_RADIATION_DOSE_EQ, VSCP_PRIORITY_3_NORMAL);
1788+
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREMENT64, VSCP_TYPE_MEASUREMENT64_DOSE_EQUIVALENT, VSCP_PRIORITY_3_NORMAL);
17891789

17901790
txMsg.data[0] = ((uint8_t*)&value)[7];
17911791
txMsg.data[1] = ((uint8_t*)&value)[6];

src/framework/events/vscp_evt_measurezone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ extern BOOL vscp_evt_measurezone_sendRadiationDoseEquivalent(uint8_t index, uint
16731673
{
16741674
vscp_TxMessage txMsg;
16751675

1676-
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREZONE, VSCP_TYPE_MEASUREZONE_RADIATION_DOSE_EQ, VSCP_PRIORITY_3_NORMAL);
1676+
vscp_core_prepareTxMessage(&txMsg, VSCP_CLASS_L1_MEASUREZONE, VSCP_TYPE_MEASUREZONE_DOSE_EQUIVALENT, VSCP_PRIORITY_3_NORMAL);
16771677

16781678
txMsg.dataSize = 3;
16791679
txMsg.data[0] = index;

0 commit comments

Comments
 (0)