I would like to connect nearly 20 heart rate bands to the nrf52832 which has to configured as the central board and has to collect all the heart rate data from the peripherals. I am using the Segger Embedded Studio with nrf52_sdk_15.0 examples. As of now I am just trying to communicate with only one heart rate device with the nrf52dk using BLE_HRS_C example, but the issue is that I am able to scan and establish the connection but only the battery service data is connection not the actual heart rate values. Is there any constraints that nordic dk can only communicate another nordic chip ? I have also tried to connect with the UART_C code too and facing the same issue. So What am I supposed to do to read the values ? There is no issue with the sensor since i am able to read the values with the nRF connect destop applicaton using the board and in the mobile application as well. And if this works out then what should i do for connection of multiple peripherals with the central device ? Which program should i use or alter for this data accumulation such are HRS_C, UART_C , Multilink_C etc.
The Bands which i have tried are as follows:
IR107 Plus HR (With nrf52832 chip and yet to be tested)
I have also tried the link given https://github.com/NordicPlayground/nrf52-ble-multi-link-multi-role. The link given is similar to our requirements but the given link was given for nrf52840 and its use s140. When I open the BLE_aggregator folder, it is given for pca100056 but ours is pca100040 and it doesn’t have the ses project. I have even tried with pca100056 i am able to build the project but it is not building since some of the libraries are missing.
This is very crucial and I have been trying this for the past month and not able to come up with a solution. Kindly revert as soon as possible.
Have you tried to debug the BLE_APP_HRS_C application ? What do you see in the RTT log ?
Have you tried to use the ble_app_hrs_c with the ble_app_hrs ? It's just to see how it works.
For your application, I also suggest you to use the multilink example and then implement hrs service there instead of the blinky service.
Thanks for reply, Yes i have tried the BLE_HRS_C and i am getting this.
Here i am able to scan my heart rate band when i manually mention the peripheral name or address and when it wakes i get the output in the terminal window but not able to read the data which the band is advertising, there is no mistake in the band or the board because i am able to read it in the nRF connect application but it is limited to 8 concurrent devices only. I want to read the data from one device at least for now and i will work on the multilink later. Same goes with the BLE_UART_C here i am able to scan in the terminal window without any mentioning i.e. it is able to read the advertisement but once it connect it by sending the request then the scanning stops and it gets connected but the data is not read. I don't why i am not able read kindly help me out. I oblige.
Thanks in advance.
Have you tried the ble_app_hrs to be used as the band?
How did you test with nRFConnect ?
Could you capture a sniffer trace ?
You need to debug and check why the central doesn't get the data from the device.
Basically what the central need to do is to do service discovery , and if it see the heart rate service, it should enable notification so the device will start sending data to the central.
In my case i have only one nrf52832dk and i am trying to connect the peripherals to the board so what i am supposed to do in that case. Anyway i tried the nrf sniffer but i am not able to work with it. The wireshark is not detecting the com port. So i kindly let me know what to do with the SDK ?
Please provide the RTT log file on the nrf52DK when you run BLE_HRS_C. It's hard to debug without any trace or log.
Also please take a screenshot of the nRFConnect when you connected to a heartrate band (with all services expanded)