Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Studio Bluetooth

ns_4270701
Level 3
10 replies posted 10 questions asked 5 replies posted
Level 3

Development environment:

Windows 8.1 pro

Platform: CYBT-423028-02

IDE: Wiced Studio 6.2.1

What are the use of below characteristics, and when/how can we use it

     Re connection address

     Peripheral preferred connection parameters

      Peripheral privacy flag

0 Likes
1 Solution
3 Replies
SheetalJ
Moderator
Moderator 750 replies posted 500 likes received 500 replies posted
Moderator

Hi ns_4270701​,

These are BLE GATT characteristics whose details can be found in BT core spec.

If you check /20719-B1_Bluetooth/include/20719/wiced_bt_uuid.h, these characteristics are defined with their default values.

UUID_CHARACTERISTIC_PERIPHERAL_PRIVACY_FLAG                        

= 0x2A02,

UUID_CHARACTERISTIC_RECONNECTION_ADDRESS                           

= 0x2A03,

UUID_CHARACTERISTIC_PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS      = 0x2A04

Please check implementation of other services like battery services in hello_sensor.h. You can implement these services in the same way.

0 Likes
ns_4270701
Level 3
10 replies posted 10 questions asked 5 replies posted
Level 3

What are the uses of it? Where it will be useful?

0 Likes
SheetalJ
Moderator
Moderator 750 replies posted 500 likes received 500 replies posted
Moderator

Apparently these were privacy features added in BT core 4.0 but removed from BT 4.1 spec. Therefore I could not find much information about its use. But you can refer following articles which provide some idea about these features: https://www.bluetooth.com/blog/bluetooth-technology-protecting-your-privacy/

https://stackoverflow.com/questions/29444709/how-can-i-reconnect-my-application-at-every-opening-to-...

An Overview of Addressing and Privacy for Laird's BLE Modules - Laird Technologies Wireless Connecti...

0 Likes