   APP_ERROR_CHECK(err_code);
 }
 
+
+/*******************************************************************************
+* BLE Loop
+*******************************************************************************/
 void loop(void)
 {
   ble.waitForEvent();



/*******************************************************************************
 * Convert MIDI Data to MIDI-BLE Packets
*/


/*******************************************************************************
 * Convert USB Host debug info to Hex
 *******************************************************************************/
void print_hex(int v, int num_places)

          E_Notify(PSTR("\r\nError reading device descriptor. Error code "), 0x80);
          // print_hex(rcode, 8);
        }
        else
        {
          E_Notify(PSTR("\r\nDescriptor Length:\t"), 0x80);
          print_hex(buf.bLength, 8);
          E_Notify(PSTR("\r\nDescriptor type:\t"), 0x80);
