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

How to do static authentication on PB_GATT unprovision advertise connection in nRF mesh

Hi,

When I am trying to connect nRF Mesh sdk 2.2 on nrf52832 DK using nRF connect mobile application I am able to connect without static passkey, now I want to enable static authentication on connection request from nRF connect. Is it possible to do some static authentication like BLE men in middle protection? In nrf mesh SDK which section I need to integrate this part

-

Thanks,

Pintu

Parents
  • Hi Pintu,

    Do you not get a disconnect when you access the data in or data out services on nRF Connect with the light switch proxy client or proxy server examples in mesh sdk v2.2.0? I believe this has something to do with a different packet format in the nRF Mesh app compared with nRF Connect for mobile. Do you realize that the source code for nRF Mesh is available (iOS, Android) & you are allowed to modify it, whereas nRF Connect for Mobile is not unfortunately?

    Also, we already use static authentication in our light switch example. See this case & comment from Hung Bui:

    "Static authentication (including OOB static authentication) is already used in our example. Currently we used a fix data (look for STATIC_AUTH_DATA). But you can use NFC, QR code or anything to update this value (on both provisioner and provisionee). It should be pretty straight forward to implement. Have a look at the config_params in main() in our light switch example."

    Kind Regards,

    Bjørn

  • Hi Bjorn,

    Sorry for late response.

    1) When I am writting hex in service UUID 0x1827 on 0x2ADB characteristic it got disconnect when entering 0x0001, so if I want to send user data on this before provisioning device need to custome this service?

    2) Got use case of STATIC_AUTH_DATA

    Thanks,

    Pintu

Reply Children
Related