This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52-quadcopter question

Hello.

nrf52-quadcopter question.

nrf52-quadcopter source code download is ok in github

website bluetooth connection is ok.

 joystick operation need to excharUUID(0x0004) service in website but only txuuid(0x0002) and rxuuid(0x0003) in source code 

please give me upright source code or website.  

Parents
  • Hello!

    The quadcopter project has done some changes to the SDK which is not ideal. In order to make the project work, please change the SDK11/components/ble/ble_services/ble_nus_c.c with the following:

    #define BLE_UUID_NUS_TX_CHARACTERISTIC 0x0002                      /**< The UUID of the TX Characteristic. */
    #define BLE_UUID_NUS_RX_CHARACTERISTIC 0x0003                      /**< The UUID of the RX Characteristic. */
    #define BLE_UUID_NUS_EX_CHARACTERISTIC 0x0004                      /**< The UUID of the EX Characteristic. */

    Be advised: the quadcopter project is out-of-date and is not recommended to use for further development. A new standalone and (hopefully) improved firmware should replace the current one. 

  • thank you for your support.

    #define BLE_UUID_NUS_EX_CHARACTERISTIC 0x0004

    I applied #define only and it did not work. I think I need to add related sources too.

    I tried changing the 0x0004 to 0x0002 on the web to check the motor operation and the motor did not work.
    Another question is that the motor does not work and I don't know where the joystick part protocol is on the web.

Reply
  • thank you for your support.

    #define BLE_UUID_NUS_EX_CHARACTERISTIC 0x0004

    I applied #define only and it did not work. I think I need to add related sources too.

    I tried changing the 0x0004 to 0x0002 on the web to check the motor operation and the motor did not work.
    Another question is that the motor does not work and I don't know where the joystick part protocol is on the web.

Children
No Data
Related