@@ -979,7 +979,7 @@ The bytes_value of the Sparkplug Metric must be: [0x15, 0xCD, 0x5B, 0x07, 0xB1,
979
979
*** Int8Array as an array of packed little endian int8 bytes
980
980
*** Google Protocol Buffer Type: bytes
981
981
*** Sparkplug enum value: 22
982
- *** Example (Decimal to Metric bytes_value): [-23, 123] -> [0xEF , 0x7B]
982
+ *** Example (Decimal to Metric bytes_value): [-23, 123] -> [0xE9 , 0x7B]
983
983
** _Int16Array_
984
984
*** Int16Array as an array of packed little endian int16 bytes
985
985
*** Google Protocol Buffer Type: bytes
@@ -1019,12 +1019,12 @@ The bytes_value of the Sparkplug Metric must be: [0x15, 0xCD, 0x5B, 0x07, 0xB1,
1019
1019
*** FloatArray as an array of packed little endian 32-bit float bytes
1020
1020
*** Google Protocol Buffer Type: bytes
1021
1021
*** Sparkplug enum value: 30
1022
- *** Example (Decimal to Metric bytes_value): [1.23, 89.341] -> [0x3F, 0x9D, 0x70, 0xA4, 0x42, 0xB2 , 0xAE, 0x98 ]
1022
+ *** Example (Decimal to Metric bytes_value): [1.23, 89.341] -> [0xA4, 0x70, 0x9D, 0x3F, 0x98 , 0xAE, 0xB2, 0x42 ]
1023
1023
** _DoubleArray_
1024
1024
*** DoubleArray as an array of packed little endian 64-bit float bytes
1025
1025
*** Google Protocol Buffer Type: bytes
1026
1026
*** Sparkplug enum value: 31
1027
- *** Example (Decimal to Metric bytes_value): [12.354213, 1022.9123213] -> [0x40, 0x28, 0xB5, 0x5B, 0x68, 0x05, 0xA2, 0xD7 , 0x40, 0x8F, 0xF7, 0x4C , 0x6F, 0x1C, 0x17, 0x8E ]
1027
+ *** Example (Decimal to Metric bytes_value): [12.354213, 1022.9123213] -> [0xD7, 0xA2, 0x05, 0x68, 0x5B, 0xB5, 0x28 , 0x40, 0x8E, 0x17, 0x1C , 0x6F, 0x4C, 0xF7, 0x8F, 0x40 ]
1028
1028
** _BooleanArray_
1029
1029
*** BooleanArray as an array of bit-packed bytes preceeded by a 4-byte integer that represents the
1030
1030
total number of boolean values
@@ -1043,7 +1043,7 @@ ends on a byte boundary.
1043
1043
value representing the number of milliseconds since epoch in UTC
1044
1044
*** Google Protocol Buffer Type: bytes
1045
1045
*** Sparkplug enum value: 34
1046
- *** Example (DateTime array -> ms since epoch -> Metric bytes_value): ['Wednesday, October 21, 2009 5:27:55.335 AM', 'Friday, June 24, 2022 9:57:55 PM'] -> [1256102875335, 1656107875000] -> [0xC7, 0xD0, 0x90, 0x75, 0x24, 0x01, 0xB8, 0xBA, 0xB8, 0x97, 0x81, 0x01]
1046
+ *** Example (DateTime array -> ms since epoch -> Metric bytes_value): ['Wednesday, October 21, 2009 5:27:55.335 AM', 'Friday, June 24, 2022 9:57:55 PM'] -> [1256102875335, 1656107875000] -> [0xC7, 0xD0, 0x90, 0x75, 0x24, 0x01, 0x00, 0x00, 0xB8, 0xBA, 0xB8, 0x97, 0x81, 0x01, 0x00, 0x00 ]
1047
1047
1048
1048
[[payloads_payload_representation_on_host_applications]]
1049
1049
==== Payload Representation on Host Applications
0 commit comments