
Page 32 of 42
7.6. JSON configuration format
The raw JSON configuration file format is shown below for the v5 configuration file format.
{
"version": number,
"system": {
"deviceName": string
},
"gps": {
"lastKnownPosition": { # Last known GPS location recorded with date and time (read-only)
"accuracyHorizontal": number,
"accuracyVertical": number,
"height": number,
"iTOW": number,
"latitude": number,
"longitude": number,
"day": number,
"month": number,
"year": number,
"hours": number,
"minutes": number,
"seconds": number,
},
"logPositionEnable": boolean, # GPS position logging enable
"logTTFFEnable": boolean, # GPS TTFF logging enable
"logDebugEnable": boolean, # GPS debug event logging
"maximumAcquisitionTime": number, # Maximum GPS acqusition on-time (0=>indefinite)
"scheduledAcquisitionInterval": number, # GPS scheduling period (0=>continuous)
"scheduledAcquisitionNoFixTimeout": number, # GPS no-fix timeout period (0=>indefinite)
"testFixHoldTime": number,
# Hold period after test GPS fix before shutting down (0=>disabled)
"maxFixes": number,
# Maximum number of fixes to allow in the acquisition period
(0=>unlimited, 1=>1 fix, etc)
# NOTE: This field has no effect when processing the test fix
hold time.
"mode": string
# One of { "SWITCH_TRIGGERED", "SCHEDULED", "HYBRID", "ONE_SHOT" }
},
"rtc": {
"syncToGPS": boolean,
"dateTime": string # Should accept any reasonable time string e.g., "Wed, 21 Feb 2018
16:17:13 GMT"
},
"logging": {
"enable": boolean,
# Global logging enable/disable
"bytesWritten": number,
# This attribute is read only
"fileSize": number,
# This attribute is read only
"fileType": string,
# This attribute is read only (LINEAR or CIRCULAR)
"groupSensorReadingsEnable": boolean, # Try to group log entries with a single timestamp entry
"syncFramingEnable": boolean,
# This attribute is read only
"hrtEnable": boolean,
# Reserved for future use
"dateTimeEnable": boolean,
# Should accept any reasonable time string e.g., "Wed, 21 Feb 2018
16:17:13 GMT"
},
"saltwaterSwitch": {
"logEnable": boolean, # Log enable/disable of saltwater switch submerged and surfaced event
transitions
"hysteresisPeriod": number # Required settling period in seconds for debouncing switch closed
events (0=>no debouncing)
},
"bluetooth": {
"deviceAddress": string,
# Format shall be "xx:xx:xx:xx:xx:xx" and the upper 2 most MSBs must
be set to 1.
"triggerControl": [ string ], # Permitted options are "REED_SWITCH", "SCHEDULED", "GEOFENCE",
"ONE_SHOT"
"scheduledInterval": number, # Scheduling period in seconds; 0=>CONTINUOUS
"scheduledDuration": number, # Scheduled duration in seconds; 0=>INDEFINITE
"advertisingInterval": number, # Expressed in units of 0.625 ms
"connectionInterval": number, # Expressed in units of 1.25 ms
Arribada Horizon ARTIC R2 Developer’s Kit | User Manual