How to extract json file

Hi everyone,

I'm working with a own device who acts like a provisioner in a bluetooth mesh net and with more devices acting like slaves devices (lights, switches, etc). Is it possible to extract the json file from the cdb on the device that acts as a provisioner via software? Is there an API for this? 

Regards, Ivan

Parents Reply
  • Sorry about the delay. 

    If the device is not read protected: 
    Read the flash and settings storage: That would give you pretty much all the snapshot of key materials, sequence numbers, IV indices, etc. Once you have this data, you can transfer this to the new device via shell commands (or by custom methods).

    If the device is read protected:
    The device must periodically transfer CDB data to some gateway. This data can then be migrated to the new device via shell commands (or by custom methods). 

    Once the new gateway has keys, it can query entire network one-by-one to restore its understanding of configuration of each node in the network.

    Br, 
    Joakim

Children
Related