Easiest way to extract the data

Hi,

I'm working on a project involving a BLE peripheral/server with a custom profile. My goal is to extract data from the BLE server and plot it on a PC using a Python script. I'm looking for the quickest and easiest method, specifically on the "Central+Client" side.

I'm aware that I can employ an nRF52832 DK board, develop a "Client+Central" code to connect to the peripheral, extract data, and then transmit it to the PC via UART. However, this approach involves coding on the nRF52832 side. I also have an nRF52840 dongle available. Can you suggest a more efficient way to achieve this without additional coding on the BLE side for Client ?

Are there any inbuilt examples which can extract from custom profile/characteristics ?

Parents
  • Hello,

    Are there any inbuilt examples which can extract from custom profile/characteristics ?

    Unfortunately we do not have such an example, since you would need to implement how the device should interact with the custom profiles and services.
    However, your description of the functionality sounds almost exactly similar to the functionality shown in the nRF Connect SDK BLE Nordic UART peripheral/central examples, which receives the data from its peer over the Nordic UART service (nus) using notifications, and outputs it through UART, which you may then create a python script that receives it on the computer side through the UART.
    The main difference between the example and your description is the service in the example being the NUS, while you would need to implement your custom service to take its place.

    Please give this a try, and let me know if you should have any additional questions or in the case that anything should be unclear! :) 

    Best regards,
    Karl

Reply
  • Hello,

    Are there any inbuilt examples which can extract from custom profile/characteristics ?

    Unfortunately we do not have such an example, since you would need to implement how the device should interact with the custom profiles and services.
    However, your description of the functionality sounds almost exactly similar to the functionality shown in the nRF Connect SDK BLE Nordic UART peripheral/central examples, which receives the data from its peer over the Nordic UART service (nus) using notifications, and outputs it through UART, which you may then create a python script that receives it on the computer side through the UART.
    The main difference between the example and your description is the service in the example being the NUS, while you would need to implement your custom service to take its place.

    Please give this a try, and let me know if you should have any additional questions or in the case that anything should be unclear! :) 

    Best regards,
    Karl

Children
Related