I am a freshman. And I am doing some research on BTLE by nRF51822-EK. I want to get RSSI. Could you please tell me if there is a reference code or project in SDK? Is there any book about development of BTLE? Please tell me. Many thanks.
I am a freshman. And I am doing some research on BTLE by nRF51822-EK. I want to get RSSI. Could you please tell me if there is a reference code or project in SDK? Is there any book about development of BTLE? Please tell me. Many thanks.
To start receiving RSSI measurements with the S110 softdevice, you just call sd_ble_gap_rssi_start(). This will then give you BLE_GAP_EVT_RSSI_CHANGED events in which you can read the current RSSI level. Please note that this only works while in a connection.
But where should I write the code. As you known, the company just give a 'HEX' file. And another question is how I can find the special function which I need. Looking forward to your reply. Many thanks
I assumed you had already installed the SDK and looked at the example applications, in which you could add this call on for example the event handler for the connected event.
If that's not the case, I urge you to take a look at your kit's user guide and follow the quick start there to get up and running. That would be either the nRF51822 Evaluation Kit User Guide https://www.nordicsemi.com/eng/content/download/13641/219547/file/nRF51822_Evaluation_Kit_User_Guide%20v1.1.pdf or the Development Kit User Guide https://www.nordicsemi.com/eng/content/download/13239/213080/file/nRF51822_Developer_Kit_User_Guide%20v1.2.pdf
I am so sorry to bother you again. I have read the guide. The example ble_hrs is connected. But I can't change the code PCA10000. How can I do?
I am so sorry to bother you again. I have read the guide. The example ble_hrs is connected. But I can't change the code PCA10000. How can I do?