Devices: RewriteDeviceConfigurationAttempts to completely re-write the specified device's scripting/programming over-the-air

See Also

Usage Notes

Configuration and Provisioning

Below is the format for the XmlParameters node when sending new programming to a modem, or when provisioning it during the initial setup. The order to the nodes does not matter.
An explanation for each node follows the format.

The config node can contain the attribute queue.
queue attribute will save the command for later execution. The system will wait up to an additional 72 hours for the modem to report in normally, and when it does the command will be removed from the queue and executed.

<config queue="?">
<inputs>
<digital number="#" enable="?" />
<digital number="#" enable="?" />
<!-- etc -->
<analog number="#" enable="?" lower="#" upper="#" />
<analog number="#" enable="?" lower="#" upper="#" />
<!-- etc -->
</inputs>
<outputs>
<digital number="#" value="?" />
<digital number="#" value="?" />
<!-- etc -->
<analog number="#" value="#" />
<analog number="#" value="#" />
<!-- etc -->
</outputs>
<severinfo ip="#.#.#.#" port="#" />
<networkinfo id="#" username="" password="" apn="" dialstring="" />
<servicetype>
<motion>
<moving type="" hours="#" minutes="#" seconds="#" />
<stationary type="" hours="#" minutes="#" seconds="#" />
<distance meters="" />
</motion>
<!-- or -->
<periodic>
<interval type="" hours="#" minutes="#" seconds="#" />
</periodic>
<!-- or -->
<track start="HH:mm:ss" end="HH:mm:ss" days="???????" moving="#" stationary="#" />
<!-- or -->
<geofence latitude="#" longitude="#" radius="#">
<inside type="" hours="#" minutes="#" seconds="#" />
<outside type="" hours="#" minutes="#" seconds="#" />
</geofence>
</servicetype>
<misc>
<phone number="#" />
<password enable="?" value="" />
<odometer value="#" />
<enginehours value="#" />
<sleep mode="#" delay="#" wire="#" />
<acceleration enabled="?" threshold="#" />
<deceleration enabled="?" threshold="#" />
</misc>
<obd2>
<battery enable="?" low="#" />
<fuel enable="?" low="%" />
<fuelrate enable="?" high="#" />
<rpm enable="?" high="#" />
<enginetemp enable="?" high="#" />
</obd2>
</config>

Example of Returned Data

<RewriteDeviceConfiguration Success="?" CommandID="#" Message="" />

Test Method

ParameterValueTypeUsage
DeviceIDint32Unique device identifier
XmlParametersstringSee Usage Notes.