DA14580 Expert Kit RSSI(Received Signal Strength Indication)

5 posts / 0 new
Last post
kyo2733
Offline
Last seen:5 years 7 months ago
加入:2015-01-28 02:02
DA14580 Expert Kit RSSI(Received Signal Strength Indication)

Hi, I'm studying by using DA14580 Expert Kit and Reference designs. But I have some questions about Reference designs.

I'm studying SPS, and I'd like to find out RSSI data from Ref design. But I think it's too hard for me to find it.

Could you tell me where I can get RSSI data in Ref design?

Or which files should I look over?

I've tried to look for it, but I can't. :(

I'm using "sps_device_fh.uvproj" file. I'd be happy when I get some information about that from you.

Thank you.

Keywords:
apark
Offline
Last seen:2 weeks 6 days ago
工作人员
加入:2014-07-07 03:29
Dear Customer,

Dear Customer,

If you mean that RSSI data is connection RSSI, you're able to retrieve the connection RSSI value through the below code.


/**
****************************************************************************************
* @brief Send Read rssi request to GAP task.
*
* @return void.
****************************************************************************************
*/
void app_read_rssi(void)
{
struct gapc_get_info_cmd * req = KE_MSG_ALLOC(GAPC_GET_INFO_CMD, TASK_GAPC, TASK_APP, gapc_get_info_cmd);
req->operation = GAPC_GET_CON_RSSI;
ke_msg_send((void *) req);
}

and then, you can get the connection RSSI value when GAPC_CON_RSSI_IND event triggered.

- app_task_handlers.h

EXTERN const struct ke_msg_handler app_default_state[] =
{
...
{GAPC_CON_RSSI_IND, (ke_msg_func_t)gapc_read_con_rssi_ind_handler},
...
}

- GAPC_CON_RSSI_IND event handler

int gapc_read_con_rssi_ind_handler(ke_msg_id_t const msgid,
struct gapc_con_rssi_ind *param,
ke_task_id_t const dest_id,
ke_task_id_t const src_id)
{
(void)param->rssi; // connection RSSI
return (KE_MSG_CONSUMED);
}

Please refer tothe GAP interface specificationsection 5.4, if you need further detail.

Best Regards
Alvin.

joe.brackman
Offline
Last seen:4 years 5 months ago
加入:2015-05-29 18:47
Hi. The GAP interface spec

Hi. The GAP interface spec doc you linked is a 404. Riviera Wave has been acquired by CEVA, as I'm sure you know, and docs there, if they exist, are behind a password wall. Do you know of a working link for that GAP doc?

Thanks!

Joacimwe
Offline
Last seen:1 year 3 months ago
Guru
加入:2014-01-14 06:45
The GAP interface

The GAP interface specification can be found here:http://support.dialog-semiconductor.com/resource/gap-interface-specifica...

joe.brackman
Offline
Last seen:4 years 5 months ago
加入:2015-05-29 18:47
Thanks again!

Thanks again!

Topic locked