Update Reference.md
This commit is contained in:
parent
4270760c40
commit
65f000d65e
|
|
@ -129,11 +129,8 @@ The following **optional** `homeSpan` methods enable additional features and pro
|
|||
* if *s* contains an invalid code, an error will be reported and the code will *not* be saved. Instead, the currently-stored Pairing Code (or the HomeSpan default Pairing Code if no code has been stored) will be used
|
||||
* :exclamation: SECURTY WARNING: Hardcoding a device's Pairing Code into your sketch is considered a security risk and is **not** recommended. Instead, use one of the more secure methods provided by HomeSpan, such as typing 'S \<code\>' from the CLI, or launching HomeSpan's Access Point, to set your Pairing Code without hardcoding it into your sketch
|
||||
|
||||
* void `processSerialCommand(char *c)`
|
||||
* processes the character string *c* as if it were typed into the Arduino Serial Monitor
|
||||
* allows for programmatic calls to [HomeSpan CLI commands](.../CLI.md)
|
||||
* example: `homeSpan.processSerialCommand("V");` deletes the values of all stored Characteristics from the NVS
|
||||
* example: `homeSpan.processSerialCommand("Q id");` changes the QR Code Setup ID to *id* (this is effectively the same as using the `setQRID()` method above)
|
||||
* `deleteStoredValues()`
|
||||
* deletes the value settings of all stored Characteristics from the NVS
|
||||
|
||||
* `void setSketchVersion(const char *sVer)`
|
||||
* sets the version of a HomeSpan sketch to *sVer*, which can be any arbitrary character string
|
||||
|
|
|
|||
Loading…
Reference in New Issue