diff --git a/README.md b/README.md index 7b8810f..cd69782 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,19 @@ #ble-sdk-arduino Bluetooth low energy SDK for Arduino (uses the nRF8001 from [Nordic Semiconductor](https://www.nordicsemi.com/ "Go to Nordic semiconductors homepage")). -This has been tested using the Arduino UNO, Mega and Leaonardo boards with the nRF2740/nRF2741 module or the Bluetooth low energy shield from Redbearlab. +This has been tested using the Arduino UNO, Mega and Leaonardo boards with the nRF2740/nRF2741 module or the Bluetooth low energy shield from RedBearLab. The shield is available from seeedstudio and makershed. ##Contents -The BLE folder in \libraries\ contains the ported bluetooth library (ACI library) and an example project folder. -This folder (BLE) should be extracted into the Arduino "libraries" folder. +The folder \src\ contains the ported bluetooth library (ACI library) and an example project folder \examples\. +This SDK should be extracted or import into the Arduino "libraries" folder. + +* See [this](http://www.arduino.cc/en/Guide/Libraries) for more details about installing libraries. ####Start using the SDK 1. Download the SDK by clicking "Download ZIP" at the bottom of the right side menu. -2. Unzip the file. -3. In the arduino IDE, click 'Sketch' and choose 'Import library' and 'Add Library...' -4. From the ble-sdk-arduino folder, choose to import the \libraries\BLE folder. +2. In the arduino IDE, click 'Sketch' and choose 'Import library' and 'Add .ZIP Library...' +3. Choose the zip file just downloaded to import. ####When using the Bluetooth low energy shield v.1.1 or v.2012.07: Plug the Bluetooth low energy shield onto the Arduino. Set the "Default Handshaking" switch to ON. diff --git a/libraries/BLE/examples/ble_ANCS_template/ANCS_setup.xml b/examples/ble_ANCS_template/ANCS_setup.xml similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/ANCS_setup.xml rename to examples/ble_ANCS_template/ANCS_setup.xml diff --git a/libraries/BLE/examples/ble_ANCS_template/alert_level_characteristic.h b/examples/ble_ANCS_template/alert_level_characteristic.h similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/alert_level_characteristic.h rename to examples/ble_ANCS_template/alert_level_characteristic.h diff --git a/libraries/BLE/examples/ble_ANCS_template/ancs.cpp b/examples/ble_ANCS_template/ancs.cpp similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/ancs.cpp rename to examples/ble_ANCS_template/ancs.cpp diff --git a/libraries/BLE/examples/ble_ANCS_template/ancs.h b/examples/ble_ANCS_template/ancs.h similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/ancs.h rename to examples/ble_ANCS_template/ancs.h diff --git a/libraries/BLE/examples/ble_ANCS_template/ble_ANCS_template.ino b/examples/ble_ANCS_template/ble_ANCS_template.ino similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/ble_ANCS_template.ino rename to examples/ble_ANCS_template/ble_ANCS_template.ino diff --git a/libraries/BLE/examples/ble_ANCS_template/immediate_alert.cpp b/examples/ble_ANCS_template/immediate_alert.cpp similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/immediate_alert.cpp rename to examples/ble_ANCS_template/immediate_alert.cpp diff --git a/libraries/BLE/examples/ble_ANCS_template/immediate_alert.h b/examples/ble_ANCS_template/immediate_alert.h similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/immediate_alert.h rename to examples/ble_ANCS_template/immediate_alert.h diff --git a/libraries/BLE/examples/ble_ANCS_template/link_loss.cpp b/examples/ble_ANCS_template/link_loss.cpp similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/link_loss.cpp rename to examples/ble_ANCS_template/link_loss.cpp diff --git a/libraries/BLE/examples/ble_ANCS_template/link_loss.h b/examples/ble_ANCS_template/link_loss.h similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/link_loss.h rename to examples/ble_ANCS_template/link_loss.h diff --git a/libraries/BLE/examples/ble_ANCS_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_ANCS_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_ANCS_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_ANCS_template/services.h b/examples/ble_ANCS_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/services.h rename to examples/ble_ANCS_template/services.h diff --git a/libraries/BLE/examples/ble_ANCS_template/services_lock.h b/examples/ble_ANCS_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/services_lock.h rename to examples/ble_ANCS_template/services_lock.h diff --git a/libraries/BLE/examples/ble_ANCS_template/ublue_setup.gen.out.txt b/examples/ble_ANCS_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_ANCS_template/ublue_setup.gen.out.txt rename to examples/ble_ANCS_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/Hello_World.xml b/examples/ble_A_Hello_World_Program/Hello_World.xml similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/Hello_World.xml rename to examples/ble_A_Hello_World_Program/Hello_World.xml diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/Makefile b/examples/ble_A_Hello_World_Program/Makefile similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/Makefile rename to examples/ble_A_Hello_World_Program/Makefile diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/ble_A_Hello_World_Program.ino b/examples/ble_A_Hello_World_Program/ble_A_Hello_World_Program.ino similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/ble_A_Hello_World_Program.ino rename to examples/ble_A_Hello_World_Program/ble_A_Hello_World_Program.ino diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_A_Hello_World_Program/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_A_Hello_World_Program/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/services.h b/examples/ble_A_Hello_World_Program/services.h similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/services.h rename to examples/ble_A_Hello_World_Program/services.h diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/services_lock.h b/examples/ble_A_Hello_World_Program/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/services_lock.h rename to examples/ble_A_Hello_World_Program/services_lock.h diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/uart_over_ble.h b/examples/ble_A_Hello_World_Program/uart_over_ble.h similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/uart_over_ble.h rename to examples/ble_A_Hello_World_Program/uart_over_ble.h diff --git a/libraries/BLE/examples/ble_A_Hello_World_Program/ublue_setup.gen.out.txt b/examples/ble_A_Hello_World_Program/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_A_Hello_World_Program/ublue_setup.gen.out.txt rename to examples/ble_A_Hello_World_Program/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/Makefile b/examples/ble_HID_keyboard_2_bonds_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/Makefile rename to examples/ble_HID_keyboard_2_bonds_template/Makefile diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/USD HID Report Descriptor - Keyboard.txt b/examples/ble_HID_keyboard_2_bonds_template/USD HID Report Descriptor - Keyboard.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/USD HID Report Descriptor - Keyboard.txt rename to examples/ble_HID_keyboard_2_bonds_template/USD HID Report Descriptor - Keyboard.txt diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/ble_HID_keyboard_2_bonds_template.ino b/examples/ble_HID_keyboard_2_bonds_template/ble_HID_keyboard_2_bonds_template.ino similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/ble_HID_keyboard_2_bonds_template.ino rename to examples/ble_HID_keyboard_2_bonds_template/ble_HID_keyboard_2_bonds_template.ino diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/hid_keyboard.xml b/examples/ble_HID_keyboard_2_bonds_template/hid_keyboard.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/hid_keyboard.xml rename to examples/ble_HID_keyboard_2_bonds_template/hid_keyboard.xml diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat b/examples/ble_HID_keyboard_2_bonds_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat rename to examples/ble_HID_keyboard_2_bonds_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/services.h b/examples/ble_HID_keyboard_2_bonds_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/services.h rename to examples/ble_HID_keyboard_2_bonds_template/services.h diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/services_lock.h b/examples/ble_HID_keyboard_2_bonds_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/services_lock.h rename to examples/ble_HID_keyboard_2_bonds_template/services_lock.h diff --git a/libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/ublue_setup.gen.out.txt b/examples/ble_HID_keyboard_2_bonds_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_2_bonds_template/ublue_setup.gen.out.txt rename to examples/ble_HID_keyboard_2_bonds_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/Makefile b/examples/ble_HID_keyboard_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/Makefile rename to examples/ble_HID_keyboard_template/Makefile diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/USD HID Report Descriptor - Keyboard.txt b/examples/ble_HID_keyboard_template/USD HID Report Descriptor - Keyboard.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/USD HID Report Descriptor - Keyboard.txt rename to examples/ble_HID_keyboard_template/USD HID Report Descriptor - Keyboard.txt diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/ble_HID_keyboard_template.ino b/examples/ble_HID_keyboard_template/ble_HID_keyboard_template.ino similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/ble_HID_keyboard_template.ino rename to examples/ble_HID_keyboard_template/ble_HID_keyboard_template.ino diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/hid_keyboard.xml b/examples/ble_HID_keyboard_template/hid_keyboard.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/hid_keyboard.xml rename to examples/ble_HID_keyboard_template/hid_keyboard.xml diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat b/examples/ble_HID_keyboard_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat rename to examples/ble_HID_keyboard_template/run_me_compile_xml_to_nRF8001_setup_keyboard.bat diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/services.h b/examples/ble_HID_keyboard_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/services.h rename to examples/ble_HID_keyboard_template/services.h diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/services_lock.h b/examples/ble_HID_keyboard_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/services_lock.h rename to examples/ble_HID_keyboard_template/services_lock.h diff --git a/libraries/BLE/examples/ble_HID_keyboard_template/ublue_setup.gen.out.txt b/examples/ble_HID_keyboard_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_keyboard_template/ublue_setup.gen.out.txt rename to examples/ble_HID_keyboard_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_HID_template/Makefile b/examples/ble_HID_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_HID_template/Makefile rename to examples/ble_HID_template/Makefile diff --git a/libraries/BLE/examples/ble_HID_template/USD HID Report Descriptor - Joystick.txt b/examples/ble_HID_template/USD HID Report Descriptor - Joystick.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_template/USD HID Report Descriptor - Joystick.txt rename to examples/ble_HID_template/USD HID Report Descriptor - Joystick.txt diff --git a/libraries/BLE/examples/ble_HID_template/USD HID Report Descriptor - Mouse.txt b/examples/ble_HID_template/USD HID Report Descriptor - Mouse.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_template/USD HID Report Descriptor - Mouse.txt rename to examples/ble_HID_template/USD HID Report Descriptor - Mouse.txt diff --git a/libraries/BLE/examples/ble_HID_template/ble_HID_template.ino b/examples/ble_HID_template/ble_HID_template.ino similarity index 100% rename from libraries/BLE/examples/ble_HID_template/ble_HID_template.ino rename to examples/ble_HID_template/ble_HID_template.ino diff --git a/libraries/BLE/examples/ble_HID_template/hid_joystick.xml b/examples/ble_HID_template/hid_joystick.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_template/hid_joystick.xml rename to examples/ble_HID_template/hid_joystick.xml diff --git a/libraries/BLE/examples/ble_HID_template/hid_mouse_batt_nordic_works.xml b/examples/ble_HID_template/hid_mouse_batt_nordic_works.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_template/hid_mouse_batt_nordic_works.xml rename to examples/ble_HID_template/hid_mouse_batt_nordic_works.xml diff --git a/libraries/BLE/examples/ble_HID_template/hid_smart_remote_fixed.xml b/examples/ble_HID_template/hid_smart_remote_fixed.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_template/hid_smart_remote_fixed.xml rename to examples/ble_HID_template/hid_smart_remote_fixed.xml diff --git a/libraries/BLE/examples/ble_HID_template/hid_smart_remote_with_HRM.xml b/examples/ble_HID_template/hid_smart_remote_with_HRM.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_template/hid_smart_remote_with_HRM.xml rename to examples/ble_HID_template/hid_smart_remote_with_HRM.xml diff --git a/libraries/BLE/examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_joystick.bat b/examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_joystick.bat similarity index 100% rename from libraries/BLE/examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_joystick.bat rename to examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_joystick.bat diff --git a/libraries/BLE/examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_mouse.bat b/examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_mouse.bat similarity index 100% rename from libraries/BLE/examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_mouse.bat rename to examples/ble_HID_template/run_me_compile_xml_to_nRF8001_setup_mouse.bat diff --git a/libraries/BLE/examples/ble_HID_template/services.h b/examples/ble_HID_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_HID_template/services.h rename to examples/ble_HID_template/services.h diff --git a/libraries/BLE/examples/ble_HID_template/services_lock.h b/examples/ble_HID_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_HID_template/services_lock.h rename to examples/ble_HID_template/services_lock.h diff --git a/libraries/BLE/examples/ble_HID_template/ublue_setup.gen.out.txt b/examples/ble_HID_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_template/ublue_setup.gen.out.txt rename to examples/ble_HID_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/Makefile b/examples/ble_HID_template_HID_HRM/Makefile similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/Makefile rename to examples/ble_HID_template_HID_HRM/Makefile diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/ble_HID_template_HID_HRM.ino b/examples/ble_HID_template_HID_HRM/ble_HID_template_HID_HRM.ino similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/ble_HID_template_HID_HRM.ino rename to examples/ble_HID_template_HID_HRM/ble_HID_template_HID_HRM.ino diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2.xml b/examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2.xml rename to examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2.xml diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2_custom.xml b/examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2_custom.xml similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2_custom.xml rename to examples/ble_HID_template_HID_HRM/hid_smart_remote_mod2_works_v2_custom.xml diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup_custom.bat b/examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup_custom.bat similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup_custom.bat rename to examples/ble_HID_template_HID_HRM/run_me_compile_xml_to_nRF8001_setup_custom.bat diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/services.h b/examples/ble_HID_template_HID_HRM/services.h similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/services.h rename to examples/ble_HID_template_HID_HRM/services.h diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/services_lock.h b/examples/ble_HID_template_HID_HRM/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/services_lock.h rename to examples/ble_HID_template_HID_HRM/services_lock.h diff --git a/libraries/BLE/examples/ble_HID_template_HID_HRM/ublue_setup.gen.out.txt b/examples/ble_HID_template_HID_HRM/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_HID_template_HID_HRM/ublue_setup.gen.out.txt rename to examples/ble_HID_template_HID_HRM/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_aci_transport_layer_verification/Makefile b/examples/ble_aci_transport_layer_verification/Makefile similarity index 100% rename from libraries/BLE/examples/ble_aci_transport_layer_verification/Makefile rename to examples/ble_aci_transport_layer_verification/Makefile diff --git a/libraries/BLE/examples/ble_aci_transport_layer_verification/ble_aci_transport_layer_verification.ino b/examples/ble_aci_transport_layer_verification/ble_aci_transport_layer_verification.ino similarity index 100% rename from libraries/BLE/examples/ble_aci_transport_layer_verification/ble_aci_transport_layer_verification.ino rename to examples/ble_aci_transport_layer_verification/ble_aci_transport_layer_verification.ino diff --git a/libraries/BLE/examples/ble_bandwidth_test/Makefile b/examples/ble_bandwidth_test/Makefile similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/Makefile rename to examples/ble_bandwidth_test/Makefile diff --git a/libraries/BLE/examples/ble_bandwidth_test/UART_over_BLE.xml b/examples/ble_bandwidth_test/UART_over_BLE.xml similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/UART_over_BLE.xml rename to examples/ble_bandwidth_test/UART_over_BLE.xml diff --git a/libraries/BLE/examples/ble_bandwidth_test/ble_bandwidth_test.ino b/examples/ble_bandwidth_test/ble_bandwidth_test.ino similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/ble_bandwidth_test.ino rename to examples/ble_bandwidth_test/ble_bandwidth_test.ino diff --git a/libraries/BLE/examples/ble_bandwidth_test/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_bandwidth_test/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_bandwidth_test/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_bandwidth_test/services.h b/examples/ble_bandwidth_test/services.h similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/services.h rename to examples/ble_bandwidth_test/services.h diff --git a/libraries/BLE/examples/ble_bandwidth_test/services_lock.h b/examples/ble_bandwidth_test/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/services_lock.h rename to examples/ble_bandwidth_test/services_lock.h diff --git a/libraries/BLE/examples/ble_bandwidth_test/ublue_setup.gen.out.txt b/examples/ble_bandwidth_test/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_bandwidth_test/ublue_setup.gen.out.txt rename to examples/ble_bandwidth_test/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_broadcast/Makefile b/examples/ble_broadcast/Makefile similarity index 100% rename from libraries/BLE/examples/ble_broadcast/Makefile rename to examples/ble_broadcast/Makefile diff --git a/libraries/BLE/examples/ble_broadcast/ble_broadcast.ino b/examples/ble_broadcast/ble_broadcast.ino similarity index 100% rename from libraries/BLE/examples/ble_broadcast/ble_broadcast.ino rename to examples/ble_broadcast/ble_broadcast.ino diff --git a/libraries/BLE/examples/ble_broadcast/ble_broadcast.xml b/examples/ble_broadcast/ble_broadcast.xml similarity index 100% rename from libraries/BLE/examples/ble_broadcast/ble_broadcast.xml rename to examples/ble_broadcast/ble_broadcast.xml diff --git a/libraries/BLE/examples/ble_broadcast/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_broadcast/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_broadcast/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_broadcast/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_broadcast/services.h b/examples/ble_broadcast/services.h similarity index 100% rename from libraries/BLE/examples/ble_broadcast/services.h rename to examples/ble_broadcast/services.h diff --git a/libraries/BLE/examples/ble_broadcast/services_lock.h b/examples/ble_broadcast/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_broadcast/services_lock.h rename to examples/ble_broadcast/services_lock.h diff --git a/libraries/BLE/examples/ble_broadcast/ublue_setup.gen.out.txt b/examples/ble_broadcast/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_broadcast/ublue_setup.gen.out.txt rename to examples/ble_broadcast/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_heart_rate_template/Makefile b/examples/ble_heart_rate_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/Makefile rename to examples/ble_heart_rate_template/Makefile diff --git a/libraries/BLE/examples/ble_heart_rate_template/battery.cpp b/examples/ble_heart_rate_template/battery.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/battery.cpp rename to examples/ble_heart_rate_template/battery.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template/battery.h b/examples/ble_heart_rate_template/battery.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/battery.h rename to examples/ble_heart_rate_template/battery.h diff --git a/libraries/BLE/examples/ble_heart_rate_template/ble_heart_rate_template.ino b/examples/ble_heart_rate_template/ble_heart_rate_template.ino similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/ble_heart_rate_template.ino rename to examples/ble_heart_rate_template/ble_heart_rate_template.ino diff --git a/libraries/BLE/examples/ble_heart_rate_template/heart_rate.cpp b/examples/ble_heart_rate_template/heart_rate.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/heart_rate.cpp rename to examples/ble_heart_rate_template/heart_rate.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template/heart_rate.h b/examples/ble_heart_rate_template/heart_rate.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/heart_rate.h rename to examples/ble_heart_rate_template/heart_rate.h diff --git a/libraries/BLE/examples/ble_heart_rate_template/heart_rate_sensor.xml b/examples/ble_heart_rate_template/heart_rate_sensor.xml similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/heart_rate_sensor.xml rename to examples/ble_heart_rate_template/heart_rate_sensor.xml diff --git a/libraries/BLE/examples/ble_heart_rate_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_heart_rate_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_heart_rate_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_heart_rate_template/services.h b/examples/ble_heart_rate_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/services.h rename to examples/ble_heart_rate_template/services.h diff --git a/libraries/BLE/examples/ble_heart_rate_template/services_lock.h b/examples/ble_heart_rate_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/services_lock.h rename to examples/ble_heart_rate_template/services_lock.h diff --git a/libraries/BLE/examples/ble_heart_rate_template/ublue_setup.gen.out.txt b/examples/ble_heart_rate_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template/ublue_setup.gen.out.txt rename to examples/ble_heart_rate_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/Makefile b/examples/ble_heart_rate_template_with_battery_service/Makefile similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/Makefile rename to examples/ble_heart_rate_template_with_battery_service/Makefile diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/battery.cpp b/examples/ble_heart_rate_template_with_battery_service/battery.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/battery.cpp rename to examples/ble_heart_rate_template_with_battery_service/battery.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/battery.h b/examples/ble_heart_rate_template_with_battery_service/battery.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/battery.h rename to examples/ble_heart_rate_template_with_battery_service/battery.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/ble_heart_rate_template_with_battery_service.ino b/examples/ble_heart_rate_template_with_battery_service/ble_heart_rate_template_with_battery_service.ino similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/ble_heart_rate_template_with_battery_service.ino rename to examples/ble_heart_rate_template_with_battery_service/ble_heart_rate_template_with_battery_service.ino diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/heart_rate.cpp b/examples/ble_heart_rate_template_with_battery_service/heart_rate.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/heart_rate.cpp rename to examples/ble_heart_rate_template_with_battery_service/heart_rate.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/heart_rate.h b/examples/ble_heart_rate_template_with_battery_service/heart_rate.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/heart_rate.h rename to examples/ble_heart_rate_template_with_battery_service/heart_rate.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/heart_rate_sensor.xml b/examples/ble_heart_rate_template_with_battery_service/heart_rate_sensor.xml similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/heart_rate_sensor.xml rename to examples/ble_heart_rate_template_with_battery_service/heart_rate_sensor.xml diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/hrm_definitions.h b/examples/ble_heart_rate_template_with_battery_service/hrm_definitions.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/hrm_definitions.h rename to examples/ble_heart_rate_template_with_battery_service/hrm_definitions.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/lib_battery_level.cpp b/examples/ble_heart_rate_template_with_battery_service/lib_battery_level.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/lib_battery_level.cpp rename to examples/ble_heart_rate_template_with_battery_service/lib_battery_level.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/lib_battery_level.h b/examples/ble_heart_rate_template_with_battery_service/lib_battery_level.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/lib_battery_level.h rename to examples/ble_heart_rate_template_with_battery_service/lib_battery_level.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_heart_rate_template_with_battery_service/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_heart_rate_template_with_battery_service/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/services.h b/examples/ble_heart_rate_template_with_battery_service/services.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/services.h rename to examples/ble_heart_rate_template_with_battery_service/services.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/services_lock.h b/examples/ble_heart_rate_template_with_battery_service/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/services_lock.h rename to examples/ble_heart_rate_template_with_battery_service/services_lock.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/ublue_setup.gen.out.txt b/examples/ble_heart_rate_template_with_battery_service/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_battery_service/ublue_setup.gen.out.txt rename to examples/ble_heart_rate_template_with_battery_service/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/Makefile b/examples/ble_heart_rate_template_with_simulated_battery_service/Makefile similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/Makefile rename to examples/ble_heart_rate_template_with_simulated_battery_service/Makefile diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/battery.cpp b/examples/ble_heart_rate_template_with_simulated_battery_service/battery.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/battery.cpp rename to examples/ble_heart_rate_template_with_simulated_battery_service/battery.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/battery.h b/examples/ble_heart_rate_template_with_simulated_battery_service/battery.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/battery.h rename to examples/ble_heart_rate_template_with_simulated_battery_service/battery.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/ble_heart_rate_template_with_simulated_battery_service.ino b/examples/ble_heart_rate_template_with_simulated_battery_service/ble_heart_rate_template_with_simulated_battery_service.ino similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/ble_heart_rate_template_with_simulated_battery_service.ino rename to examples/ble_heart_rate_template_with_simulated_battery_service/ble_heart_rate_template_with_simulated_battery_service.ino diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.cpp b/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.cpp similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.cpp rename to examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.cpp diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.h b/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.h rename to examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate_sensor.xml b/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate_sensor.xml similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate_sensor.xml rename to examples/ble_heart_rate_template_with_simulated_battery_service/heart_rate_sensor.xml diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.c b/examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.c similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.c rename to examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.c diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.h b/examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.h rename to examples/ble_heart_rate_template_with_simulated_battery_service/lib_battery_level.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_heart_rate_template_with_simulated_battery_service/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_heart_rate_template_with_simulated_battery_service/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/services.h b/examples/ble_heart_rate_template_with_simulated_battery_service/services.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/services.h rename to examples/ble_heart_rate_template_with_simulated_battery_service/services.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/services_lock.h b/examples/ble_heart_rate_template_with_simulated_battery_service/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/services_lock.h rename to examples/ble_heart_rate_template_with_simulated_battery_service/services_lock.h diff --git a/libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/ublue_setup.gen.out.txt b/examples/ble_heart_rate_template_with_simulated_battery_service/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_heart_rate_template_with_simulated_battery_service/ublue_setup.gen.out.txt rename to examples/ble_heart_rate_template_with_simulated_battery_service/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_modify_setup_data/Makefile b/examples/ble_modify_setup_data/Makefile similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/Makefile rename to examples/ble_modify_setup_data/Makefile diff --git a/libraries/BLE/examples/ble_modify_setup_data/UART_over_BLE.xml b/examples/ble_modify_setup_data/UART_over_BLE.xml similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/UART_over_BLE.xml rename to examples/ble_modify_setup_data/UART_over_BLE.xml diff --git a/libraries/BLE/examples/ble_modify_setup_data/ble_modify_setup_data.ino b/examples/ble_modify_setup_data/ble_modify_setup_data.ino similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/ble_modify_setup_data.ino rename to examples/ble_modify_setup_data/ble_modify_setup_data.ino diff --git a/libraries/BLE/examples/ble_modify_setup_data/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_modify_setup_data/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_modify_setup_data/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_modify_setup_data/services.h b/examples/ble_modify_setup_data/services.h similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/services.h rename to examples/ble_modify_setup_data/services.h diff --git a/libraries/BLE/examples/ble_modify_setup_data/services_lock.h b/examples/ble_modify_setup_data/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/services_lock.h rename to examples/ble_modify_setup_data/services_lock.h diff --git a/libraries/BLE/examples/ble_modify_setup_data/services_ota_with_pipe.h b/examples/ble_modify_setup_data/services_ota_with_pipe.h similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/services_ota_with_pipe.h rename to examples/ble_modify_setup_data/services_ota_with_pipe.h diff --git a/libraries/BLE/examples/ble_modify_setup_data/services_ota_with_pipe_ota_removed.h b/examples/ble_modify_setup_data/services_ota_with_pipe_ota_removed.h similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/services_ota_with_pipe_ota_removed.h rename to examples/ble_modify_setup_data/services_ota_with_pipe_ota_removed.h diff --git a/libraries/BLE/examples/ble_modify_setup_data/ublue_setup.gen.out.txt b/examples/ble_modify_setup_data/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_modify_setup_data/ublue_setup.gen.out.txt rename to examples/ble_modify_setup_data/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_my_project_template/Makefile b/examples/ble_my_project_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/Makefile rename to examples/ble_my_project_template/Makefile diff --git a/libraries/BLE/examples/ble_my_project_template/ble_my_project_template.ino b/examples/ble_my_project_template/ble_my_project_template.ino similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/ble_my_project_template.ino rename to examples/ble_my_project_template/ble_my_project_template.ino diff --git a/libraries/BLE/examples/ble_my_project_template/my_project.xml b/examples/ble_my_project_template/my_project.xml similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/my_project.xml rename to examples/ble_my_project_template/my_project.xml diff --git a/libraries/BLE/examples/ble_my_project_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_my_project_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_my_project_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_my_project_template/services.h b/examples/ble_my_project_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/services.h rename to examples/ble_my_project_template/services.h diff --git a/libraries/BLE/examples/ble_my_project_template/services_lock.h b/examples/ble_my_project_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/services_lock.h rename to examples/ble_my_project_template/services_lock.h diff --git a/libraries/BLE/examples/ble_my_project_template/ublue_setup.gen.out.txt b/examples/ble_my_project_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_my_project_template/ublue_setup.gen.out.txt rename to examples/ble_my_project_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_proximity_template/Makefile b/examples/ble_proximity_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/Makefile rename to examples/ble_proximity_template/Makefile diff --git a/libraries/BLE/examples/ble_proximity_template/alert_level_characteristic.h b/examples/ble_proximity_template/alert_level_characteristic.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/alert_level_characteristic.h rename to examples/ble_proximity_template/alert_level_characteristic.h diff --git a/libraries/BLE/examples/ble_proximity_template/ble_proximity_template.ino b/examples/ble_proximity_template/ble_proximity_template.ino similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/ble_proximity_template.ino rename to examples/ble_proximity_template/ble_proximity_template.ino diff --git a/libraries/BLE/examples/ble_proximity_template/immediate_alert.cpp b/examples/ble_proximity_template/immediate_alert.cpp similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/immediate_alert.cpp rename to examples/ble_proximity_template/immediate_alert.cpp diff --git a/libraries/BLE/examples/ble_proximity_template/immediate_alert.h b/examples/ble_proximity_template/immediate_alert.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/immediate_alert.h rename to examples/ble_proximity_template/immediate_alert.h diff --git a/libraries/BLE/examples/ble_proximity_template/link_loss.cpp b/examples/ble_proximity_template/link_loss.cpp similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/link_loss.cpp rename to examples/ble_proximity_template/link_loss.cpp diff --git a/libraries/BLE/examples/ble_proximity_template/link_loss.h b/examples/ble_proximity_template/link_loss.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/link_loss.h rename to examples/ble_proximity_template/link_loss.h diff --git a/libraries/BLE/examples/ble_proximity_template/proximity_setup.xml b/examples/ble_proximity_template/proximity_setup.xml similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/proximity_setup.xml rename to examples/ble_proximity_template/proximity_setup.xml diff --git a/libraries/BLE/examples/ble_proximity_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_proximity_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_proximity_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_proximity_template/services.h b/examples/ble_proximity_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/services.h rename to examples/ble_proximity_template/services.h diff --git a/libraries/BLE/examples/ble_proximity_template/services_lock.h b/examples/ble_proximity_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/services_lock.h rename to examples/ble_proximity_template/services_lock.h diff --git a/libraries/BLE/examples/ble_proximity_template/ublue_setup.gen.out.txt b/examples/ble_proximity_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_proximity_template/ublue_setup.gen.out.txt rename to examples/ble_proximity_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/Makefile b/examples/ble_proximity_with_dfu_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/Makefile rename to examples/ble_proximity_with_dfu_template/Makefile diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/alert_level_characteristic.h b/examples/ble_proximity_with_dfu_template/alert_level_characteristic.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/alert_level_characteristic.h rename to examples/ble_proximity_with_dfu_template/alert_level_characteristic.h diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/ble_proximity_with_dfu_template.ino b/examples/ble_proximity_with_dfu_template/ble_proximity_with_dfu_template.ino similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/ble_proximity_with_dfu_template.ino rename to examples/ble_proximity_with_dfu_template/ble_proximity_with_dfu_template.ino diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/immediate_alert.cpp b/examples/ble_proximity_with_dfu_template/immediate_alert.cpp similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/immediate_alert.cpp rename to examples/ble_proximity_with_dfu_template/immediate_alert.cpp diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/immediate_alert.h b/examples/ble_proximity_with_dfu_template/immediate_alert.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/immediate_alert.h rename to examples/ble_proximity_with_dfu_template/immediate_alert.h diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/link_loss.cpp b/examples/ble_proximity_with_dfu_template/link_loss.cpp similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/link_loss.cpp rename to examples/ble_proximity_with_dfu_template/link_loss.cpp diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/link_loss.h b/examples/ble_proximity_with_dfu_template/link_loss.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/link_loss.h rename to examples/ble_proximity_with_dfu_template/link_loss.h diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/proximity_setup.xml b/examples/ble_proximity_with_dfu_template/proximity_setup.xml similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/proximity_setup.xml rename to examples/ble_proximity_with_dfu_template/proximity_setup.xml diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_proximity_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_proximity_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/services.h b/examples/ble_proximity_with_dfu_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/services.h rename to examples/ble_proximity_with_dfu_template/services.h diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/services_lock.h b/examples/ble_proximity_with_dfu_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/services_lock.h rename to examples/ble_proximity_with_dfu_template/services_lock.h diff --git a/libraries/BLE/examples/ble_proximity_with_dfu_template/ublue_setup.gen.out.txt b/examples/ble_proximity_with_dfu_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_proximity_with_dfu_template/ublue_setup.gen.out.txt rename to examples/ble_proximity_with_dfu_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_set_in_test_mode_ACI/Makefile b/examples/ble_set_in_test_mode_ACI/Makefile similarity index 100% rename from libraries/BLE/examples/ble_set_in_test_mode_ACI/Makefile rename to examples/ble_set_in_test_mode_ACI/Makefile diff --git a/libraries/BLE/examples/ble_set_in_test_mode_ACI/ble_set_in_test_mode_ACI.ino b/examples/ble_set_in_test_mode_ACI/ble_set_in_test_mode_ACI.ino similarity index 100% rename from libraries/BLE/examples/ble_set_in_test_mode_ACI/ble_set_in_test_mode_ACI.ino rename to examples/ble_set_in_test_mode_ACI/ble_set_in_test_mode_ACI.ino diff --git a/libraries/BLE/examples/ble_set_in_test_mode_UART/Makefile b/examples/ble_set_in_test_mode_UART/Makefile similarity index 100% rename from libraries/BLE/examples/ble_set_in_test_mode_UART/Makefile rename to examples/ble_set_in_test_mode_UART/Makefile diff --git a/libraries/BLE/examples/ble_set_in_test_mode_UART/ble_set_in_test_mode_UART.ino b/examples/ble_set_in_test_mode_UART/ble_set_in_test_mode_UART.ino similarity index 100% rename from libraries/BLE/examples/ble_set_in_test_mode_UART/ble_set_in_test_mode_UART.ino rename to examples/ble_set_in_test_mode_UART/ble_set_in_test_mode_UART.ino diff --git a/libraries/BLE/examples/ble_temperature_broadcast/Makefile b/examples/ble_temperature_broadcast/Makefile similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/Makefile rename to examples/ble_temperature_broadcast/Makefile diff --git a/libraries/BLE/examples/ble_temperature_broadcast/README.adoc b/examples/ble_temperature_broadcast/README.adoc similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/README.adoc rename to examples/ble_temperature_broadcast/README.adoc diff --git a/libraries/BLE/examples/ble_temperature_broadcast/ble_temperature_broadcast.ino b/examples/ble_temperature_broadcast/ble_temperature_broadcast.ino similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/ble_temperature_broadcast.ino rename to examples/ble_temperature_broadcast/ble_temperature_broadcast.ino diff --git a/libraries/BLE/examples/ble_temperature_broadcast/health_thermometer_application.xml b/examples/ble_temperature_broadcast/health_thermometer_application.xml similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/health_thermometer_application.xml rename to examples/ble_temperature_broadcast/health_thermometer_application.xml diff --git a/libraries/BLE/examples/ble_temperature_broadcast/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_temperature_broadcast/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_temperature_broadcast/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_temperature_broadcast/services.h b/examples/ble_temperature_broadcast/services.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/services.h rename to examples/ble_temperature_broadcast/services.h diff --git a/libraries/BLE/examples/ble_temperature_broadcast/services_lock.h b/examples/ble_temperature_broadcast/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/services_lock.h rename to examples/ble_temperature_broadcast/services_lock.h diff --git a/libraries/BLE/examples/ble_temperature_broadcast/timer1.cpp b/examples/ble_temperature_broadcast/timer1.cpp similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/timer1.cpp rename to examples/ble_temperature_broadcast/timer1.cpp diff --git a/libraries/BLE/examples/ble_temperature_broadcast/timer1.h b/examples/ble_temperature_broadcast/timer1.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/timer1.h rename to examples/ble_temperature_broadcast/timer1.h diff --git a/libraries/BLE/examples/ble_temperature_broadcast/ublue_setup.gen.out.txt b/examples/ble_temperature_broadcast/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_temperature_broadcast/ublue_setup.gen.out.txt rename to examples/ble_temperature_broadcast/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_temperature_template/Makefile b/examples/ble_temperature_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/Makefile rename to examples/ble_temperature_template/Makefile diff --git a/libraries/BLE/examples/ble_temperature_template/ble_temperature_template.ino b/examples/ble_temperature_template/ble_temperature_template.ino similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/ble_temperature_template.ino rename to examples/ble_temperature_template/ble_temperature_template.ino diff --git a/libraries/BLE/examples/ble_temperature_template/date_time.h b/examples/ble_temperature_template/date_time.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/date_time.h rename to examples/ble_temperature_template/date_time.h diff --git a/libraries/BLE/examples/ble_temperature_template/health_thermometer.cpp b/examples/ble_temperature_template/health_thermometer.cpp similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/health_thermometer.cpp rename to examples/ble_temperature_template/health_thermometer.cpp diff --git a/libraries/BLE/examples/ble_temperature_template/health_thermometer.h b/examples/ble_temperature_template/health_thermometer.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/health_thermometer.h rename to examples/ble_temperature_template/health_thermometer.h diff --git a/libraries/BLE/examples/ble_temperature_template/health_thermometer_application.xml b/examples/ble_temperature_template/health_thermometer_application.xml similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/health_thermometer_application.xml rename to examples/ble_temperature_template/health_thermometer_application.xml diff --git a/libraries/BLE/examples/ble_temperature_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_temperature_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_temperature_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_temperature_template/services.h b/examples/ble_temperature_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/services.h rename to examples/ble_temperature_template/services.h diff --git a/libraries/BLE/examples/ble_temperature_template/services_lock.h b/examples/ble_temperature_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/services_lock.h rename to examples/ble_temperature_template/services_lock.h diff --git a/libraries/BLE/examples/ble_temperature_template/timer1.cpp b/examples/ble_temperature_template/timer1.cpp similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/timer1.cpp rename to examples/ble_temperature_template/timer1.cpp diff --git a/libraries/BLE/examples/ble_temperature_template/timer1.h b/examples/ble_temperature_template/timer1.h similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/timer1.h rename to examples/ble_temperature_template/timer1.h diff --git a/libraries/BLE/examples/ble_temperature_template/ublue_setup.gen.out.txt b/examples/ble_temperature_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_temperature_template/ublue_setup.gen.out.txt rename to examples/ble_temperature_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_uart_project_template/Makefile b/examples/ble_uart_project_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/Makefile rename to examples/ble_uart_project_template/Makefile diff --git a/libraries/BLE/examples/ble_uart_project_template/UART_over_BLE.xml b/examples/ble_uart_project_template/UART_over_BLE.xml similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/UART_over_BLE.xml rename to examples/ble_uart_project_template/UART_over_BLE.xml diff --git a/libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.ino b/examples/ble_uart_project_template/ble_uart_project_template.ino similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.ino rename to examples/ble_uart_project_template/ble_uart_project_template.ino diff --git a/libraries/BLE/examples/ble_uart_project_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_uart_project_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_uart_project_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_uart_project_template/services.h b/examples/ble_uart_project_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/services.h rename to examples/ble_uart_project_template/services.h diff --git a/libraries/BLE/examples/ble_uart_project_template/services_lock.h b/examples/ble_uart_project_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/services_lock.h rename to examples/ble_uart_project_template/services_lock.h diff --git a/libraries/BLE/examples/ble_uart_project_template/uart_over_ble.h b/examples/ble_uart_project_template/uart_over_ble.h similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/uart_over_ble.h rename to examples/ble_uart_project_template/uart_over_ble.h diff --git a/libraries/BLE/examples/ble_uart_project_template/ublue_setup.gen.out.txt b/examples/ble_uart_project_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_uart_project_template/ublue_setup.gen.out.txt rename to examples/ble_uart_project_template/ublue_setup.gen.out.txt diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/Makefile b/examples/ble_uart_project_with_dfu_template/Makefile similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/Makefile rename to examples/ble_uart_project_with_dfu_template/Makefile diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/UART_over_BLE.xml b/examples/ble_uart_project_with_dfu_template/UART_over_BLE.xml similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/UART_over_BLE.xml rename to examples/ble_uart_project_with_dfu_template/UART_over_BLE.xml diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/ble_uart_project_with_dfu_template.ino b/examples/ble_uart_project_with_dfu_template/ble_uart_project_with_dfu_template.ino similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/ble_uart_project_with_dfu_template.ino rename to examples/ble_uart_project_with_dfu_template/ble_uart_project_with_dfu_template.ino diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat b/examples/ble_uart_project_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat rename to examples/ble_uart_project_with_dfu_template/run_me_compile_xml_to_nRF8001_setup.bat diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/services.h b/examples/ble_uart_project_with_dfu_template/services.h similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/services.h rename to examples/ble_uart_project_with_dfu_template/services.h diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/services_lock.h b/examples/ble_uart_project_with_dfu_template/services_lock.h similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/services_lock.h rename to examples/ble_uart_project_with_dfu_template/services_lock.h diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/uart_over_ble.h b/examples/ble_uart_project_with_dfu_template/uart_over_ble.h similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/uart_over_ble.h rename to examples/ble_uart_project_with_dfu_template/uart_over_ble.h diff --git a/libraries/BLE/examples/ble_uart_project_with_dfu_template/ublue_setup.gen.out.txt b/examples/ble_uart_project_with_dfu_template/ublue_setup.gen.out.txt similarity index 100% rename from libraries/BLE/examples/ble_uart_project_with_dfu_template/ublue_setup.gen.out.txt rename to examples/ble_uart_project_with_dfu_template/ublue_setup.gen.out.txt diff --git a/documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.png b/extras/documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.png similarity index 100% rename from documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.png rename to extras/documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.png diff --git a/documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.vsd b/extras/documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.vsd similarity index 100% rename from documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.vsd rename to extras/documentation/libraries/BLE/Alternative_AVR_SPI_in_main_nRF8001_SDK.vsd diff --git a/documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.png b/extras/documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.png similarity index 100% rename from documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.png rename to extras/documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.png diff --git a/documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.vsd b/extras/documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.vsd similarity index 100% rename from documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.vsd rename to extras/documentation/libraries/BLE/Architecture_AVR_nRF8001_SDK.vsd diff --git a/documentation/libraries/BLE/Library architecture.docx b/extras/documentation/libraries/BLE/Library architecture.docx similarity index 100% rename from documentation/libraries/BLE/Library architecture.docx rename to extras/documentation/libraries/BLE/Library architecture.docx diff --git a/documentation/libraries/BLE/examples/ble_A_Hello_World_Program/Readme.md b/extras/documentation/libraries/BLE/examples/ble_A_Hello_World_Program/Readme.md similarity index 100% rename from documentation/libraries/BLE/examples/ble_A_Hello_World_Program/Readme.md rename to extras/documentation/libraries/BLE/examples/ble_A_Hello_World_Program/Readme.md diff --git a/documentation/libraries/BLE/examples/ble_HID_template/Creating a Bluetooth HID Device from a USB HID device.mp4 b/extras/documentation/libraries/BLE/examples/ble_HID_template/Creating a Bluetooth HID Device from a USB HID device.mp4 similarity index 100% rename from documentation/libraries/BLE/examples/ble_HID_template/Creating a Bluetooth HID Device from a USB HID device.mp4 rename to extras/documentation/libraries/BLE/examples/ble_HID_template/Creating a Bluetooth HID Device from a USB HID device.mp4 diff --git a/documentation/libraries/BLE/examples/ble_HID_template/HID over GATT maps USB HID to the Bluetooth Generic Attribute Profile.docx b/extras/documentation/libraries/BLE/examples/ble_HID_template/HID over GATT maps USB HID to the Bluetooth Generic Attribute Profile.docx similarity index 100% rename from documentation/libraries/BLE/examples/ble_HID_template/HID over GATT maps USB HID to the Bluetooth Generic Attribute Profile.docx rename to extras/documentation/libraries/BLE/examples/ble_HID_template/HID over GATT maps USB HID to the Bluetooth Generic Attribute Profile.docx diff --git a/documentation/libraries/BLE/examples/ble_HID_template/nRF8001.dot b/extras/documentation/libraries/BLE/examples/ble_HID_template/nRF8001.dot similarity index 100% rename from documentation/libraries/BLE/examples/ble_HID_template/nRF8001.dot rename to extras/documentation/libraries/BLE/examples/ble_HID_template/nRF8001.dot diff --git a/documentation/libraries/BLE/examples/ble_HID_template/nRF8001_HID_app_states.png b/extras/documentation/libraries/BLE/examples/ble_HID_template/nRF8001_HID_app_states.png similarity index 100% rename from documentation/libraries/BLE/examples/ble_HID_template/nRF8001_HID_app_states.png rename to extras/documentation/libraries/BLE/examples/ble_HID_template/nRF8001_HID_app_states.png diff --git a/documentation/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/Measuring battery voltage on Arduino Uno board.pdf b/extras/documentation/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/Measuring battery voltage on Arduino Uno board.pdf similarity index 100% rename from documentation/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/Measuring battery voltage on Arduino Uno board.pdf rename to extras/documentation/libraries/BLE/examples/ble_heart_rate_template_with_battery_service/Measuring battery voltage on Arduino Uno board.pdf diff --git a/documentation/libraries/BLE/examples/ble_modify_setup_data/readme_modify_setup.docx b/extras/documentation/libraries/BLE/examples/ble_modify_setup_data/readme_modify_setup.docx similarity index 100% rename from documentation/libraries/BLE/examples/ble_modify_setup_data/readme_modify_setup.docx rename to extras/documentation/libraries/BLE/examples/ble_modify_setup_data/readme_modify_setup.docx diff --git a/documentation/libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.txt b/extras/documentation/libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.txt similarity index 100% rename from documentation/libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.txt rename to extras/documentation/libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.txt diff --git a/documentation/libraries/BLE/lib_aci_bond.md b/extras/documentation/libraries/BLE/lib_aci_bond.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_bond.md rename to extras/documentation/libraries/BLE/lib_aci_bond.md diff --git a/documentation/libraries/BLE/lib_aci_broadcast.md b/extras/documentation/libraries/BLE/lib_aci_broadcast.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_broadcast.md rename to extras/documentation/libraries/BLE/lib_aci_broadcast.md diff --git a/documentation/libraries/BLE/lib_aci_change_timing_GAP_PPCP.md b/extras/documentation/libraries/BLE/lib_aci_change_timing_GAP_PPCP.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_change_timing_GAP_PPCP.md rename to extras/documentation/libraries/BLE/lib_aci_change_timing_GAP_PPCP.md diff --git a/documentation/libraries/BLE/lib_aci_connect.md b/extras/documentation/libraries/BLE/lib_aci_connect.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_connect.md rename to extras/documentation/libraries/BLE/lib_aci_connect.md diff --git a/documentation/libraries/BLE/lib_aci_debug_print.txt b/extras/documentation/libraries/BLE/lib_aci_debug_print.txt similarity index 100% rename from documentation/libraries/BLE/lib_aci_debug_print.txt rename to extras/documentation/libraries/BLE/lib_aci_debug_print.txt diff --git a/documentation/libraries/BLE/lib_aci_device_version.md b/extras/documentation/libraries/BLE/lib_aci_device_version.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_device_version.md rename to extras/documentation/libraries/BLE/lib_aci_device_version.md diff --git a/documentation/libraries/BLE/lib_aci_disconnect.md b/extras/documentation/libraries/BLE/lib_aci_disconnect.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_disconnect.md rename to extras/documentation/libraries/BLE/lib_aci_disconnect.md diff --git a/documentation/libraries/BLE/lib_aci_event_get.txt b/extras/documentation/libraries/BLE/lib_aci_event_get.txt similarity index 100% rename from documentation/libraries/BLE/lib_aci_event_get.txt rename to extras/documentation/libraries/BLE/lib_aci_event_get.txt diff --git a/documentation/libraries/BLE/lib_aci_init.txt b/extras/documentation/libraries/BLE/lib_aci_init.txt similarity index 100% rename from documentation/libraries/BLE/lib_aci_init.txt rename to extras/documentation/libraries/BLE/lib_aci_init.txt diff --git a/documentation/libraries/BLE/lib_aci_is_pipe_available.md b/extras/documentation/libraries/BLE/lib_aci_is_pipe_available.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_is_pipe_available.md rename to extras/documentation/libraries/BLE/lib_aci_is_pipe_available.md diff --git a/documentation/libraries/BLE/lib_aci_open_adv_pipe.md b/extras/documentation/libraries/BLE/lib_aci_open_adv_pipe.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_open_adv_pipe.md rename to extras/documentation/libraries/BLE/lib_aci_open_adv_pipe.md diff --git a/documentation/libraries/BLE/lib_aci_read_dynamic_data.md b/extras/documentation/libraries/BLE/lib_aci_read_dynamic_data.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_read_dynamic_data.md rename to extras/documentation/libraries/BLE/lib_aci_read_dynamic_data.md diff --git a/documentation/libraries/BLE/lib_aci_send_data.md b/extras/documentation/libraries/BLE/lib_aci_send_data.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_send_data.md rename to extras/documentation/libraries/BLE/lib_aci_send_data.md diff --git a/documentation/libraries/BLE/lib_aci_set_local_data.md b/extras/documentation/libraries/BLE/lib_aci_set_local_data.md similarity index 100% rename from documentation/libraries/BLE/lib_aci_set_local_data.md rename to extras/documentation/libraries/BLE/lib_aci_set_local_data.md diff --git a/documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md b/extras/documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md similarity index 100% rename from documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md rename to extras/documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md diff --git a/documentation/libraries/BLE/readme.md b/extras/documentation/libraries/BLE/readme.md similarity index 100% rename from documentation/libraries/BLE/readme.md rename to extras/documentation/libraries/BLE/readme.md diff --git a/library.properties b/library.properties new file mode 100644 index 0000000..4e4874e --- /dev/null +++ b/library.properties @@ -0,0 +1,9 @@ +name=BLE SDK for Arduino +version=1.0.1 +author=RedBearLab +maintainer=RedBearLab +sentence=Nordic BLE SDK for Arduino for nRF8001 products such as the BLE Shield, Blend and Blend Micro. +paragraph=Provides a library and a lot of tutorials/examples for developing BLE application using Nordic nRF8001 BLE connectivity chip for Arduino. +category=Communication +url=https://github.com/cheong2k/ble-sdk-arduino +architectures=avr diff --git a/libraries/BLE/aci.h b/src/aci.h similarity index 100% rename from libraries/BLE/aci.h rename to src/aci.h diff --git a/libraries/BLE/aci_cmds.h b/src/aci_cmds.h similarity index 100% rename from libraries/BLE/aci_cmds.h rename to src/aci_cmds.h diff --git a/libraries/BLE/aci_evts.h b/src/aci_evts.h similarity index 100% rename from libraries/BLE/aci_evts.h rename to src/aci_evts.h diff --git a/libraries/BLE/aci_protocol_defines.h b/src/aci_protocol_defines.h similarity index 100% rename from libraries/BLE/aci_protocol_defines.h rename to src/aci_protocol_defines.h diff --git a/libraries/BLE/aci_queue.cpp b/src/aci_queue.cpp similarity index 100% rename from libraries/BLE/aci_queue.cpp rename to src/aci_queue.cpp diff --git a/libraries/BLE/aci_queue.h b/src/aci_queue.h similarity index 100% rename from libraries/BLE/aci_queue.h rename to src/aci_queue.h diff --git a/libraries/BLE/aci_setup.cpp b/src/aci_setup.cpp similarity index 100% rename from libraries/BLE/aci_setup.cpp rename to src/aci_setup.cpp diff --git a/libraries/BLE/aci_setup.h b/src/aci_setup.h similarity index 100% rename from libraries/BLE/aci_setup.h rename to src/aci_setup.h diff --git a/libraries/BLE/acilib.cpp b/src/acilib.cpp similarity index 100% rename from libraries/BLE/acilib.cpp rename to src/acilib.cpp diff --git a/libraries/BLE/acilib.h b/src/acilib.h similarity index 100% rename from libraries/BLE/acilib.h rename to src/acilib.h diff --git a/libraries/BLE/acilib_defs.h b/src/acilib_defs.h similarity index 100% rename from libraries/BLE/acilib_defs.h rename to src/acilib_defs.h diff --git a/libraries/BLE/acilib_if.h b/src/acilib_if.h similarity index 100% rename from libraries/BLE/acilib_if.h rename to src/acilib_if.h diff --git a/libraries/BLE/acilib_types.h b/src/acilib_types.h similarity index 100% rename from libraries/BLE/acilib_types.h rename to src/acilib_types.h diff --git a/libraries/BLE/ble_assert.h b/src/ble_assert.h similarity index 100% rename from libraries/BLE/ble_assert.h rename to src/ble_assert.h diff --git a/libraries/BLE/boards.h b/src/boards.h similarity index 100% rename from libraries/BLE/boards.h rename to src/boards.h diff --git a/libraries/BLE/bootloader_setup.cpp b/src/bootloader_setup.cpp similarity index 100% rename from libraries/BLE/bootloader_setup.cpp rename to src/bootloader_setup.cpp diff --git a/libraries/BLE/bootloader_setup.h b/src/bootloader_setup.h similarity index 100% rename from libraries/BLE/bootloader_setup.h rename to src/bootloader_setup.h diff --git a/libraries/BLE/dtm.h b/src/dtm.h similarity index 100% rename from libraries/BLE/dtm.h rename to src/dtm.h diff --git a/libraries/BLE/hal_aci_tl.cpp b/src/hal_aci_tl.cpp similarity index 100% rename from libraries/BLE/hal_aci_tl.cpp rename to src/hal_aci_tl.cpp diff --git a/libraries/BLE/hal_aci_tl.h b/src/hal_aci_tl.h similarity index 100% rename from libraries/BLE/hal_aci_tl.h rename to src/hal_aci_tl.h diff --git a/libraries/BLE/hal_platform.h b/src/hal_platform.h similarity index 100% rename from libraries/BLE/hal_platform.h rename to src/hal_platform.h diff --git a/libraries/BLE/lib_aci.cpp b/src/lib_aci.cpp similarity index 100% rename from libraries/BLE/lib_aci.cpp rename to src/lib_aci.cpp diff --git a/libraries/BLE/lib_aci.h b/src/lib_aci.h similarity index 100% rename from libraries/BLE/lib_aci.h rename to src/lib_aci.h