bibliothek
Summary
Members
Descriptions
Members
Values
Descriptions
OK
SETUP_MODE
LINKING
ERROR
SEND_MQTT_MESSAGE
EMPTY
class BrightnessSensor
BrightnessSensor
Summary
Members
Descriptions
Initialization of the sensor and determination of the output-mode.
Is called for every run.
Returns the current value of the sensor as Json-object.
Returns the type of the sensor as Json-object.
Members
Initialization of the sensor and determination of the output-mode.
Parameters
TRUE
Successful initializationFALSE
Sensor could not be initialized
Is called for every run.
Returns the current value of the sensor as Json-object.
Returns
Current value as Json-object
Returns the type of the sensor as Json-object.
Returns
Type as Json-object
class EmptyEEPROM
EmptyEEPROM
Summary
Members
Descriptions
Returns the value to the associated key from memory.
Permanently saves the value with the associated key in memory.
Removes the value from the memory.
Members
Returns the value to the associated key from memory.
Parameters
key
key of the value
Returns
value
Permanently saves the value with the associated key in memory.
Parameters
TRUE
Value saved successfullyFALSE
Value could't be saved
Removes the value from the memory.
Parameters
TRUE
Value removed successfullyFALSE
Value could't be removed
class EmptyTestRadioDevice
EmptyTestRadioDevice
Summary
Members
Descriptions
Initialization of radio module.
Is called for every run.
Radio module is started.
Radio module is stopped.
Returns the maximum length of the messages that can be sent by the radio module.
Returns the type of the radio module as Json-object.
Returns the configuration of the radio module as Json-object.
Sets the configuration of the radio module.
Sends the message to the server.
The connection to the server is being established.
Members
Initialization of radio module.
Parameters
TRUE
Successful initializationFALSE
Radio module could not be initialized
Is called for every run.
Radio module is started.
Parameters
TRUE
Successful startFALSE
Radio module could not be started
Radio module is stopped.
Parameters
TRUE
Successful StopFALSE
Radio module could not be stopped
Returns the maximum length of the messages that can be sent by the radio module.
Returns
maximum message-length
Returns the type of the radio module as Json-object.
Returns
type as Json-object
Returns the configuration of the radio module as Json-object.
Returns
configuration as Json-object
Sets the configuration of the radio module.
Parameters
jsonConfig
configuration of the radio module
Sends the message to the server.
Parameters
buffer
the sending message
Parameters
TRUE
Message sent successfullyFALSE
Message could not be sent
The connection to the server is being established.
Parameters
TRUE
Connection is established successfullyFALSE
Connection could not be established
class PullUpSetupButtonDevice
PullUpSetupButtonDevice
Summary
Members
Descriptions
Initialization of the button and determination of the input-mode for the button.
Is called for every run.
Returns, if the button is pressed.
Members
Initialization of the button and determination of the input-mode for the button.
Parameters
TRUE
Initialization successfulFALSE
Button could not be initialized
Is called for every run.
Returns, if the button is pressed.
Parameters
TRUE
Button is pressedFALSE
Button is not pressed
class RadioDevice
RadioDevice
Summary
Members
Descriptions
Initialization of radio module.
Is called for every run.
Radio module is started.
Radio module is stopped.
Returns the maximum length of the messages that can be sent by the radio module.
Returns the type of the radio module as Json-object.
Returns the configuration of the radio module as Json-object.
Sets the configuration of the radio module.
Sends the message to the server.
The connection to the server is being established.
Members
Initialization of radio module.
Parameters
TRUE
Successful initializationFALSE
Radio module could not be initialized
Is called for every run.
Radio module is started.
Parameters
TRUE
Successful startFALSE
Radio module could not be started
Radio module is stopped.
Parameters
TRUE
Successful StopFALSE
Radio module could not be stopped
Returns the maximum length of the messages that can be sent by the radio module.
Returns
maximum message-length
Returns the type of the radio module as Json-object.
Returns
type as Json-object
Returns the configuration of the radio module as Json-object.
Returns
configuration as Json-object
Sets the configuration of the radio module.
Parameters
jsonConfig
configuration of the radio module
Sends the message to the server.
Parameters
buffer
the sending message
Parameters
TRUE
Message sent successfullyFALSE
Message could not be sent
The connection to the server is being established.
Parameters
TRUE
Connection is established successfullyFALSE
Connection could not be established
class SensorBoardDevice
SensorBoardDevice
Summary
Members
Descriptions
Initialization of the sensor-board.
This method is run through in every loop in the ino-file.
Sending a message via the radio-module.
Returns the device for the output of the status.
Sets the device for the output of the status.
Returns the button that starts the setup-mode.
Sets the button that starts the setup-mode.
Returns the radio-module that is used for the connection to the bridge.
Sets the radio-module that is used for the connection to the bridge.
Returns the sensor that is installed on the sensor-board.
Sets the sensor that is installed on the sensor-board.
Returns the memory, which stored the data permanently.
Sets the memory, which stored the data permanently.
Returns the http-connection that is used for the connection to the gateway.
Sets the http-connection that is used for the connection to the gateway.
Returns the amount of seconds that the button needs to be pressed to enter the setup-mode.
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.
Returns the amount of seconds that the button needs to be pressed to enter the reset-mode.
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.
Returns the UUID of the device.
Sets the UUID of the device.
Indicating if the sensor-board is in setup-mode.
Returns the JsonLD-context of the Sensor-Board.
Members
Initialization of the sensor-board.
Parameters
TRUE
Successful initializationFALSE
Sensor-Board could not be initialized
This method is run through in every loop in the ino-file.
Parameters
TRUE
Method ran through successfullyFALSE
Method failed to run through
Sending a message via the radio-module.
Parameters
buffer
The message to be sent
Parameters
TRUE
Message was sent successfullyFALSE
Message could not be sent
Returns the device for the output of the status.
Returns
statusDevice
Sets the device for the output of the status.
Parameters
Returns the button that starts the setup-mode.
Returns
setupButton
Sets the button that starts the setup-mode.
Parameters
setupButton
SetupButton to be set
Returns the radio-module that is used for the connection to the bridge.
Returns
radioModul
Sets the radio-module that is used for the connection to the bridge.
Parameters
radioModul
Radio-module to be set
Returns the sensor that is installed on the sensor-board.
Returns
sensor
Sets the sensor that is installed on the sensor-board.
Parameters
sensor
Sensor to be set
Returns the memory, which stored the data permanently.
Returns
storage
Sets the memory, which stored the data permanently.
Parameters
storage
to be set
Returns the http-connection that is used for the connection to the gateway.
Returns
connection
Sets the http-connection that is used for the connection to the gateway.
Parameters
connection
HttpConnection to be set
Returns the amount of seconds that the button needs to be pressed to enter the setup-mode.
Returns
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.
Parameters
pressTime
Time in seconds
Returns the amount of seconds that the button needs to be pressed to enter the reset-mode.
Returns
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.
Parameters
pressTime
Time in seconds
Returns the UUID of the device.
Returns
uuid
Sets the UUID of the device.
Parameters
uuid
UUID to be set
Indicating if the sensor-board is in setup-mode.
Parameters
TRUE
Sensor-Board is in setup-modeFALSE
Sensor-Board is not in setup-mode
Returns the JsonLD-context of the Sensor-Board.
Returns
context as JsonObject
class SensorDevice
SensorDevice
Summary
Members
Descriptions
Initialization of the sensor and determination of the output-mode.
Is called for every run.
Returns the current value of the sensor as Json-object.
Returns the type of the sensor as Json-object.
Members
Initialization of the sensor and determination of the output-mode.
Parameters
TRUE
Successful initializationFALSE
Sensor could not be initialized
Is called for every run.
Returns the current value of the sensor as Json-object.
Returns
Current value as Json-object
Returns the type of the sensor as Json-object.
Returns
Type as Json-object
class SetupButtonDevice
SetupButtonDevice
Summary
Members
Descriptions
Initialization of the button and determination of the input-mode for the button.
Is called for every run.
Returns, if the button is pressed.
Members
Initialization of the button and determination of the input-mode for the button.
Parameters
TRUE
Initialization successfulFALSE
Button could not be initialized
Is called for every run.
Returns, if the button is pressed.
Parameters
TRUE
Button is pressedFALSE
Button is not pressed
class SingleLedStatusDevice
SingleLedStatusDevice
Summary
Members
Descriptions
Initialization of the status and definition of the output-mode.
Is called in every turn and returns the current status.
Members
Initialization of the status and definition of the output-mode.
Parameters
TRUE
Successful initializationFALSE
Status could not be initialized
Is called in every turn and returns the current status.
class StatusDevice
StatusDevice
Summary
Members
Descriptions
Initialization of the status and definition of the output-mode.
Is called in every turn and returns the current status.
Sets the status.
Members
Initialization of the status and definition of the output-mode.
Parameters
TRUE
Successful initializationFALSE
Status could not be initialized
Is called in every turn and returns the current status.
Sets the status.
Parameters
status
-> the status to be set
class Stm32EEPROM
Stm32EEPROM
Summary
Members
Descriptions
Returns the value to the associated key from memory.
Permanently saves the value with the associated key in memory.
Removes the value from the memory.
Members
Returns the value to the associated key from memory.
Parameters
key
key of the value
Returns
value
Permanently saves the value with the associated key in memory.
Parameters
TRUE
Value saved successfullyFALSE
Value could't be saved
Removes the value from the memory.
Parameters
TRUE
Value removed successfullyFALSE
Value could't be removed
class STM32SensorBoard
STM32SensorBoard
Summary
Members
Descriptions
Members
class StorageDevice
StorageDevice
Summary
Members
Descriptions
Returns the value to the associated key from memory.
Permanently saves the value with the associated key in memory.
Removes the value from the memory.
Members
Returns the value to the associated key from memory.
Parameters
key
key of the value
Returns
value
Permanently saves the value with the associated key in memory.
Parameters
TRUE
Value saved successfullyFALSE
Value could't be saved
Removes the value from the memory.
Parameters
TRUE
Value removed successfullyFALSE
Value could't be removed
Last updated