# Console Commands for CPF Production Checkout This list of commands will help a user walk through and verify CPF production checkout items in the order listed on the *CPF Production Checkout Form REV2*. ## Getting Started Load the CPFUnitTest Project from the [CPFp3 repository](https://bitbucket.org/mbari/cpfp3) onto the motherboard, default state of the repository should enable the BTModule. The 5V should enable by default. You will need to establish a bluetooth connection to the module onboard, and open the serial port at 115200bps 8N1. Hit enter a few times to wake up the connection and you should get a `CPF>` prompt if everything is working correctly. This should cover the **Motherboard SW Checkout** item on the production list. From here you will be given a series of commands to verify checklist items in the order they appear. Some items require `CTRL-C` interruption, and some will run a short course (<5 minutes) before completing. Some unit tests are unstable, or create hardware locks that cannot be resolved with resetting the controller, which can be accomplished through a power cycle or issuing the command `reboot` if a prompt is available. Another important console function is the `pow` program, which can change power states on devices, `pow `. A `pow` on its own will poll and report all channel power states and print the current device/channel mapping. ## Sensor Functionality Tests ### Bluetooth (SLOT1-J5) * Did you get a prompt? Check! ### CTD (SLOT1-J2) Powers up the CTD and will sample a few points ut ctd pow 1 off ### Pump (SLOT1-J4) Powers up the elmo, and should briefly spin the motor one way, then the other. ut pump ### Iridium (SLOT2-J2-3) Powers up the iridium and attempts to send a number of commands ut iridium ###