This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

p_evt_write->handle != p_cus->custom_value_handle.value_handle when i use nRF-connect for desktop

i have a problem while i am using my phone to connect to custom service i mange to send and receive the data correctly but when i used nRF-connect for desktop the value of p_evt_write->handle = 17 and the value of p_cus->custom_value_handle.value_handle = 16 any help please !
i am working with nRF-52840, s140 and sdk17.1.0

  • Hi

    I'm not sure I understand your question. You say that you see that the write handle is 17 and he custom handle is 16? What values are you expecting here, and what exactly do you need help with? Please tell me more about what you're trying to do and what you're doing.

    Best regards,

    Simon

  • Hi

    when i connect to my kit from mobile phone the value of p_evt_write->handle = p_cus->custom_value_handle.value_handle = 16 and the code run as expected but when i connect to my kit from nRF_connect for desktop and using PCA10056 the value of p_evt_write->handle = 17 and value of p_cus->custom_value_handle.value_handle = 16
    what i want to do ? i want to connect to my kit from nRF_connect for desktop not from my phone
    thank you,

  • Hi

    I'm sorry, but I still don't understand exactly what you mean. Are you using a separate DK as the central in nRF Connect for Desktop to connect to your custom service device. Are both nRF52840 DKs (pca10056) or not?

    Best regards,

    Simon

  • Hi
    i am using separate DK as the central in nRF connect to connect to custom service device. BTW it was "writing with notification enabled" problem and it is solved now thank you.
    Best regards,

Related