| Electronic Components Datasheet Search |
|
UM1870 Datasheet(PDF) 36 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1870 Datasheet(HTML) 36 Page - STMicroelectronics |
|
36 / 58 page ![]() 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. |
|
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 |
| 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 |