bibliothek
Summary
Members
Descriptions
defineSENSORTYPE
enumStatus
classBrightnessSensor
classEmptyEEPROM
classEmptyTestRadioDevice
classRadioDevice
classSensorBoardDevice
classSensorDevice
classSetupButtonDevice
classStatusDevice
classStm32EEPROM
classSTM32SensorBoard
classStorageDevice
Members
defineSENSORTYPE
defineSENSORTYPEenumStatus
enumStatusValues
Descriptions
OK
SETUP_MODE
LINKING
ERROR
SEND_MQTT_MESSAGE
EMPTY
class BrightnessSensor
BrightnessSensorclass BrightnessSensor
: public SensorDeviceSummary
Members
Descriptions
public virtual boolbegin()
Initialization of the sensor and determination of the output-mode.
public virtual boolloop()
Is called for every run.
public virtual JsonObject &getValueToSendAsJson(DynamicJsonBuffer & buffer)
Returns the current value of the sensor as Json-object.
public virtual JsonArray &getTypeAsJson(DynamicJsonBuffer & buffer)
Returns the type of the sensor as Json-object.
Members
Initialization of the sensor and determination of the output-mode.
Parameters
TRUESuccessful initializationFALSESensor 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
EmptyEEPROMclass EmptyEEPROM
: public StorageDeviceSummary
Members
Descriptions
public virtual StringreadFromStorage(String key)
Returns the value to the associated key from memory.
public virtual boolwriteInStorage(String key,String value)
Permanently saves the value with the associated key in memory.
public virtual boolremoveFromStorage(String key)
Removes the value from the memory.
Members
Returns the value to the associated key from memory.
Parameters
keykey of the value
Returns
value
Permanently saves the value with the associated key in memory.
Parameters
TRUEValue saved successfullyFALSEValue could't be saved
Removes the value from the memory.
Parameters
TRUEValue removed successfullyFALSEValue could't be removed
class EmptyTestRadioDevice
EmptyTestRadioDeviceclass EmptyTestRadioDevice
: public RadioDeviceSummary
Members
Descriptions
publicEmptyTestRadioDevice()
public virtual boolbegin()
Initialization of radio module.
public virtual boolloop()
Is called for every run.
public virtual boolstartRadioDevice()
Radio module is started.
public virtual boolstopRadioDevice()
Radio module is stopped.
public virtual intgetMaxMessageLength()
Returns the maximum length of the messages that can be sent by the radio module.
public virtual JsonVariantgetTypeAsJson(DynamicJsonBuffer & buffer)
Returns the type of the radio module as Json-object.
public virtual JsonObject &getConfigAsJson(DynamicJsonBuffer & buffer)
Returns the configuration of the radio module as Json-object.
public virtual voidsetServerConfig(JsonObject & jsonConfig)
Sets the configuration of the radio module.
public virtual boolsendMessage(String & buffer)
Sends the message to the server.
public virtual boolconnect()
The connection to the server is being established.
Members
Initialization of radio module.
Parameters
TRUESuccessful initializationFALSERadio module could not be initialized
Is called for every run.
Radio module is started.
Parameters
TRUESuccessful startFALSERadio module could not be started
Radio module is stopped.
Parameters
TRUESuccessful StopFALSERadio 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
jsonConfigconfiguration of the radio module
Sends the message to the server.
Parameters
bufferthe sending message
Parameters
TRUEMessage sent successfullyFALSEMessage could not be sent
The connection to the server is being established.
Parameters
TRUEConnection is established successfullyFALSEConnection could not be established
class PullUpSetupButtonDevice
PullUpSetupButtonDeviceclass PullUpSetupButtonDevice
: public SetupButtonDeviceSummary
Members
Descriptions
publicPullUpSetupButtonDevice(int buttonPin)
public virtual boolbegin()
Initialization of the button and determination of the input-mode for the button.
public virtual boolloop()
Is called for every run.
public virtual boolisPressed()
Returns, if the button is pressed.
Members
Initialization of the button and determination of the input-mode for the button.
Parameters
TRUEInitialization successfulFALSEButton could not be initialized
Is called for every run.
Returns, if the button is pressed.
Parameters
TRUEButton is pressedFALSEButton is not pressed
class RadioDevice
RadioDeviceSummary
Members
Descriptions
public boolbegin()
Initialization of radio module.
public boolloop()
Is called for every run.
public boolstartRadioDevice()
Radio module is started.
public boolstopRadioDevice()
Radio module is stopped.
public intgetMaxMessageLength()
Returns the maximum length of the messages that can be sent by the radio module.
public JsonVariantgetTypeAsJson(DynamicJsonBuffer & buffer)
Returns the type of the radio module as Json-object.
public JsonObject &getConfigAsJson(DynamicJsonBuffer & buffer)
Returns the configuration of the radio module as Json-object.
public voidsetServerConfig(JsonObject & jsonConfig)
Sets the configuration of the radio module.
public boolsendMessage(String & buffer)
Sends the message to the server.
public boolconnect()
The connection to the server is being established.
Members
Initialization of radio module.
Parameters
TRUESuccessful initializationFALSERadio module could not be initialized
Is called for every run.
Radio module is started.
Parameters
TRUESuccessful startFALSERadio module could not be started
Radio module is stopped.
Parameters
TRUESuccessful StopFALSERadio 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
jsonConfigconfiguration of the radio module
Sends the message to the server.
Parameters
bufferthe sending message
Parameters
TRUEMessage sent successfullyFALSEMessage could not be sent
The connection to the server is being established.
Parameters
TRUEConnection is established successfullyFALSEConnection could not be established
class SensorBoardDevice
SensorBoardDeviceSummary
Members
Descriptions
publicSensorBoardDevice()
public~SensorBoardDevice()
public boolbegin()
Initialization of the sensor-board.
public boolloop()
This method is run through in every loop in the ino-file.
public boolsendMessage(String & buffer)
Sending a message via the radio-module.
publicStatusDevice&getStatus()
Returns the device for the output of the status.
public voidsetStatus(StatusDevice& status)
Sets the device for the output of the status.
publicSetupButtonDevice&getSetupButton()
Returns the button that starts the setup-mode.
public voidsetSetupButton(SetupButtonDevice& setupButton)
Sets the button that starts the setup-mode.
publicRadioDevice&getRadioModul()
Returns the radio-module that is used for the connection to the bridge.
public voidsetRadioModul(RadioDevice& radioModul)
Sets the radio-module that is used for the connection to the bridge.
publicSensorDevice&getSensor()
Returns the sensor that is installed on the sensor-board.
public voidsetSensor(SensorDevice& sensor)
Sets the sensor that is installed on the sensor-board.
publicStorageDevice&getStorageDevice()
Returns the memory, which stored the data permanently.
public voidsetStorageDevice(StorageDevice& storage)
Sets the memory, which stored the data permanently.
public Stream &getConnectionStream()
Returns the http-connection that is used for the connection to the gateway.
public voidsetConnectionStream(Stream * stream)
Sets the http-connection that is used for the connection to the gateway.
public intgetSetupModePressTime()
Returns the amount of seconds that the button needs to be pressed to enter the setup-mode.
public voidsetSetupModePressTime(int pressTime)
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.
public intgetResetPressTime()
Returns the amount of seconds that the button needs to be pressed to enter the reset-mode.
public voidsetResetPressTime(int pressTime)
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.
public char *getUuid()
Returns the UUID of the device.
public voidsetUuid(const char * uuid)
Sets the UUID of the device.
public boolisInSetupMode()
Indicating if the sensor-board is in setup-mode.
public JsonObject &getContextAsJson(JsonBuffer & buffer)
Returns the JsonLD-context of the Sensor-Board.
Members
Initialization of the sensor-board.
Parameters
TRUESuccessful initializationFALSESensor-Board could not be initialized
This method is run through in every loop in the ino-file.
Parameters
TRUEMethod ran through successfullyFALSEMethod failed to run through
Sending a message via the radio-module.
Parameters
bufferThe message to be sent
Parameters
TRUEMessage was sent successfullyFALSEMessage 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
statusStatusDevice to be set
Returns the button that starts the setup-mode.
Returns
setupButton
Sets the button that starts the setup-mode.
Parameters
setupButtonSetupButton 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
radioModulRadio-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
sensorSensor to be set
Returns the memory, which stored the data permanently.
Returns
storage
Sets the memory, which stored the data permanently.
Parameters
storageto 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
connectionHttpConnection 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
pressTimeTime 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
pressTimeTime in seconds
Returns the UUID of the device.
Returns
uuid
Sets the UUID of the device.
Parameters
uuidUUID to be set
Indicating if the sensor-board is in setup-mode.
Parameters
TRUESensor-Board is in setup-modeFALSESensor-Board is not in setup-mode
Returns the JsonLD-context of the Sensor-Board.
Returns
context as JsonObject
class SensorDevice
SensorDeviceSummary
Members
Descriptions
public boolbegin()
Initialization of the sensor and determination of the output-mode.
public boolloop()
Is called for every run.
public JsonObject &getValueToSendAsJson(DynamicJsonBuffer & buffer)
Returns the current value of the sensor as Json-object.
public JsonArray &getTypeAsJson(DynamicJsonBuffer & buffer)
Returns the type of the sensor as Json-object.
Members
Initialization of the sensor and determination of the output-mode.
Parameters
TRUESuccessful initializationFALSESensor 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
SetupButtonDeviceSummary
Members
Initialization of the button and determination of the input-mode for the button.
Parameters
TRUEInitialization successfulFALSEButton could not be initialized
Is called for every run.
Returns, if the button is pressed.
Parameters
TRUEButton is pressedFALSEButton is not pressed
class SingleLedStatusDevice
SingleLedStatusDeviceclass SingleLedStatusDevice
: public StatusDeviceSummary
Members
Descriptions
publicSingleLedStatusDevice(int ledPin)
public virtual boolbegin()
Initialization of the status and definition of the output-mode.
public virtual boolloop()
Is called in every turn and returns the current status.
Members
Initialization of the status and definition of the output-mode.
Parameters
TRUESuccessful initializationFALSEStatus could not be initialized
Is called in every turn and returns the current status.
class StatusDevice
StatusDeviceSummary
Members
Initialization of the status and definition of the output-mode.
Parameters
TRUESuccessful initializationFALSEStatus 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
Stm32EEPROMclass Stm32EEPROM
: public StorageDeviceSummary
Members
Descriptions
public virtual StringreadFromStorage(String key)
Returns the value to the associated key from memory.
public virtual boolwriteInStorage(String key,String value)
Permanently saves the value with the associated key in memory.
public virtual boolremoveFromStorage(String key)
Removes the value from the memory.
Members
Returns the value to the associated key from memory.
Parameters
keykey of the value
Returns
value
Permanently saves the value with the associated key in memory.
Parameters
TRUEValue saved successfullyFALSEValue could't be saved
Removes the value from the memory.
Parameters
TRUEValue removed successfullyFALSEValue could't be removed
class STM32SensorBoard
STM32SensorBoardclass STM32SensorBoard
: public SensorBoardDeviceSummary
Members
Descriptions
Members
class StorageDevice
StorageDeviceSummary
Members
Descriptions
public StringreadFromStorage(String key)
Returns the value to the associated key from memory.
public boolwriteInStorage(String key,String value)
Permanently saves the value with the associated key in memory.
public boolremoveFromStorage(String key)
Removes the value from the memory.
Members
Returns the value to the associated key from memory.
Parameters
keykey of the value
Returns
value
Permanently saves the value with the associated key in memory.
Parameters
TRUEValue saved successfullyFALSEValue could't be saved
Removes the value from the memory.
Parameters
TRUEValue removed successfullyFALSEValue could't be removed
Generated by Moxygen
Last updated