Deletes an NV memory item.
NV item identifier.
Reads extended table entry (used by Z-Stack 3.x+). NV tables within newer Z-Stack releases include 16-bit subId
identifying table entries.
SimpleLink system identifier.
NV item identifier.
Entry index.
Optional
offset: numberData offset to read from.
Optional
offset: numberOptional
useStruct: MemoryObjectFactory<T>Reads a variable-length item from NV memory and returns buffer object. Read can be offset as required.
NV item identifier.
Optional
offset: numberDesired data offset to read from.
Reads a variable-length item from NV memory and creates a builds a requested struct.
NV item identifier.
Optional
offset: numberDesired data offset to read from.
Optional
useStruct: MemoryObjectFactory<T>Struct factory to use to wrap the data in.
Reads a legacy NV table at defined index into raw Buffer
object array. Providing maximum
length is necessary in order to prevent invalid memory access.
Only legacy mode is supported with this signature.
The item index at which the table starts.
Maximum number of items the table may contain.
Reads a legacy table at defined index into a table structure covering struct entries. Providing maximum length is necessary in order to prevent invalid memory access.
Only legacy mode is supported with this signature.
The item index at which the table starts.
Maximum number of items the table may contain.
Optional
useTable: MemoryObjectFactory<T>Table factory to spawn a table and populate with retrieved data.
Reads an extended (Z-Stack 3.x.0+) table into raw Buffer
object array.
Maximum length is optional since the table boundary can be detected automatically.
Only extended mode is supported with this signature.
SimpleLink system identifier.
Extended table NV index.
Optional
maxLength: numberMaximum number of entries to load from the table.
Reads an extended (Z-Stack 3.x.0+) table into a table structure covering struct entries. Maximum length is optional since the table boundary can be detected automatically.
Only extended mode is supported with this signature.
SimpleLink system identifier.
Extended table NV index.
Optional
maxLength: numberMaximum number of entries to load from the table.
Optional
useTable: MemoryObjectFactory<T>Table factory to spawn a table and populate with retrieved data.
Determines whether NV item is different from provided data and updates if necessary.
NV item identifier.
Desired NV item value.
Whether NV item should be automatically initialized if not present.
Writes extended table entry (user by Z-Stack 3.x+). NV tables within newer Z-Stack releases include 16-bit subId
identifying table tnreis.
SimpleLink system identifier.
NV item identifier.
Entry index.
Data to write to the table.
Optional
offset: numberOffset to write at.
Whether non-existent entry should be automatically initialized.
Writes data to adapter NV memory. Method fails if write fails.
NV item identifier.
Data to be written.
Offset within NV item to write the data.
Whether NV item should be automatically initialized if not present.
Writes a struct-based table structure into a legacy NV memory position.
Only legacy mode is supported with this signature.
Start NV item index.
Table structure to write to NV memory.
Writes a struct-based table structure into an extended NV memory position.
Only extended mode is supported with this signature.
SimpleLink system identifier.
Extended table NV item index.
Table structure to write to NV memory.
Adapter non-volatile memory instrumentation. This class provides interface to interact with ZNP adapter's NV memory. Provided functionality covers basic operations from reading, writing and deleting keys to extended table manipulation.