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

sdk 12.3.0 - how to return response after characteristic write is called?

Hi all,

I'm trying to return a write response in nRF sdk but so far no success.

Actually I'm still scratching my head to figure out how characteristic write works exactly in nRF sdk. Take the TPS for example, I cannot find anywhere ble_tps_tx_power_level_set is called in the SDK nor any example code although the API is defined - the compilation setup is so strict that normally if you declare an API but not using it, the compiler will issue an error. But in the TPS case, it does not complain at all.

Can someone please point me how the logic is glued together? I just want to do some parameter checking for write and return error if invalid config is given.

Thanks in advance, Carl

Parents Reply Children
No Data
Related