Hi everyone,
I have some questions / problems about the advertising report in the nrf52832 dev board. I'm using the example code from here : https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/examples/heart_rate_collector/main.c. I check the data in the on_adv_report function.
I want to test that the data send by my own tag are correctly received and understand by the board. To do this stuff, I connect the antenna of my tag directly to the nrf antenna pin and I isolate the nrf board and tag to all the potentials tags around the test.
My tag send 1 data each second on each BLE channel (3 channels). With the code above, I just check if the datapackets are correctly received and descreen. I also measure the time between each reception.
My problem is here : During 10-15 seconds I got the data send by the tag each seconds (so it's okay), and after during 10-15 seconds I don't receive the tag. This pattern repeats itself.
I tried to do some others test. I change the firm of the tag in order to send a data each second but on just 1 channel. And the result is that the board receive a data each 3 seconds (with the same "radio break" duration -> 10-15s). Is it normal? The nrf switch the channel each second ?
I also did an other test : I say to my tag to send data each 0.5s and the result is the same for 1s of emission but the duration of the previous pattern is divide par 2. So all it's okay during 5-7 seconds and after I received anything during 5-7 seconds.
The purpose is to be sure that the tag send correct data. But I want to be sure that the nrf can receive all the data correctly.
So the problem is on the dev board or on my tag? To answer it I need to know if this "radio break" is caused by the dev board or by my tag.
Thanks