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

Mesh proxy re connection and sequence number

Hi

I re open an old ticket to know about changes in the Android Mesh Library

https://devzone.nordicsemi.com/f/nordic-q-a/45553/is-sequence-number-and-transaction-id-equal

I see that, now, the Mesh SDK for nrf52 keep a good track of sequence number and IV index. But we are still facing issues when a phone re connect to a proxy node.

To get the sequence number, we send a message to set a new proxy filter type (here blacklist 0x0000) and receive a new sequence number.

But sometime the board is not accepting the filter messages.

Also, the board is not accepting any message after the app came to foreground. when the app is in background, it is connected to the board all the time. so here we need to restarting the board before being able to send any new message.

Is there any way to get the board's sequence number without sending filter messages?

thank you very much.

Parents
  • yes, it is a problem for us.

    indeed the sequence number is stored, but it changes across the time. and after a while, it get out of sync with the FW.

    we found a way to 'update' this stored sequence number. but we had to change a bit the sdk.

    at the moment the BLE connection is etablished (device ready), the FW send, spontaneously, 2 messages: proxy filter status and proxy state status.

    with these message, the mobile app is able to update the sequence number, and can send messages to the FW, and the FW can decrypt the messages.

    will this affect bluetooth qualification?

Reply
  • yes, it is a problem for us.

    indeed the sequence number is stored, but it changes across the time. and after a while, it get out of sync with the FW.

    we found a way to 'update' this stored sequence number. but we had to change a bit the sdk.

    at the moment the BLE connection is etablished (device ready), the FW send, spontaneously, 2 messages: proxy filter status and proxy state status.

    with these message, the mobile app is able to update the sequence number, and can send messages to the FW, and the FW can decrypt the messages.

    will this affect bluetooth qualification?

Children
No Data
Related