Update Reference.md
This commit is contained in:
parent
db80dab963
commit
a8883c911d
|
|
@ -303,6 +303,11 @@ The following **optional** `homeSpan` methods provide additional run-time functi
|
||||||
* example: `homeSpan.resetIID(100)` causes HomeSpan to set the IID to 100 for the very next Service or Characteristic defined within the current Accessory, and then increment the IID count going forward so that any Services or Characteristics subsequently defined (within the same Accessory) have IID=101, 102, etc.
|
* example: `homeSpan.resetIID(100)` causes HomeSpan to set the IID to 100 for the very next Service or Characteristic defined within the current Accessory, and then increment the IID count going forward so that any Services or Characteristics subsequently defined (within the same Accessory) have IID=101, 102, etc.
|
||||||
* note: calling this function only affects the IID generation for the current Accessory (the count will be reset to IID=1 upon instantiation of a new Accessory)
|
* note: calling this function only affects the IID generation for the current Accessory (the count will be reset to IID=1 upon instantiation of a new Accessory)
|
||||||
|
|
||||||
|
* `const_iterator controllerListBegin()` and `const_iterator controllerListEnd()`
|
||||||
|
* respectively returns constant iterators pointing to the beginning (*cbegin()*) or end (*cend()*) of an opaque linked list that stores all controller data
|
||||||
|
* primarily used to loop through all controller data
|
||||||
|
* use `auto` keyword to define and save an iterator as such: `for(auto it=homeSpan.controllerListBegin(); it!=homeSpan.controllerListEnd(); ++it) {}`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The following `homeSpan` methods are considered experimental, since not all use cases have been explored or debugged. Use with caution:
|
The following `homeSpan` methods are considered experimental, since not all use cases have been explored or debugged. Use with caution:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue