Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

UM2071 Datasheet(PDF) 25 Page - STMicroelectronics

No. de pieza UM2071
Descripción Electrónicos  BlueNRG-1 development kit
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM2071 Datasheet(HTML) 25 Page - STMicroelectronics

Back Button UM2071 Datasheet HTML 21Page - STMicroelectronics UM2071 Datasheet HTML 22Page - STMicroelectronics UM2071 Datasheet HTML 23Page - STMicroelectronics UM2071 Datasheet HTML 24Page - STMicroelectronics UM2071 Datasheet HTML 25Page - STMicroelectronics UM2071 Datasheet HTML 26Page - STMicroelectronics UM2071 Datasheet HTML 27Page - STMicroelectronics UM2071 Datasheet HTML 28Page - STMicroelectronics UM2071 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 56 page
background image
UM2071
BlueNRG-1 beacon demonstration application
DocID029370 Rev 3
25/56
6
BlueNRG-1 beacon demonstration application
The BlueNRG-1 beacon demo is supported by the BlueNRG-1 development platform
(STEVAL-IDB007V1). It demonstrates how to configure a BlueNRG-1 device to advertise
specific manufacturing data and allow another BLE device to determine whether it is in
BlueNRG-1 BLE beacon device range.
6.1
BLE Beacon application setup
This section describes how to configure a BlueNRG-1 device to act as a beacon device.
6.1.1
Initialization
The BlueNRG-1 BLE stack must be correctly initialized thus:
aci_gatt_init();
aci_gap_init(GAP_PERIPHERAL_ROLE, 0, 0x08, &service_handle, &dev_name_char_handle,
&appearance_char_handle);
See the BlueNRG-1 BLE stack documentation for more information on these and following
commands.
6.1.2
Define advertising data
The BLE Beacon application advertises the following manufacturing data:
Table 5: BlueNRG-1 Beacon advertising manufacturing data
Data field
Description
Notes
Company identifier
code
SIG company identifier(1)
Default is 0x0030 (STMicroelectronics)
ID
Beacon ID
Fixed value
Location UUID
Beacons UUID
Used to distinguish specific beacons from
others
Major number
Identifier for a group of
beacons
Used to group a related set of beacons
Minor number
Identifier for a single
beacon
Used to identify a single beacon
Tx Power
2's complement of the Tx
power
Used to establish how far you are from
device
Notes:
(1)available at: https://www.bluetooth.org/en-us/specification/assigned-numbers/company-identifiers
6.1.3
Entering non-connectable mode
The BLE Beacon device uses the GAP API command to enter non-connectable mode thus:
aci_gap_set_discoverable(ADV_NONCONN_IND, 160, 160, PUBLIC_ADDR,
NO_WHITE_LIST_USE,0, NULL, 0, NULL, 0, 0);
To advertise the specific selected manufacturer data, the BLE Beacon application can use
the following GAP APIs:
/* Remove TX power level field from the advertising data: it is necessary
to
have enough space for the beacon manufacturing data */
aci_gap_delete_ad_type(AD_TYPE_TX_POWER_LEVEL);



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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