Files
obuspa/websockets_factory_reset_example.txt
Richard Holme e13b8eb48d 2022-06-13: Added USP 1.2 Connect and Disconnect record support
Added
- USP 1.2 Connect and Disconnect record support
- WebSockets example factory reset file

Fixed
- 64 bit signed and unsigned integer parameter values are now
represented with full precision in JSON encoded data (for Bulk Data
Collection reports and Boot! event). To enable the old behavior (which
represented them as floating point doubles) comment out the
REPRESENT_JSON_NUMBERS_WITH_FULL_PRECISION define in vendor_defs.h
- Bulk Data Collection Protocol parameter is validating against old
value, not new value
- Empty Subscription ID should not be allowed

Modified
- MQTT function header comments
2022-06-13 10:13:44 +01:00

56 lines
2.6 KiB
Plaintext

##########################################################################################################
#
# This file contains a factory reset database in text format
#
# If no USP database exists when OB-USP-AGENT starts, then OB-USP-AGENT will create a database containing
# the parameters specified in a text file located by the '-r' option.
# Example:
# obuspa -p -v 4 -r factory_reset_example.txt
#
# Each line of this file contains either a comment (denoted by '#' at the start of the line)
# or a USP data model parameter and its factory reset value.
# The parameter and value are separated by whitespace.
# The value may optionally be enclosed in speech marks "" (this is the only way to specify an empty string)
#
##########################################################################################################
#
# The following parameters will definitely need modifying
#
# Controller's websocket server (for agent initiated sessions)
Device.LocalAgent.Controller.1.EndpointID "self::usp-controller.com"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.Host "usp-controller.com"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.Port "80"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.Path "/usp"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.EnableEncryption "false"
# Agent's websocket server (for controller initiated sessions)
Device.LocalAgent.MTP.1.WebSocket.Port "8080"
Device.LocalAgent.MTP.1.WebSocket.Path "/usp"
Device.LocalAgent.MTP.1.WebSocket.EnableEncryption "false"
#
# The following parameters may be modified
#
Device.LocalAgent.MTP.1.Alias "cpe-1"
Device.LocalAgent.MTP.1.Enable "true"
Device.LocalAgent.MTP.1.Protocol "WebSocket"
Device.LocalAgent.MTP.1.WebSocket.KeepAliveInterval "30"
Device.LocalAgent.Controller.1.Alias "cpe-1"
Device.LocalAgent.Controller.1.Enable "true"
Device.LocalAgent.Controller.1.AssignedRole "Device.LocalAgent.ControllerTrust.Role.1"
Device.LocalAgent.Controller.1.PeriodicNotifInterval "86400"
Device.LocalAgent.Controller.1.PeriodicNotifTime "0001-01-01T00:00:00Z"
Device.LocalAgent.Controller.1.USPNotifRetryMinimumWaitInterval "5"
Device.LocalAgent.Controller.1.USPNotifRetryIntervalMultiplier "2000"
Device.LocalAgent.Controller.1.ControllerCode ""
Device.LocalAgent.Controller.1.MTP.1.Alias "cpe-1"
Device.LocalAgent.Controller.1.MTP.1.Enable "true"
Device.LocalAgent.Controller.1.MTP.1.Protocol "WebSocket"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.KeepAliveInterval "30"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.SessionRetryMinimumWaitInterval "5"
Device.LocalAgent.Controller.1.MTP.1.WebSocket.SessionRetryIntervalMultiplier "2000"
Internal.Reboot.Cause "LocalFactoryReset"