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

Fstorage read and write at SDK11

I want to use fstorage to write data to a file. The File with three records: 0x1111="Tablet1", 0x2222="data: abcdef", 0x3333="26". How to implement it? Can anyone guide me?

Parents Reply
  • My source code at attach file.

    print messages as follows: Writing Record ID = 1 set write_flag Writing Record ID = 2 set write_flag Writing Record ID = 3 set write_flag Start searching... Found Record ID = 1 Data = 0x6c626154 0x 317465 Found Record ID = 2 Data = 0x 8fb5 0x20002bf0 0xfffffff9 Found Record ID = 3 Data = 0x 1a

    Second data (0x2222="data: abcdef") is always error. Can you guide me what it is?ble_pstorge.c

Children
No Data
Related