Hi,all
As said above, and the error was in the picture below, so why?if any one have some ideas.thanks a lot

Hi,all
As said above, and the error was in the picture below, so why?if any one have some ideas.thanks a lot

which version of nrf connect for desktop and nRF chip do you have?
On the commandline can you try
> nrfjprog --recover
Where do you want to draw the curve in the PC? do you want to create your own graph of the values that are received from the BLE? in that case you should not use nRF Connect for desktop but use pc-ble-driver for desktop
yes, i want to create my own graph using the values from BLE.
Yes, hids or other profiles needs to be exposed from your device for the native bluetooth on your laptop to be able to communicate with your device.
And about this reply, i feel that you may didn't understand my question yet.....
The meaning of question 2 is that i'm confused about which example should i use to achieve my purpose. As i saw your answer about how to connect NRF52 with pc(here) , so i asked the question 2 which was about "hids".
I want to know if "ble_app_template" can achieve my purpose or should i use other example in SDK........thanks a lot
best regards,
jerry
Jerryxu said:I want to know if "ble_app_template" can achieve my purpose or should i use other example in SDK........thanks a lot
The ble_app_template is not a good example for this. You need to know which service you want in your example for which you want notifications to be received in the PC (using pc-ble-driver) so that you can draw a graph for it using external tools. If drawing graph is your main goal for now for the data that you get from the BLE device, then hids (mouse/keyboard) example might not be a good example as well as these data are consumed by the OS input events manager. You can use any peripheral example on the nRF device, write an application to discover the services
Maybe you can use hrs example on peripheral and use the heart_rate_collector example on the central side device that is connected to the HRS peripheral example on the peer side. The executable that is generated on the PC side is very specific to giving you debug log on the com port, and you need to edit this application to be able to grab the notification value and graph it to which ever plugin you use
Jerryxu said:I want to know if "ble_app_template" can achieve my purpose or should i use other example in SDK........thanks a lot
The ble_app_template is not a good example for this. You need to know which service you want in your example for which you want notifications to be received in the PC (using pc-ble-driver) so that you can draw a graph for it using external tools. If drawing graph is your main goal for now for the data that you get from the BLE device, then hids (mouse/keyboard) example might not be a good example as well as these data are consumed by the OS input events manager. You can use any peripheral example on the nRF device, write an application to discover the services
Maybe you can use hrs example on peripheral and use the heart_rate_collector example on the central side device that is connected to the HRS peripheral example on the peer side. The executable that is generated on the PC side is very specific to giving you debug log on the com port, and you need to edit this application to be able to grab the notification value and graph it to which ever plugin you use