1 Reply Latest reply on Aug 27, 2020 9:55 PM by AnjanaM_61

    How to use permanent  storage?

    ilHw_4713311

      Hello.

       

      CYBT-413034

      Wiced Studio: 6.4(MFi)

       

      Question

      1. After updating firmware, pairing information and BT mac was erased. How can I maintain it?

      (Do I need external storage?)

      2. How can I use nvram for BT display name? I'm not sure if nvram is for custom usage.

        • 1. Re: How to use permanent  storage?
          AnjanaM_61

          Hi ilHw_4713311 ,

           

          1. After updating firmware, pairing information and BT mac was erased. How can I maintain it?

          (Do I need external storage?)

          A: Can you please clarify , did you reprogrammed the module or did OTA firmware upgrade ? Programming will re-write the entire flash, so nvram data will be lost . There is no way to retain the bonding info after reprogramming.

           

          2. How can I use nvram for BT display name? I'm not sure if nvram is for custom usage.

          A: You can use nvram APIs to read / write to nvram. Once you read back from the nvram, you can set device name by modifying .device_name of the wiced_bt_cfg_settings_t  and setting the same in adv data using wiced_bt_ble_set_raw_advertisement_data

           

          Thanks & Regards,

          Anjana

          1 of 1 people found this helpful