This group of methods are useful for extracting data from binary data packets.
More...
This group of methods are useful for extracting data from binary data packets.
Extracts a float data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
Extracts a int8_t data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
Extracts a mat3f data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
uint16_t VnUartPacket_extractUint16 |
( |
VnUartPacket * |
packet | ) |
|
Extracts a uint16_t data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
uint32_t VnUartPacket_extractUint32 |
( |
VnUartPacket * |
packet | ) |
|
Extracts a uint32_t data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
uint64_t VnUartPacket_extractUint64 |
( |
VnUartPacket * |
packet | ) |
|
Extracts a uint64_t data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
- Examples:
- getting_started/main.c, and sensor/main.c.
Extracts a uint8_t data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
Extracts a vec3d data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
Extracts a vec3f data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.
- Examples:
- getting_started/main.c, and sensor/main.c.
Extracts a vec4f data type from a binary packet and advances the next extraction point appropriately.
- Parameters
-
[in] | packet | The packet to extract the value from. |
- Returns
- The extracted value.