This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Read BLE received data when being a peripheral ?

hello everyone ,

Well first I have to mention that I'm at a the very starting stages in using this great DK and I went throw some tutorials ... Well , I have some questions that might seem stupid so please forgive that fact , my question is how to read received data from when the nRF51 422 being a peripheral ? I actually also would like to know something else , I've spent quite time trying to follow the the heart rate example and at some point I guess that the data was encrypted before being sent so my second stupid question is how is the data supposed to be dealt with when received by an application ? thank you for your attention

  • As per my knowledge you no need to bother about services because we only write to the characteristics and for sure each characteristic will have different handles.only thing you need to do is checking weather the handle is equals are not just like if(p_evt_write->handle == p_nus->tx_handles.value_handle) in case of nus. "could a peripheral be a server and a client at the same time" yes the softdevice s130 support for both server and client roles simultaneously

Related