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

New FDS record on each connection

I checked the operation of the application "ble_app_hrs" and I see that the FDS makes a new record in flash memory with every new connection. What is the need and can it be prohibited?

Best regards,

Vladislav.

Parents
  • Hi,

    Maybe the 'PM_PEER_RANKS_ENABLED' setting option is enabled? This will update rank information in flash on every new connections.

    Log message when Rank information is updated in FDS:

    "<info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change" indicating that the fds update was

    Best regards,

    Vidar

  • Hi Vidar, PM_PEER_RANKS_ENABLED does not affect this issue. The peer manager receives the PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event with data_id: PM_PEER_DATA_ID_GATT_LOCAL.

    I am confused that the data for storage has not changed. In a new record, only the record identifier is changed.

    I add logs to FDS
    <info> app: GATT ATT MTU on connection 0x0 changed to 23.
    <info> app: fds_record_update() file_id=0xC000 record_key=0xC008 length_words=7
    <info> app: 03 00 00 00 14 00 0D 00|........
    <info> app: 02 00 00 00 11 00 02 00|........
    <info> app: 01 00 17 00 02 00 00 00|........
    <info> app: EA 66 00 00 |.f..

Reply
  • Hi Vidar, PM_PEER_RANKS_ENABLED does not affect this issue. The peer manager receives the PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event with data_id: PM_PEER_DATA_ID_GATT_LOCAL.

    I am confused that the data for storage has not changed. In a new record, only the record identifier is changed.

    I add logs to FDS
    <info> app: GATT ATT MTU on connection 0x0 changed to 23.
    <info> app: fds_record_update() file_id=0xC000 record_key=0xC008 length_words=7
    <info> app: 03 00 00 00 14 00 0D 00|........
    <info> app: 02 00 00 00 11 00 02 00|........
    <info> app: 01 00 17 00 02 00 00 00|........
    <info> app: EA 66 00 00 |.f..

Children
Related