User's Guide

4.1.7. attr
Description
Used to show/modify attributes.
Usage
attr [ -a | -s | -t | -h | -v ] to show attributes, -a for all, -s for all sensors, -t for all tags
attr [ nodeid ] attrib_name [ attrib_value ] to show or modify a specific attribute;
if nodeid is not specified, the rtu node is assumed; if an attrib_value is specified,
the attribute with attrib_name from the respective node_id will get the new value,
otherwise the current value will be shown.
Remarks
The -v option appends a CRC on the attribute value; this option is not for
interactive use, rather for test programs operating on the RTU. The -h option
shows a short help text.
Note that only the read/write attributes can be modified, while the volatile
attributes (e.g., assignedIP, telemetry, etc.) and read-only attributes (gsmCCID,
swVersion, etc.) cannot. An attribute successfully modified over the command line
will be also updated on the M2M Gateway at the first successfully connection.
Examples
: attr gsmAllowRoaming
true
: attr gsmAllowRoaming false
: attr -s
*** sensor ID (index): 79630 (0)
type: Intern
acquisitionMode: 2
acquisitionSchedule: 0
info: M717 rev. C Internal Sensor
lastDate: Mon Jun 29 15:00:00 2020
putdataDate: Mon Jun 29 15:00:00 2020
*** sensor ID (index): 77178 (1)
type: SDI-12
acquisitionMode: 2
acquisitionSchedule: */10
sdiAddress: 0
sdiMethod: CC
sdiPostmethod:
sdiDebug: false
sdiInfo: 13 CSL CS215 2.0
lastDate: Mon Jun 29 15:30:00 2020
putdataDate: Thu Jan 1 01:00:00 1970
: attr 77178 sdiMethod
CC
: attr 77178 sdiMethod MC
: attr 77178 sdiMethod
MC
4.1.8. pin
Description
Manage the PIN on the RTU.
Usage
pin [ -v ] [ PIN [ PUK ]] to set the PIN (and PUK)
pin clear to clear both the PIN and the PUK
Remarks
A SIM card is protected by a PIN (Personal Identification Number). This PIN must
be known to the RTU, so that it can enable the SIM card after every start-up. This
19