class BrightnessSensor
Initialization of the sensor and determination of the output-mode.
TRUE Successful initialization
FALSE Sensor could not be initialized
Is called for every run.
public virtual JsonObject &getValueToSendAsJson(DynamicJsonBuffer & buffer)Returns the current value of the sensor as Json-object.
Current value as Json-object
public virtual JsonArray &getTypeAsJson(DynamicJsonBuffer & buffer)Returns the type of the sensor as Json-object.
Type as Json-object
class EmptyEEPROM
Returns the value to the associated key from memory.
value
public virtual boolwriteInStorage(String key,String value)Permanently saves the value with the associated key in memory.
TRUE Value saved successfully
FALSE Value could't be saved
Removes the value from the memory.
TRUE Value removed successfully
FALSE Value could't be removed
class EmptyTestRadioDevice
Initialization of radio module.
TRUE Successful initialization
FALSE Radio module could not be initialized
Is called for every run.
Radio module is started.
FALSE Radio module could not be started
Radio module is stopped.
FALSE Radio module could not be stopped
Returns the maximum length of the messages that can be sent by the radio module.
maximum message-length
public virtual JsonVariantgetTypeAsJson(DynamicJsonBuffer & buffer)Returns the type of the radio module as Json-object.
type as Json-object
public virtual JsonObject &getConfigAsJson(DynamicJsonBuffer & buffer)Returns the configuration of the radio module as Json-object.
configuration as Json-object
Sets the configuration of the radio module.
jsonConfig configuration of the radio module
Sends the message to the server.
buffer the sending message
TRUE Message sent successfully
FALSE Message could not be sent
The connection to the server is being established.
TRUE Connection is established successfully
FALSE Connection could not be established
Initialization of the button and determination of the input-mode for the button.
TRUE Initialization successful
FALSE Button could not be initialized
Is called for every run.
Returns, if the button is pressed.
FALSE Button is not pressed
class RadioDevice
Initialization of radio module.
TRUE Successful initialization
FALSE Radio module could not be initialized
Is called for every run.
Radio module is started.
FALSE Radio module could not be started
Radio module is stopped.
FALSE Radio module could not be stopped
Returns the maximum length of the messages that can be sent by the radio module.
maximum message-length
public JsonVariantgetTypeAsJson(DynamicJsonBuffer & buffer)Returns the type of the radio module as Json-object.
type as Json-object
public JsonObject &getConfigAsJson(DynamicJsonBuffer & buffer)Returns the configuration of the radio module as Json-object.
configuration as Json-object
Sets the configuration of the radio module.
jsonConfig configuration of the radio module
Sends the message to the server.
buffer the sending message
TRUE Message sent successfully
FALSE Message could not be sent
The connection to the server is being established.
TRUE Connection is established successfully
FALSE Connection could not be established
class SensorBoardDevice
Initialization of the sensor-board.
TRUE Successful initialization
FALSE Sensor-Board could not be initialized
This method is run through in every loop in the ino-file.
TRUE Method ran through successfully
FALSE Method failed to run through
Sending a message via the radio-module.
buffer The message to be sent
TRUE Message was sent successfully
FALSE Message could not be sent
Returns the device for the output of the status.
statusDevice
Sets the device for the output of the status.
Returns the button that starts the setup-mode.
setupButton
Sets the button that starts the setup-mode.
setupButton SetupButton to be set
Returns the radio-module that is used for the connection to the bridge.
radioModul
Sets the radio-module that is used for the connection to the bridge.
radioModul Radio-module to be set
Returns the sensor that is installed on the sensor-board.
sensor
Sets the sensor that is installed on the sensor-board.
Returns the memory, which stored the data permanently.
storage
Sets the memory, which stored the data permanently.
Returns the http-connection that is used for the connection to the gateway.
connection
Sets the http-connection that is used for the connection to the gateway.
connection HttpConnection to be set
Returns the amount of seconds that the button needs to be pressed to enter the setup-mode.
Time in seconds
Sets the amount of seconds that the button needs to be pressed to enter the setup-mode. Therefore the time for the setup-mode needs to be shorter than the time for the reset-mode.
pressTime Time in seconds
Returns the amount of seconds that the button needs to be pressed to enter the reset-mode.
Time in seconds
Sets the amount of seconds that the button needs to be pressed to enter the reset-mode. Therefore the time for the reset-mode needs to be longer than the time for the setup-mode.
pressTime Time in seconds
Returns the UUID of the device.
uuid
public voidsetUuid(const char * uuid)Sets the UUID of the device.
Indicating if the sensor-board is in setup-mode.
TRUE Sensor-Board is in setup-mode
FALSE Sensor-Board is not in setup-mode
Returns the JsonLD-context of the Sensor-Board.
context as JsonObject
class SensorDevice
Initialization of the sensor and determination of the output-mode.
TRUE Successful initialization
FALSE Sensor could not be initialized
Is called for every run.
Returns the current value of the sensor as Json-object.
Current value as Json-object
public JsonArray &getTypeAsJson(DynamicJsonBuffer & buffer)Returns the type of the sensor as Json-object.
Type as Json-object
Initialization of the button and determination of the input-mode for the button.
TRUE Initialization successful
FALSE Button could not be initialized
Is called for every run.
Returns, if the button is pressed.
FALSE Button is not pressed
class SingleLedStatusDevice
Initialization of the status and definition of the output-mode.
TRUE Successful initialization
FALSE Status could not be initialized
Is called in every turn and returns the current status.
class StatusDevice
publicStatus`[currentStatus`](#class_status_device_1a3a3ff51f5f629f02ed733b818ae84707)
Initialization of the status and definition of the output-mode.
TRUE Successful initialization
FALSE Status could not be initialized
Is called in every turn and returns the current status.
Sets the status.
status -> the status to be set
class Stm32EEPROM
Returns the value to the associated key from memory.
value
public virtual boolwriteInStorage(String key,String value)Permanently saves the value with the associated key in memory.
TRUE Value saved successfully
FALSE Value could't be saved
Removes the value from the memory.
TRUE Value removed successfully
FALSE Value could't be removed
class STM32SensorBoard
class StorageDevice
Returns the value to the associated key from memory.
value
Permanently saves the value with the associated key in memory.
TRUE Value saved successfully
FALSE Value could't be saved
Removes the value from the memory.
TRUE Value removed successfully
FALSE Value could't be removed
Generated by Moxygenarrow-up-right