Changing_Device_Settings

Changing Device Settings

This section gives an example of how the data is structured by the device when a request is made for the device parameters. These parameters are broken down into 5 different components so that redundant tags can be used.

For more detailed information, refer to the ENGAGE - SAM API Integration document.

Example Data Structure

When a mobile device connects to a device, the device reports a set of parameters to the mobile device. This is an example of the data structure that would be returned by the device.

{
   "dvcProfile":
   {
           "baseType":"nde",
           "key":"NewAPCfg",
           "value":"1"
   },
   "battV":
   {
           "main":"5.87",
           "li":"2.99"
   },
   "fwVer":
   {
           "main":"01.03.11",
           "credRdr":"01.02.10",
           "ble":"01.02.10",
           "wifi":"01.05.10",
           "mainBl":"00.01.03",
           "credRdrBl":"00.01.01"
   },
   "wifiStngs":
   {
           "ssid":"01.03.11",
           "psswd":"\@113G10N",
           "usrNm":"Br549",
           "wifiSec":"entrprs",
           "encrypt":"wep",
           "kyIndx":4,
           "dscvryTyp":"ipAddr",
           "scrCnn": "http",
           "ip":"196.23.43.113",
           "dns":"firstChoice",
           "altDNS":"secondChoice"
   },
   "apCfgNew":
   {
           "apCfgNewEn":"T",
           "ssidNew":"02.04.12",
           "psswdNew":" G10N\@113",
           "usrNmNew":"Cr649",
           "wifiSecNew":"entrprs",
           "apCfgNewStrtTm":"20140527160629"
   },
   "lckPrmtrs":
   {
           "nm":"corner office",
           "mdl": "nde",
           "lckSn":"1122334455",
           "mnSn":"2233445566",
           "mfgDt":"20140607",
           "daysInUse":145,
           "hwVer":"c1",
           "type":"strm",
           "relock":1,
           "doorProp":20,
           "ada":30,
           "firstManIn":0,
           "dstEnable":0,
           "dstStart": "3022",
           "dstEnd": "B012",
           "battFail": "sec",
           "rtcTime": "20140527140629",
           "dbDwnLdTm":"20140528020000"
   },
   "rdrPrmtrs":
   {
           "bprEn": "T",
           "sn":"4455667788",
           "mfgDt":"20140607",
           "daysInUse":145,
           "hwVer":"c1"
   }
}