Measure RSSI of paired devices

Learn MoreFAQsTutorials

8 posts / 0 new
Last post
azimin
Offline
Last seen: 2 weeks 3 days ago
Joined: 2018-12-12 12:11
Measure RSSI of paired devices

Hello,

I want to pair a few smartphones with DA14586, and save informationa about paired devices. Further DA14586 has to check RSSI with them, via systick timer.

Please help, which examples or tutorial should I look?

Thanks.

Keywords: 
Device: 
PM_Dialog
Offline
Last seen: 35 min 14 sec ago
Staff
Joined: 2018-02-08 11:03
Hi azimin,

Hi azimin,

There is not any example of tutorial in order to get the RSSI values when you are connected with a peer device. Let me describe you what you can do in order to get the RSSI values. It might be little bit tricky. So, when the device is in connected state, you should issue GAPC_GET_INFO_CMD with GAPC_GET_CON_RSSI operation in order to request the RSSI values.  Since you have sent the GAPC_GET_INFO_CMD into the BLE stack, you will get a GAPC_CON_RSSI_IND, so you will have to handle this message. The values will be returned to rssi member of the struct gapc_con_rssi_ind.

Thanks, PM_Dialog

azimin
Offline
Last seen: 2 weeks 3 days ago
Joined: 2018-12-12 12:11
Hi,

Hi,

Maybe I explained my idea no so clear. I don't want to measure rssi when device is connected to the DA14586. I want to pair the device once and safe device name or mac address in DA14586 memory. After that I want from DA14586 to measure RSSI from stored devices.

PM_Dialog
Offline
Last seen: 35 min 14 sec ago
Staff
Joined: 2018-02-08 11:03
Hi azimin,

Hi azimin,

To be honest, again I am not able to understand what you are trying to accomplish. The ble_app_security example stores the bonding data in the SPI flash, so could you please let me know if want a similar functionality? Where do you want to save the device name or mac address? In the internal SPI flash of DA14586? The DA14586 will be acting as a central or as a peripheral?

Thanks, PM_Dialog

mindatelematics
Offline
Last seen: 6 days 46 min ago
Joined: 2019-07-29 07:56
hi, 

hi, 

iam using da14586 as peripheral.I want to store previously paired device name or mac address in flash.please help

PM_Dialog
Offline
Last seen: 35 min 14 sec ago
Staff
Joined: 2018-02-08 11:03
Hi mindatelematics,

Hi mindatelematics,

Can you please provide more inputs? Which SDK/example are you using? Do you have a custom application? In addition, if I am able to understand correctly, you want to store the central’s BD address/device name. Is that correct? If yes,  the central is another DA14585 or a mobile application?

Since this forum thread is a bit old, I would suggest you create a new one and post your question.

Thanks, PM_Dialog

mindatelematics
Offline
Last seen: 6 days 46 min ago
Joined: 2019-07-29 07:56
We are using 6.0.10 sdk

Hi,

We are using 6.0.10 sdk version. we are using mobile application as central and  da14586 as peripheral.

PM_Dialog
Offline
Last seen: 35 min 14 sec ago
Staff
Joined: 2018-02-08 11:03
Hi mindatelematics,

Hi mindatelematics,

Please check out the DA14585/DA14586 Scan Tracking peripheral SW Example from our support website. All our SW examples don’t contain SDK, so please read SW Example: DA1458x Example Setup guide. This example shows how a peripheral device can track if it is scanned and which central device performs the scanning procedure. The scan device needs to scan in active mode since the peripheral device will track if it is scanned using the scan request that the central will issue to get the scan response data from the peripheral.

Thanks, PM_Dialog