需求方主机&设备配对函数?

8 posts / 0 new
Last post
RatheeshT
Offline
Last seen:1 year 11 months ago
Joined:2017-01-02 11:08
需求方主机&设备配对函数?

Hi Dialog,

I am working with DA14580 DSPS example which is working fine and referring UM-B-038 manual for understanding purpose.
I can't able to find how both host and device are getting paired .(how both are establishing connection) & BD_address for both are also same.

Please help me , which function is doing this operation?

Device:
MT_dialog
Offline
Last seen:3 months 10 hours ago
Staff
Joined:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

Pairing has a different meaning In BLE, the DSPS demo doesn't use the security feature, so there's no pairing between the devices. The functions that are executed when a connection indication arrives to the peripheral is the user_on_connection and the same function executes at the central as well when establishing the connection.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
Joined:2017-01-02 11:08
Hi,

Hi,

Can you say which ble example project have used security feature?

MT_dialog
Offline
Last seen:3 months 10 hours ago
Staff
Joined:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

You can have a look at the SDK in the ble_examples at the ble_app_security project.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
Joined:2017-01-02 11:08
Hi,

Hi,
I am using SDK5.0.3 that dont have examples in the name of ble_app_security.

razp
Offline
Last seen:1 year 6 months ago
Joined:2017-02-08 09:20
Hi RatheeshT,

Hi RatheeshT,

I am looking at the same issues at the moment. Follow the example in "Tutorial 5 : Pairing , Bonding & Security" to enable security.

Raz

RatheeshT
Offline
Last seen:1 year 11 months ago
Joined:2017-01-02 11:08
Hi razp,

Hi razp,

Thanks for your response,

Where can i find Tutorial 5 in SDK 5.0.3 ?

MT_dialog
Offline
Last seen:3 months 10 hours ago
Staff
Joined:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

The 5.0.4 version of the SDK has an example of how to implement security on the 580, you can take that as an example. And also as the razp kindly indicated you can have a look at the security tutorial. You will be able to find the tutorial in the Documents tab at the Tutorials section or by following the below link.

https://support.dialog-semiconductor.com/resource/tutorial-5-pairing-bon...

Thanks MT_dialog