nRF_SDK_17.1.0 s140 pca10056 BLE_UART

Hello all,

I am trying to develop an application where the user will input some specific commands i.e hex value of 0x01 via a mobile application and then via bluetooth this command will be passed to the computer using UART.

I have compiled the ble app uart on my nrf52840 but i am struggling to modify the code for my application.

Could someone help me with this ? 

Thanks

Kleanthis

Parents
  • Hello Karl,

    Ideally yes i would like to use the unmodified BLE NUS service, check the contents of incoming packets and se the DEVICE_ACTIVATED variable in case the 0x01 command is received.

    Could you help me to write this function in the main instead ? 

    I have no uncommented the original code and i am back on the defaul ble_nus.c and h files. In the real case scenario i would like to be able to keep the original BLE NUS Service functionality alongside the activate command since i would be receiving commands from a pc using the uART protocol ( those will be an array of 0 and 1) and  i will just showing them on a mobile application

    Looking forward for your assistance on this.

    Kind regardss,

    Kleanthis

Reply
  • Hello Karl,

    Ideally yes i would like to use the unmodified BLE NUS service, check the contents of incoming packets and se the DEVICE_ACTIVATED variable in case the 0x01 command is received.

    Could you help me to write this function in the main instead ? 

    I have no uncommented the original code and i am back on the defaul ble_nus.c and h files. In the real case scenario i would like to be able to keep the original BLE NUS Service functionality alongside the activate command since i would be receiving commands from a pc using the uART protocol ( those will be an array of 0 and 1) and  i will just showing them on a mobile application

    Looking forward for your assistance on this.

    Kind regardss,

    Kleanthis

Children
No Data
Related