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

sd_ble_gatts_value_set - invalid param

I am currently migrating my projects to SDK 8.0.0.

I have problem with sd_ble_gatts_value_set function.

I receive write request in one characteristic (char.A), and i want to set OTHER (char.B) characteristic according to value received (i receive INDEX in char. A, a and want to set char.B value as <-- VALUE[INDEX])

i use sd_ble_gatts_value_set to set that value and it works great.

my second use of sd_ble_gatts_value_set is when i directly write to char.b and want to set value of it - this is when i get error 0x00000007 (NRF_ERROR_INVALID_PARAM ?) Connection handle and attribute handle is identical as in 1st scenario. length of ble_gatts_value_t also.

I am running out of ideas, because on older SDK 6.1 these functions worked well (without connection handle argument...). Could s110 v8 SD block set function on characteristics that are currently written to?

Parents Reply Children
No Data
Related