This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to recover after a VDD reset?

Other Parts Discussed in Thread: SIMPLICITI

Hi!

Simpliciti 1.1.0:

I have one AP and many ED. I can't figure out how to recover after an AP reset. The EDs knows the JoinToken and could rejoin and relink to the AP again, but as simpliciti doesn't support rejoin and relink automatically I'm looking at the possibillity to use the IOCTL_OBJ_NVOBJ. When do I have to save the context, is it enough to save just after an ED has linked or do I have to save the context after each frame received? I wonder because the connInfo_t contains connTxCTR, connRxCTR, ackTID (I have security and autoack enabled) and they change after each new frame received. The End Devices is battery operated so they will not reset because the AP did so the connection context  in ED and AP will differ when AP restarts and restores old values for connXxCTR and ackTID. Will Simplicity be able to recover from this?

If I have to rejoin and relink, is there any sample code on how to do this? I find it pretty complicated if I have to add link recovery code every time I send a message.

Regards Henrik Danielsson

  • Hi

    I have the same questions you have and the same context: security and autoack enabled. Could you help me? It's hard to belive I haven't found much more information about the NVOBJ object, and I don't know where I could find more help.

    Thanks you in advance

    Regards

  • Hi!

    Counters used for encryption will most likely be out of sync when NVOBJ is restored as I''ve come to the conclusion that NVOBJ can't be used when security is enabled. If NVOBJ is stored after each frame received and sent it might work, but it will wear out your flash.

  • Hi

    But until I know, you have sync window that could help you to recover syncronization using the counter hint sent with each frame. Have you read the application note about SimpliciTI's security? According to this document, you could just save the context before receive 255 frames from an ED. This could be useful if you have fair traffic in your system.

    Regards