mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Bridge: added put(..) method with String variant
This commit is contained in:
parent
d4753eed46
commit
ad280d5d8b
@ -29,6 +29,8 @@ public:
|
||||
|
||||
// Methods to handle key/value datastore
|
||||
void put(const char *key, const char *value);
|
||||
void put(const String &key, const String &value)
|
||||
{ put(key.c_str(), value.c_str()); }
|
||||
unsigned int get(const char *key, uint8_t *buff, unsigned int size);
|
||||
unsigned int get(const char *key, char *value, unsigned int maxlen)
|
||||
{ get(key, reinterpret_cast<uint8_t *>(value), maxlen); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user