Send data with sd_ble_gatts_hvx with custom length

i am working with s140 on nRF-52840 and i send the data with sd_ble_gatts_hvx() and notification on custom service  but the length of transmitted data always = 501 even if i changed hvx_params.p_len with my required length can i modify the length in run time ?
if it is possible how can i do that ??
i am working with sdk17.1.0
thanks for your help !

Parents Reply Children
Related