We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4753ee commit ad280d5Copy full SHA for ad280d5
hardware/arduino/avr/libraries/Bridge/Bridge.h
@@ -29,6 +29,8 @@ class BridgeClass {
29
30
// Methods to handle key/value datastore
31
void put(const char *key, const char *value);
32
+ void put(const String &key, const String &value)
33
+ { put(key.c_str(), value.c_str()); }
34
unsigned int get(const char *key, uint8_t *buff, unsigned int size);
35
unsigned int get(const char *key, char *value, unsigned int maxlen)
36
{ get(key, reinterpret_cast<uint8_t *>(value), maxlen); }
0 commit comments