USB Config Files

From Idrive
Jump to navigation Jump to search

USB Configuration Files

ASCII files that can be used to change the X2 configuration using a USB Stick.

To have the camera read the USB stick the idrive.cert must be present


adresa.cfg - Sets Base Station Address

192.168.0.10 is default


ip.cfg - Sets IP Address & Netmask of the camera

192.168.0.11 - 192.168.254.254 Standard IP Address Range

255.255.0.0 Standard Network Mask

Note: If the device is run through factory tool the setting will reset to what is set in AC


limit.cfg

Not sure


mac.cfg - changes the MAC Address for the Wifi

00127B4B5F4E


port.cfg - Sets the Port for transfers

9090


reg1.cfg

Not Sure


router.cfg - Sets SSID for Wifi connection (X1 Only)

bwifi is the default

Note: For X2 see wifi-settings.cfg


shock.cfg - Setting of G-force in old X1

#//eveniment pe acceleratie
#WriteRegistru(CTRL_REG1,0x87);
0x20  0x85  0x00
#WriteRegistru(CTRL_REG2,0x88);
0x21  0x08  0x00
#WriteRegistru(CTRL_REG3,0x22);
0x22  0x22  0x00
#WriteRegistru(FF_WU_THS_L, 0x99);
0x34  0x99  0x00
#WriteRegistru(FF_WU_THS_H, 0x29);
0x35  0x29  0x00
#WriteRegistru(FF_WU_DURATION, 0x00);
0x36  0x00  0x00
#ReadRegistru(HP_FILTER_RESET); //dummy read
0x23  0x00  0x01
#WriteRegistru(FF_WU_CFG, 0x4A);
0x30  0x62	0x00
#ReadRegistru(FF_WU_ACK);
0x32  0x00  0x01


size.cfg for X1P

15,0.70,0.30  shock
0  door
0  panic
15 wpanic
0  alarm
3  shutdown
3  start
1001000000
0,4,1,120,120
0,4,52.14,5
0,4,69.52,5
0
3,0,0


wifi-settings.cfg

Wifi Configuration settings

[{
"ap_scan":false,
"priority": 0,
"ssid":"\"bwifi\"",
"key_mgmt":"NONE",
"scan_ssid":"1"
},
{
"priority": 1,
"ssid":"\"bwifi5g\"",
"scan_ssid":"1",
"key_mgmt":"WPA-PSK",
"proto":"WPA RSN",
"pairwise":"CCMP TKIP",
"group":"CCMP TKIP",
"psk":"895a426a1cef3bd98bbc6bb6a7d057b046a3edf2c375ebfc4f41f2230fac3875"
}]


wpa.cfg

Updates the wifi configuration


ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1