Nordic Peer Manager数据存放位置说明

The peer manager uses the Flash Data Storage (FDS) module, which in turn uses the Flash Storage (fstorage) module, which again employs the Softdevice,’s API for storing data in flash.

The FDS registers with fstorage using the highest priority available, meaning its data will be placed at the highest address in flash, underneath the region reserved for the bootloader (if a bootloader is present). By default the FDS reserves 3 pages of flash (defined in sdk_config.h, minimum is 2), where 1 page is used for garbage handling, the rest is used for storage. The location of the stored data within the reserved memory is based on a first come first serve principal, so data location is not sorted based on user. The size of the data from the peer manager varies with what data it needs to store.

If you use FDS to store your custom data it will be stored in the same reserved flash area where the peer manager data is stored.

For more information please see the following pages on Nordic Infocenter

Peer Manager: infocenter.nordicsemi.com/.../lib_peer_manager.html

Flash Data Storage: infocenter.nordicsemi.com/.../lib_fds.html

Flash Storage: infocenter.nordicsemi.com/.../lib_fstorage.html

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值