Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AN4486 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN4486
Description  This application note describes the BlueNRG and BlueNRG-MS over-the-air
Download  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4486 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN4486 Datasheet HTML 2Page - STMicroelectronics AN4486 Datasheet HTML 3Page - STMicroelectronics AN4486 Datasheet HTML 4Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 29 page
background image
OTA bootloader service description
AN4486
6/29
DocID026293 Rev 2
2
OTA bootloader service description
The OTA bootloader service is addressed through the files btl.[ch] provided within the
BlueNRG DK software which supports both BlueNRG and BlueNRG-MS devices.
The following provides a brief description of the OTA bootloader service and related
characteristics:
Bootloader OTA service: the bootloader service
aci_gatt_add_serv(UUID_TYPE_128, UUID, PRIMARY_SERVICE, 10,
&btlServHandle)
Btl Image characteristic: contains information related to the lower and higher bounds
of free memory as suggested by the current application that includes the OTA
bootloader service
aci_gatt_add_char(btlServHandle, UUID_TYPE_128, UUID, 8,
CHAR_PROP_READ, ATTR_PERMISSION_NONE,
GATT_INTIMATE_APPL_WHEN_READ_N_WAIT,16, 0, &btlImageCharHandle)
Btl new image characteristic: contains the base address and the size of the image that
the master wants to send over-the-air
aci_gatt_add_char(btlServHandle, UUID_TYPE_128, UUID, 9,
CHAR_PROP_READ|CHAR_PROP_WRITE|CHAR_PROP_WRITE_WITHOUT_
RESP, ATTR_PERMISSION_NONE,
GATT_INTIMATE_APPL_WHEN_READ_N_WAIT |
GATT_SERVER_ATTR_WRITE,16, 0, &btlNewImageCharHandle)
Btl new image content characteristic: contains a 16-byte block of firmware image data
sent by the master (through a characteristic write command) along with some control
information such as block sequence number (2 bytes) and checksum for integrity
check (1 byte)
aci_gatt_add_char(btlServHandle, UUID_TYPE_128, UUID, 20,
CHAR_PROP_READ|CHAR_PROP_WRITE|CHAR_PROP_WRITE_WITHOUT_
RESP, ATTR_PERMISSION_NONE,
GATT_INTIMATE_APPL_WHEN_READ_N_WAIT |
GATT_SERVER_ATTR_WRITE,16, 0, &btlNewImageTUContentCharHandle)
Btl expected image sequence number characteristic, through which the slave device
notifies the master about the next block it expects
aci_gatt_add_char(btlServHandle, UUID_TYPE_128, UUID, 4,
CHAR_PROP_NOTIFY|CHAR_PROP_READ, ATTR_PERMISSION_NONE,
GATT_INTIMATE_APPL_WHEN_READ_N_WAIT, 16, 0,
&btlExpectedImageTUSeqNumberCharHandle)
Note: OTA bootloader service and proprietary 128-bit UUID characteristics are defined
within the file btl.c.
2.1
Bootloading transactions
This section walks through the steps for OTA bootloading:
1.
Once the master and slave running the OTA bootloader service are set, a discovery
procedure needs to be done in order for the two devices to connect. Discovery is
achieved by listening to advertisements coming from devices within the radio range
(active scan) and selecting the ones containing the OTA BTL service UUID 128-bits
within the scan response.
2.
The name of the selected device will be read from the advertising message to be
utilized by the master in order to enhance the slave identification procedure.


Similar Part No. - AN4486

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN4488 STMICROELECTRONICS-AN4488 Datasheet
968Kb / 44P
   Getting started with STM32F4xxxx MCU hardware development
More results

Similar Description - AN4486

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN4494 STMICROELECTRONICS-AN4494 Datasheet
839Kb / 34P
   Bringing up the BlueNRG and BlueNRG-MS devices
AN4630 STMICROELECTRONICS-AN4630 Datasheet
1Mb / 33P
   PCB design guidelines for the BlueNRG and BlueNRG-MS devices
UM1868 STMICROELECTRONICS-UM1868 Datasheet
394Kb / 19P
   BlueNRG and BlueNRG-MS information register
AN2690 STMICROELECTRONICS-AN2690 Datasheet
1Mb / 31P
   This application note describes the characteristics and the features
AN3014 STMICROELECTRONICS-AN3014 Datasheet
1,010Kb / 29P
   This application note describes the characteristics and the features
AN3423 STMICROELECTRONICS-AN3423 Datasheet
93Kb / 13P
   This application note describes the operations
AN3233 STMICROELECTRONICS-AN3233 Datasheet
2Mb / 35P
   This application note describes the characteristics
AN2941 STMICROELECTRONICS-AN2941 Datasheet
1Mb / 37P
   This application note describes the characteristics and the features
AN3089 STMICROELECTRONICS-AN3089 Datasheet
649Kb / 25P
   This application note describes the characteristics
AN2970 STMICROELECTRONICS-AN2970 Datasheet
378Kb / 11P
   This application note describes the ProxSense
More results


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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
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