<< Click to Display Table of Contents >> Home mIoTa Technical Reference > Power On Sequence > Boot-up Parameters File |
The Parameters File is a human-readable text file with the name 'params.txt' that should be stored in the root of the SD-Card.
This file can contain setup values for any of the mIoTa's writeable O/S variables as well as all of the User variables.
At switch on, the mIoTa looks for the Parameters File on the SD-Card. If the file exists then it's loaded and the contents of the file are parsed and the variables set accordingly.
The value for each variable are written as per mIoTa BASIC variable assignments but without the semicolon ';' at the end of the line. A single slash '/' can be used for comments if required to annotate the values for readability or to disable settings by placing the slash at the beginning of the line.
Note:The variable must be expressed as per the mIoTa's normal letter plus number naming convention, mIoTa BASIC 'Friendly Names' cannot be used!
Here is an example Parameters File contents ....
/ **** Ethernet Settings ('E' Prefix) **** E0 = @192.168.0.100/ IPV4 IP address E1 = @255.255.255.0 / Subnet Mask E2 = @192.168.0.1 / Gateway IP address E3 = @192.168.0.1 / Primary DNS IP address E6 = 'My-mIoTa' / NetBIOS name E7 = 0 / DCHP OFF
/ **** Wifi Settings ('W' Prefix) **** W0 = 'MyNetwork' / Wireless SSID (upto 32 characters) W1 = 'MyPassword' / Security Key
W8 = 'My-mIoTa' / NetBIOS name W9 = 1 / DCHP ON
/ ** My User Variable Settings ** U5 = 1234 / A numerical variable /U6 = #28FF18CD67140344 / this setting will be discarded because of the '/' at the beginning U8 = 'Hello World' / A string variable |