Configuration and Setup
A number of flexible and easy-to-use options are available to set up a module running TruConnect.
Perhaps the most common option used for general setup (and also the most convenient when prototyping) is to use a terminal application and serial interface such as a UART. See Getting Started.
You can save the current variables to flash, so that they persist after reboot, with the save command. ONCE ONLY, you can save a configuration as a factory reset default to OTP memory, with the command:
save factory <BD_ADDR>
<BD_ADDR> argument is required to ensure against accidental use of the command. To find the
<BD_ADDR>, use the
get bl a command.
Once you have used the
save factory command to save a particular configuration, using the fac command results in loading that configuration.
If you have not used
save factory, the variables return to their original default settings.
To return all values to their factory configuration, use the fac command:
The fac command requires the
You can also perform a factory reset by asserting the pin assigned to the GPIO function
factory for 10 seconds through a module reset.
The factory reset pin may be moved to a different pin, but it may NOT be de-assigned.
On the Wahoo evaluation board, the
factory reset pin defaults to GPIO 6 (Button 1).
GPIOs are configured with the commands gfu, gdi, gse, and gge. GPIO configuration and initialization is also saved by the save command.
GPIO configuration and usage is available using the get gp u command sequence.
See Peripherals, GPIOs.