I am interested in the nRF52840 chip. Is it possible to get the channel number / frequency, on which an advertisement has been received.
best regards!
I am interested in the nRF52840 chip. Is it possible to get the channel number / frequency, on which an advertisement has been received.
best regards!
HW says nothing, what stack you use? I assume that Nordic S140 Soft Device and then on reception of BLE_GAP_EVT_ADV_REPORT
you cannot get this information unfortunately. But that applies only to current API according to Infocenter, might be subject of change.
Is it Not possible to read the Register for the Synthesizer frequency?
no it is not. You have no idea when you receive the report whether the stack has moved on to an entire different channel. If the channel isn't supplied in the event, you can't know what it was.
Why do you need to know?
Even if BLE_GAP_EVT_REPORT is the official way of "reading " the advertisements you can read them immediatly (at least it is possible for the Chip im currently using (Different Manufacturer)). What I ned to know is the frequency a SCAN_REQ has been sent on. So i would have enough time ~300us to read the Register value
you can't guarantee that. You could end up processing the event ages after it occurred.