Good afternoon,
I have a question regarding the ble_app_hrs_rscs_relay example. I am using this example to read scan response data from a peripheral without pairing with it. I am parsing the data and would like to send it to a cell phone that connects to the ble_app_hrs_rscs_relay example.
I have written a simple service that shows up no my phone once i pair with the ble_app_hrs_rscs_relay. What is the best way to write to the attribute value of this example? again the ble_app_hrs_rscs_relay example i am using is not connected to any device except my phone. All the relay_example is doing is receiving scan responses and i would like to write these to an attribute that i can see from my phone. The problem i am having when writing to the attribute is that since the ble_app_hrs_rscs_relay example is not connected to any peer, i cannot write data with sd_ble_gatts_hvx(p_relay_service->conn_handle, &hvx_params) since the conn_handle is invalid(because there is no connection to another server).
I am a using nrf52840 Board with softdevice s140 nRF5_SDK_15.2.0.
-- many thanks