|
GrowNode
|
Functions | |
| gn_leaf_descriptor_handle_t | gn_bme280_config (gn_leaf_handle_t leaf_config) |
| configures the leaf More... | |
Variables | |
| static const char | GN_LEAF_BME280_TYPE [] = "bme280" |
| static const char | GN_BME280_PARAM_ACTIVE [] = "active" |
| whether the sensor is running More... | |
| static const char | GN_BME280_PARAM_SDA [] = "SDA" |
| gpio number for I2C master clock More... | |
| static const char | GN_BME280_PARAM_SCL [] = "SCL" |
| gpio number for I2C master data More... | |
| static const char | GN_BME280_PARAM_UPDATE_TIME_SEC [] = "upd_time_sec" |
| seconds between sensor sampling More... | |
| static const char | GN_BME280_PARAM_TEMP [] = "temp" |
| temperature recorded More... | |
| static const char | GN_BME280_PARAM_HUM [] = "hum" |
| humidity recorded More... | |
| static const char | GN_BME280_PARAM_PRESS [] = "press" |
| pressure recorded More... | |
| gn_leaf_descriptor_handle_t gn_bme280_config | ( | gn_leaf_handle_t | leaf_config | ) |
configures the leaf
|
static |
whether the sensor is running
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_ACTIVE | GN_VAL_TYPE_BOOLEAN | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_PERSISTED | true | whether the sensor is running |
|
static |
humidity recorded
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_HUM | GN_VAL_TYPE_DOUBLE | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_VOLATILE | 0 | humidity recorded |
|
static |
pressure recorded
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_PRESS | GN_VAL_TYPE_DOUBLE | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_VOLATILE | 0 | pressure recorded |
|
static |
gpio number for I2C master data
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_SCL | GN_VAL_TYPE_DOUBLE | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_PERSISTED | 22 | gpio number for I2C master data |
|
static |
gpio number for I2C master clock
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_SDA | GN_VAL_TYPE_DOUBLE | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_PERSISTED | 21 | gpio number for I2C master clock |
|
static |
temperature recorded
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_TEMP | GN_VAL_TYPE_DOUBLE | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_VOLATILE | 0 | temperature recorded |
|
static |
seconds between sensor sampling
| Name | Type | Access | Storage | Default | Description |
|---|---|---|---|---|---|
| GN_BME280_PARAM_UPDATE_TIME_SEC | GN_VAL_TYPE_DOUBLE | GN_LEAF_PARAM_ACCESS_NETWORK | GN_LEAF_PARAM_STORAGE_PERSISTED | 120 | seconds between sensor sampling |
|
static |