     // Check for inputs. These functions will call dispatch_command
     // if an input command is read.
     read_serial();
+    process_bluetooth();
     read_bluetooth();
     
     // Check if we need to enter fail-safe mode.

///////////////////////////////////////////////
// BLUETOOTH

// Set up Bluetooth LE hardward.
void setup_bluetooth()
{
    // TODO: Setup Bluetooth hardware.
}

// Check bluetooth for a command. If a command is 
// found, call dispatch_command.
void read_bluetooth()
{
    // TODO: read characters from Bluetooth.
}


///////////////////////////////////////////////

// ef:             Exit fail safe. Once fail-safe mode is entered, you must
//                 use this command to exit.


#include <SPI.h>
#include <boards.h>
#include <RBL_nRF8001.h>
#include <services.h> 

//////////////////////////////////////////////
// UTILITY routines.

