Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM2071 Datasheet(PDF) 27 Page - STMicroelectronics

Part # UM2071
Description  BlueNRG-1 development kit
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM2071 Datasheet(HTML) 27 Page - STMicroelectronics

Back Button 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 UM2071 Datasheet HTML 30Page - STMicroelectronics UM2071 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 56 page
background image
UM2071
BlueNRG-1 chat demo application
DocID029370 Rev 3
27/56
7
BlueNRG-1 chat demo application
The BlueNRG-1 chat demo (server and client roles) is supported on the BlueNRG-1
development platform (STEVAL-IDB007V1). It implements simple two-way communication
between two BlueNRG-1 devices, demonstrating point-to-point wireless communication
using the BlueNRG-1 product.
This demo application exposes a single chat service with the following (20 byte max.)
characteristic values:
The TX characteristic, with which the client can enable notifications; when the server
has data to be sent, it sends notifications with the value of the TX characteristic.
The RX characteristic, is a writable characteristic; when the client has data to be sent
to the server, it writes a value in this characteristic.
There are two device roles which can be selected through the specific project workspace:
The Server that exposes the chat service (BLE peripheral device).
The Client that uses the chat service (BLE central device).
The application requires two devices to be programmed with respective server and client
roles. These must be connected to a PC via USB with an open serial terminal for each
device, with the following configurations:
Table 6: Serial port configuration
Parameter
value
Baudrate
115200 bit/s
Data bits
8
Parity bits
None
Stop bits
1
The application listens for keys typed in one device terminal and sends them to the remote
device when the return key is pressed; the remote device then outputs the received RF
messages to the serial port. Therefore, anything typed in one terminal becomes visible in
the other.
7.1
Peripheral and central device setup
This section describes how two BLE chat devices (server-peripheral and client-central)
interact with each other in order to set up a point-to-point wireless chat.
BlueNRG-1 must first be set up on both devices by sending a series of API commands to
the processor.
7.1.1
Initialization
The BlueNRG-1 BLE stack must be correctly initialized before establishing a connection
with another BLE device. This is done with aci_gatt_init() and aci_gap_init()
APIs:
aci_gatt_init();
BLE Chat server role:
aci_gap_init(GAP_PERIPHERAL_ROLE, 0, 0x08, &service_handle, &dev_name_char_handle,
&appearance_char_handle);
BLE Chat client role:



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 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