Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM1870 Datasheet(PDF) 36 Page - STMicroelectronics

Part # UM1870
Description  BlueNRG-MS development kits
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1870 Datasheet(HTML) 36 Page - STMicroelectronics

Back Button UM1870 Datasheet HTML 32Page - STMicroelectronics UM1870 Datasheet HTML 33Page - STMicroelectronics UM1870 Datasheet HTML 34Page - STMicroelectronics UM1870 Datasheet HTML 35Page - STMicroelectronics UM1870 Datasheet HTML 36Page - STMicroelectronics UM1870 Datasheet HTML 37Page - STMicroelectronics UM1870 Datasheet HTML 38Page - STMicroelectronics UM1870 Datasheet HTML 39Page - STMicroelectronics UM1870 Datasheet HTML 40Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 58 page
background image
BlueNRG-MS sensor profile demo
UM1870
36/58
DocID027602 Rev 1
Security_Permissions=0x00, GATT_Evt_Mask=0x01, Enc_Key_Size=0x07,
Is_Variable=0x01)
With this command a variable-length characteristic has been added, with read, write and
notify properties. The characteristic handle is also returned (Char_Handle).
5.3.3
Set security requirements
BlueNRG-MS exposes a command that the application can use to specify its security
requirements. If a characteristic has security restrictions, a pairing procedure must be
initiated by the central in order to access that characteristic. Let's assume we want the user
to insert a passcode during the pairing procedure.
–
ACI_GAP_SET_AUTH_REQUIREMENT(MITM_Mode=0x01, OOB_Enable=0,
OOB_Data=0, Min_Encryption_Key_Size=7, Max_Encryption_Key_Size=16,
Use_Fixed_Pin=0, Fixed_Pin=123456, Bonding_Mode=1)
5.3.4
Enter connectable mode
Use GAP ACI commands to enter one of the discoverable and connectable modes.
–
ACI_GAP_SET_DISCOVERABLE(Advertising_Type=0x00,
Advertising_Interval_Min=0x800, Advertising_Interval_Max=0x900,
Own_Address_Type=0x00, Advertising_Filter_Policy=0x00,
Local_Name_Length=0x08, Local_Name='\x08BlueNRG',
Service_UUID_Length=0x00, Service_UUID_List=0x00,
Slave_Connection_Interval_Min=0x0000,
Slave_Connection_Interval_Max=0x0000)
The Local_Name parameter contains the name that will be present in advertising data, as
described in Bluetooth core specification version 4.1, Vol. 3, Part C, Ch. 11(d).
5.3.5
Connection with central device
Once BlueNRG-MS is put in a discoverable mode, it can be seen by a central device in
scanning.
Any Bluetooth smart and smart-ready device can connect to BlueNRG-MS, such as a
smartphone. LightBlue is one of the applications in the Apple store for iPhone® 4S/5 and
later versions of Apple’s iPhone.
Start the LightBlue application. It will start to scan for peripherals. A device with the
BlueNRG-MS name will appear on the screen. Tap on the box to connect to the device. A
list of all the available services will be shown on the screen. Touching a service will show the
characteristics for that service.
BlueNRG-MS has added two standard services: GATT Service (0x1801) and GAP service
(0x1800).
Try to read the characteristic from the service just added (0xA001). The characteristic has a
variable length attribute, so you will not see any value. Write a string into the characteristic
and read it back.
d.
The first byte of the value is the AD Type. In BlueNRG-MS GUI the \xHH notation is used to specify a byte in
hexadecimal format inside a string.



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


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