... | @@ -20,7 +20,7 @@ Defines maximum length for a Readingname (MAXLEN\_RN) and for a Device name (MAX |
... | @@ -20,7 +20,7 @@ Defines maximum length for a Readingname (MAXLEN\_RN) and for a Device name (MAX |
|
|
|
|
|
If the identifier starts with a dot `.`, it's considered to be an
|
|
If the identifier starts with a dot `.`, it's considered to be an
|
|
internal identifier and is treated differently in visualization,
|
|
internal identifier and is treated differently in visualization,
|
|
i.e. hidden. The leading . is not included in MAXLEN\_RN length
|
|
i.e. hidden. The leading `.` is not included in MAXLEN\_RN length
|
|
considerations.
|
|
considerations.
|
|
|
|
|
|
For valid identifiers a true value is returned, false otherwise. This
|
|
For valid identifiers a true value is returned, false otherwise. This
|
... | @@ -31,7 +31,13 @@ Defines maximum length for a Readingname (MAXLEN\_RN) and for a Device name (MAX |
... | @@ -31,7 +31,13 @@ Defines maximum length for a Readingname (MAXLEN\_RN) and for a Device name (MAX |
|
- **makeReadingName** (positional)
|
|
- **makeReadingName** (positional)
|
|
|
|
|
|
$validName = makeReadingName($name);
|
|
$validName = makeReadingName($name);
|
|
This function removes from given Readingname $name all invalid characters and replaces them with the underscore \_. Also, if the Readingname is longer than MAXLEN\_RN it is pruned to this maximum length. The return value $validName is a Readingname that has only valid characters in it (see goodReadingName). If $name was already valid, $validName equals $name.
|
|
|
|
|
|
This function removes from given Readingname $name all invalid
|
|
|
|
characters and replaces them with the underscore \_. Also, if the
|
|
|
|
Readingname is longer than MAXLEN\_RN it is pruned to this maximum
|
|
|
|
length. The return value $validName is a Readingname that has only
|
|
|
|
valid characters in it (see goodReadingName). If $name was already
|
|
|
|
valid, $validName equals $name.
|
|
|
|
|
|
- **ReadingsAge** (positional)
|
|
- **ReadingsAge** (positional)
|
|
- **ReadingsNum** (positional)
|
|
- **ReadingsNum** (positional)
|
... | | ... | |