|
void | loop () |
|
void | id (uint8_t *pid) |
|
void | name (const char *pname) |
|
void | server (char pname[]) |
|
void | apiKey (char pname[]) |
|
void | resetPin (byte pin) |
|
const char * | name () |
|
void | ip (uint8_t n1, uint8_t n2, uint8_t n3, uint8_t n4) |
|
void | begin (unsigned long baud) |
|
void | begin (Stream &stream) |
|
void | begin (HardwareSerial &serial, unsigned long baud) |
|
void | _afterBegin () |
|
void | begin () |
|
void | begin (DeviceConnection &deviceConnection) |
|
void | checkSensorsStatus () |
|
void | enableKeepAlive (bool val=false) |
|
void | showFreeRam () |
|
void | reset () |
|
void | enableDebug (uint8_t debugTarget=DEBUG_SERIAL) |
|
void | send (Command cmd) |
|
void | debug (const char str[], unsigned long value=-1) |
|
Device * | addSensor (const char *name, uint8_t pin, Device::DeviceType type, uint8_t targetID) |
|
Device * | addSensor (const char *name, uint8_t pin, Device::DeviceType type) |
|
Device * | addSensor (const char *name, Device &sensor) |
|
Device * | addSensor (const char *name, Device *sensor) |
|
Device * | addSensor (const char *name, value_t(*function)()) |
|
Device * | addDevice (const char *name, uint8_t pin, Device::DeviceType type, bool sensor, uint8_t id) |
|
Device * | addDevice (const char *name, uint8_t pin, Device::DeviceType type) |
|
Device * | addDevice (Device &device) |
|
Device * | addDevice (const char *name, Device &device) |
|
bool | addCommand (const char *name, void(*function)()) |
|
Device * | getDevice (uint8_t) |
|
Device * | getDeviceAt (uint8_t) |
|
uint8_t * | generateID (uint8_t apin=0) |
|
void | setValue (uint8_t id, value_t value) |
|
void | sendValue (Device *device) |
|
void | toggle (uint8_t index) |
|
void | sendToAll (value_t value) |
|
void | load () |
|
void | save () |
|
void | clear () |
|
void | printStorageSettings () |
|
bool | isConnected () |
|
void | setConnected (bool val) |
|
String | readString () |
|
int | readInt () |
|
long | readLong () |
|
float | readFloat () |
|
int | readIntValues (int values[], int max=-1) |
|
int | readLongValues (long values[], int max=-1) |
|
int | readFloatValues (float values[], int max=-1) |
|
void | onMessageReceivedImpl () |
|
Main point of device configuration and management in firmware. Several settings can be made through the file: config.h The automatic configuration system is implemented in this file in conjunction with dependencies.h
- Author
- Ricardo JL Rufino
- Date
- 27/06/2014
int OpenDeviceClass::readIntValues |
( |
int |
values[], |
|
|
int |
max = -1 |
|
) |
| |
|
inline |
Can read single value list like: [1,2,3,4] If you need to read two different arrays like: [1,2,3];[5,2,3,4] call the method 'readIntValues' twice