BLE_API v2.1.3

Modules | Macros
MCU Flash Map (BLE Bonding) Porting Definition
Porting » MCU Porting Related » MCU Flash Porting Definition » MCU Flash Map Definition

## Modules
| MCU Flash Function Definition

## Macros
#define | BONDING_INFORMATION_ADDRESS 0x0000F000
#define | SIZE_OF_BONDING_INFORMATION FLASH_PAGE_SIZE * 4
#define | SIZE_OF_DATA_FLASH FLASH_PAGE_SIZE * 3

## Detailed Description

MCU flash map for BLE bonding porting related definition.

Attention
  Do not modify the setting of SIZE_OF_BONDING_INFORMATION and SIZE_OF_BONDING_DATA.

MCU flash map for data flash related definition. There are three pages in data flash. The 1st page is used for BLE device address, 2nd and 3rd pages are reserved for user data (ex. AT command settings use 2nd page).

## Macro Definition Documentation

## ◆ BONDING_INFORMATION_ADDRESS

#define BONDING_INFORMATION_ADDRESS 0x0000F000

Address of bonding information block.

## ◆ SIZE_OF_BONDING_INFORMATION

#define SIZE_OF_BONDING_INFORMATION FLASH_PAGE_SIZE * 4

Total size of BLE bonding information array.

## ◆ SIZE_OF_DATA_FLASH

#define SIZE_OF_DATA_FLASH FLASH_PAGE_SIZE * 3

Total Size for saving FOTA update information, please reference structure "ota_information_t" (fota.c) to get the page content.