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

My Android Phone can not access mesh node through GATT,because of BAD MIC.

In Our project we build a mesh network(about 100 mesh node),before it work fine,but now we found can not access all mesh node through GATT link using mesh provision app.
So i debug the device(mesh node),i found "Decryption Fail" Error and i get the bad mic cause this fail.The Source code;

------------------------------------------------------------------------
nordicMesh-v5.0/mesh/core/src/ccm_soft.c
ccm_soft_decrypt{
    *p_mic_passed = memcmp(mic_out, p_data->p_mic, p_data->mic_len) == 0;
}

------------------------------------------------------------------------

mic_out(device calculate) is not the same as p_pata->p_mic(from remote phone)

I can Positioning error but can not reslove. anyone can help?

Thanks!

Parents
  • Hi,

    Our project we build a mesh network(about 100 mesh node),before it work fine,but now we found can not access all mesh node through GATT link using mesh provision app

    Can you clarify what you mean? You say it worked before, what have changed?

    What phone have you tested with? Have you tried testing with another phone and do you see the same issue?

Reply
  • Hi,

    Our project we build a mesh network(about 100 mesh node),before it work fine,but now we found can not access all mesh node through GATT link using mesh provision app

    Can you clarify what you mean? You say it worked before, what have changed?

    What phone have you tested with? Have you tried testing with another phone and do you see the same issue?

Children
Related