Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Sensor Control API
Functions | |
| std::string | ConvertSerialNumber (uint8_t sn_arr[]) |
| For use within the specific sensor class. | |
| std::string | ConvertDataToString (float data) |
| Convert uint8_t array of Serial ASCII to string. | |
| int | ValidateData (float data, float data_min, float data_max) |
| Convert float data to string. | |
| void | SendSensorEmTrace (int err, std::string trace_string="") |
| Validate data with defined limits. | |
Function Documentation
| std::string ConvertDataToString | ( | float | data ) | [protected, inherited] |
Convert uint8_t array of Serial ASCII to string.
Definition at line 30 of file sensor_driver.cpp.
| std::string ConvertSerialNumber | ( | uint8_t | sn_arr[] ) | [protected, inherited] |
For use within the specific sensor class.
Definition at line 18 of file sensor_driver.cpp.
| void SendSensorEmTrace | ( | int | err, |
| std::string | trace_string = "" |
||
| ) | [protected, inherited] |
Validate data with defined limits.
Definition at line 48 of file sensor_driver.cpp.
| int ValidateData | ( | float | data, |
| float | data_min, | ||
| float | data_max | ||
| ) | [protected, inherited] |
Convert float data to string.
Definition at line 38 of file sensor_driver.cpp.
Generated on Tue Jul 26 2022 07:43:19 by
1.7.2