поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

UM1870 датащи(PDF) 42 Page - STMicroelectronics

номер детали UM1870
подробное описание детали  BlueNRG-MS development kits
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1870 датащи(HTML) 42 Page - STMicroelectronics

Back Button UM1870 Datasheet HTML 38Page - STMicroelectronics UM1870 Datasheet HTML 39Page - STMicroelectronics UM1870 Datasheet HTML 40Page - STMicroelectronics UM1870 Datasheet HTML 41Page - STMicroelectronics UM1870 Datasheet HTML 42Page - STMicroelectronics UM1870 Datasheet HTML 43Page - STMicroelectronics UM1870 Datasheet HTML 44Page - STMicroelectronics UM1870 Datasheet HTML 45Page - STMicroelectronics UM1870 Datasheet HTML 46Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 58 page
background image
BlueNRG-MS chat demo application
UM1870
42/58
DocID027602 Rev 1
initiated by the central in order to access that characteristic. On BLE chat demo, a fixed pin
(123456) is used as follows:
aci_gap_set_auth_requirement(MITM_PROTECTION_REQUIRED,OOB_AUTH_DATA_AB
SENT,NULL,7,16, USE_FIXED_PIN_FOR_PAIRING,123456,BONDING);
6.2.4
Enter connectable mode
On BLE chat, server role device uses GAP ACI commands to enter into general
discoverable mode:
aci_gap_set_discoverable(ADV_IND, 0, 0, PUBLIC_ADDR, NO_WHITE_LIST_USE,8,
local_name, 0, NULL, 0, 0);
The local_name parameter contains the name that will be present in advertising data, as
described in the Bluetooth core specification version 4.1, Vol. 3, Part C, Ch. 11.
6.2.5
Connection with central device
Once the BLE chat, server role device is put in a discoverable mode, it can be seen by the
BLE chat, client role device in order to create a Bluetooth low energy connection.
On BLE chat, client role device uses GAP ACI commands to connect with the BLE chat,
server role device in advertising mode:
aci_gap_create_connection(0x4000, 0x4000, PUBLIC_ADDR, bdaddr, PUBLIC_ADDR, 9,
9, 0, 60, 1000, 1000);
where bdaddr is the peer address of the BLE chat, client role device.
Once the 2 devices are connected, the user can set up a serial terminal and type into each
of them. The typed characters will be respectively stored in 2 buffers and upon pressing the
keyboard return key, BLE communication will work as follows:
1.
On BLE chat, server role device, the typed characters will be sent to BLE chat, client
role device by notifying the TX characteristic that has been previously added (after
notifications have been enabled). This can be done using the following command:
aci_gatt_update_char_value(chatServHandle,TXCharHandle,0,len,(tHalUint8 *)cmd+j)
2.
On BLE chat, client role device, the typed characters will be sent to the BLE chat,
server role device, by writing the RX characteristic that has been previously added.
This can be done using the following command:
aci_gatt_write_without_response(connection_handle, RX_HANDLE+1, len, (tHalUint8
*)cmd+j)
Where connection_handle is the handle returned on connection creation as a
parameter of the EVT_LE_CONN_COMPLETE event.
Once these ACI commands have been sent, the values of the TX, RX characteristics are
displayed on the serial terminals.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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