Hello.
I want to migrate function of "sd_ble_gatts_value_set" to nRF52 from nRF51. I use nRF52832 ,S132 and PCA10040.
I saw documentations about the function. infocenter.nordicsemi.com/.../group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html
I could understand difference of parameter what need function.
Parameters what nRF51's code use are uint16_t handle, uint16_t offset, uint16_t * const p_len, const uint16_t * const p_value.
Parameters what nRF52's code need are uint16_t conn_handle uint16_t handle ble_gatts_value_t * p_value.
I could understand ble_gatts_value_t, but I could not understand difference of conn_handle and handle.
What should I set two handle of the parameter? I could not know what this sentence mean.
Connection handle. If the value does not belong to a system attribute then BLE_CONN_HANDLE_INVALID can be used.
Please tell me!