This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

Receiving ACK in the client side

hi

I am using nRF52832 and mesh sdk V4.2

I have modified the light switch example in order to send 1 byte of data instead of the on-off commands. in the server side I can receive my data and the server sends back an acknowledge message .but I can't receive the acknowledge message in the client side and the Acknowledged Transfer Times out.

Any idea how to fix this?

Thanks

  • Hi,

    Do you get the expected behavior when testing the unmodified light switch example as well?

    Regards,
    Terje

  • yes, the unmodified example works absolutely fine.

    I guess my problem has something to do with the opcodes I am using .for transferring my data I defined a new opcode and I know how to use it in the client side to send the message but for the acknowledge message I have 2 questions:

    1) which part of the code in the server side is responsible for sending back an acknowledged message?

    2) which part pf the code in the client side is responsible for receiving it?

    Basically I don't know how the whole sending back an acknowledged message works!

    Thank you for helping me with this

    Delaram 

  • hello again

    I fixed the problem, I didn't change one of the default opcodes to my defined one and that was causing the problem in acknowledge message receiving.

    thank you,

    Delaram

Related