Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

PM0237 Datasheet(PDF) 63 Page - STMicroelectronics

Part # PM0237
Description  The main purpose of this document is to provide a developer
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0237 Datasheet(HTML) 63 Page - STMicroelectronics

Back Button PM0237 Datasheet HTML 59Page - STMicroelectronics PM0237 Datasheet HTML 60Page - STMicroelectronics PM0237 Datasheet HTML 61Page - STMicroelectronics PM0237 Datasheet HTML 62Page - STMicroelectronics PM0237 Datasheet HTML 63Page - STMicroelectronics PM0237 Datasheet HTML 64Page - STMicroelectronics PM0237 Datasheet HTML 65Page - STMicroelectronics PM0237 Datasheet HTML 66Page - STMicroelectronics PM0237 Datasheet HTML 67Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 88 page
background image
DocID027104 Rev 2
63/88
PM0237
Design an application using BlueNRG, BlueNRG-MS ACI APIs
88
3.5
Security (pairing and bonding)
This section describes the main functions to be used in order to establish a pairing between
two devices (authenticate the devices identity, encrypt the link and distribute the keys to be
used on coming next reconnections).
When using the security features, some low level parameters (root keys) must be set,
before raising any other ACI commands:
DIV root key used to derive CSRK
Encryption root (ER) key used to derive LTK and CSRK
Identity root (IR) key used to derive IRK and CSRK
The external microcontroller (MCU) has the responsibilities to provide these parameters as
follows:
1.
It has to randomly generate the three root key values (if not already generated) and
store them in a non-volatile-memory. The three root keys have to be generated only
one time, in order to univocally establish the specific BlueNRG, BlueNRG-MS device
security settings.
2.
Each time the MCU starts, it has to read the root keys from the non-volatile-memory
and set them during the initialization phase of the BlueNRG, BlueNRG-MS device.
Following is a simple pseudo code showing how to set the read randomly generated
security root keys on BlueNRG, BlueNRG-MS devices:
uint8_t DIV[2];
uint8_t ER[16];
uint8_t IR[16];
/* Reset BlueNRG, BlueNRG-MS device */
BlueNRG_RST();
/* Microcontroller specific implementation:
1) MCU has to
randomly generate DIV, ER and IR and store them in
a non volatile memory.
2) When MCU starts it has to read DIV, ER and IR values from the
non volatile memory.
*/
………
/* Configure read root key DIV on BlueNRG, BlueNRG-MS device
*/
ret = aci_hal_write_config_data(CONFIG_DATA_DIV_OFFSET,
CONFIG_DATA_DIV_LEN,(uint8_t *) DIV);
/* Configure read root key ER on BlueNRG, BlueNRG-MS device */
ret = aci_hal_write_config_data(CONFIG_DATA_ER_OFFSET,
CONFIG_DATA_ER_LEN,(uint8_t *) ER);
/* Configure read root key IR on BlueNRG, BlueNRG-MS device */



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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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