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.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_UARTConsole by
sensor_t Struct Reference
struct sensor_s is used to describe basic information about a specific sensor. More...
#include <BaseSensor.h>
Data Fields | |
| char | name [12] |
| sensor name | |
| int32_t | version |
| version of the hardware + driver | |
| int32_t | sensor_id |
| unique sensor identifier | |
| int32_t | type |
| this sensor's type (ex. | |
| float | max_value |
| maximum value of this sensor's value in SI units | |
| float | min_value |
| minimum value of this sensor's value in SI units | |
| float | resolution |
| smallest difference between two values reported by this sensor | |
| int32_t | min_delay |
| min delay in microseconds between events. | |
Detailed Description
struct sensor_s is used to describe basic information about a specific sensor.
Definition at line 53 of file BaseSensor.h.
Field Documentation
| float max_value |
maximum value of this sensor's value in SI units
Definition at line 59 of file BaseSensor.h.
| int32_t min_delay |
min delay in microseconds between events.
zero = not a constant rate
Definition at line 62 of file BaseSensor.h.
| float min_value |
minimum value of this sensor's value in SI units
Definition at line 60 of file BaseSensor.h.
| char name[12] |
sensor name
Definition at line 55 of file BaseSensor.h.
| float resolution |
smallest difference between two values reported by this sensor
Definition at line 61 of file BaseSensor.h.
| int32_t sensor_id |
unique sensor identifier
Definition at line 57 of file BaseSensor.h.
| int32_t type |
| int32_t version |
version of the hardware + driver
Definition at line 56 of file BaseSensor.h.
Generated on Wed Jul 13 2022 08:05:01 by
1.7.2
