Difference between revisions of "USB Config Files"

From Idrive
Jump to navigation Jump to search
Line 77: Line 77:
 
#ReadRegistru(FF_WU_ACK);
 
#ReadRegistru(FF_WU_ACK);
 
0x32  0x00  0x01
 
0x32  0x00  0x01
 +
</pre>
 +
 +
<br>
 +
 +
==size.cfg for X1P==
 +
 +
<pre>
 +
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
 +
</pre>
 +
 +
<br>
 +
 +
==wifi-settings.cfg==
 +
 +
Wifi Configuration settings
 +
 +
<br>
 +
 +
==wpa.cfg==
 +
 +
Updates the wifi configuration
 +
 +
<pre>
 +
 +
ctrl_interface=DIR=/var/run/wpa_supplicant
 +
update_config=1
 +
 
</pre>
 
</pre>
  
 
<br>
 
<br>

Revision as of 23:42, 15 February 2019

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


wpa.cfg

Updates the wifi configuration


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