数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4486 数据表(PDF) 9 Page - STMicroelectronics

部件名 AN4486
功能描述  This application note describes the BlueNRG and BlueNRG-MS over-the-air
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4486 数据表(HTML) 9 Page - STMicroelectronics

Back Button AN4486 Datasheet HTML 5Page - STMicroelectronics AN4486 Datasheet HTML 6Page - STMicroelectronics AN4486 Datasheet HTML 7Page - STMicroelectronics AN4486 Datasheet HTML 8Page - STMicroelectronics AN4486 Datasheet HTML 9Page - STMicroelectronics AN4486 Datasheet HTML 10Page - STMicroelectronics AN4486 Datasheet HTML 11Page - STMicroelectronics AN4486 Datasheet HTML 12Page - STMicroelectronics AN4486 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 29 page
background image
AN4486
OTA bootloader service description
DocID026293 Rev 2
9/29
Figure 3: BLE OTA service bootloader Flash layout
(1) It assumes DFU.hex application is on Flash base 0x08000000.
Note: OTA_ResetManager IAR project with related header & source files is provided within
the BlueNRG DK software package, Project folder. Also, a prebuilt image is provided within
the folder Project/OTA_prebuilt_images. This IAR project is valid for both BlueNRG and
BlueNRG-MS devices.
2.2.2
BLE application with BLE OTA service
In order to add the BLE OTA service provided within the file btl.c, follow these steps:
1.
On EWARM workspace, add ST_OTA_BTL preprocessor & linker option
2.
On EWARM workspace, use the reference stm32l1xx_flash.icf linker file for matching
the Flash layout described in Figure 3: "BLE OTA service bootloader Flash layout" (it
is provided within the BlueNRG SW package, Projects\Project folder)
3.
On EWARM workspace, add reference to file btl.c and add path related to btl.h file
4.
On BLE user application, include the header file btl.h
5.
On BLE user application, call the btl.c function Add_Btl_Service() for adding the OTA
BLE service and related characteristics
6.
On BLE user application, add OTA service UUID to scan response:
hci_le_set_scan_resp_data(18,BTLServiceUUID4Scan)
7.
On BLE user application, HCI event handler (HCI_Event_CB),
EVT_BLUE_GATT_ATTRIBUTE_MODIFIED event, add the call to the
OTA_Write_Request_CB() API defined within btl.c file
8.
On BLE user application, HCI event handler (HCI_Event_CB), add the
EVT_BLUE_GATT_READ_PERMIT_REQ event case and call to
aci_gatt_allow_read() API (for allowing BLE stack to send a response)
Note: In order to easily identify the IAR BlueNRG demo applications built with the OTA
bootloader service, the platform LEDs are utilized based on the schemes in Table 2: "LEDs



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com