FM : Changes to add new hci commands for ftm
This include adding support to read RDS group counters and
other diagnoistic hci commands used for FTM app.
Change-Id: I56656dc9d427a32f0385f586535d3421ff4f49b0
diff --git a/helium/radio-helium.h b/helium/radio-helium.h
index 430ddbf..9952884 100644
--- a/helium/radio-helium.h
+++ b/helium/radio-helium.h
@@ -159,6 +159,7 @@
typedef void (*ert_cb)(char *ert);
typedef void (*disable_cb)();
typedef void (*callback_thread_event)(unsigned int evt);
+typedef void (*rds_grp_cntrs_cb)(char *rds_params);
typedef struct {
size_t size;
@@ -177,6 +178,7 @@
rt_plus_cb rt_plus_update_cb;
ert_cb ert_update_cb;
disable_cb disabled_cb;
+ rds_grp_cntrs_cb rds_grp_cntrs_rsp_cb;
callback_thread_event thread_evt_cb;
} fm_vendor_callbacks_t;
@@ -387,6 +389,18 @@
short srch_pi;
} ;
+struct hci_fm_rds_grp_cntrs_params {
+ int totalRdsSBlockErrors;
+ int totalRdsGroups;
+ int totalRdsGroup0;
+ int totalRdsGroup2;
+ int totalRdsBlockB;
+ int totalRdsProcessedGroup0;
+ int totalRdsProcessedGroup2;
+ int totalRdsGroupFiltered;
+ int totalRdsChangeFiltered;
+} ;
+
struct hci_fm_search_station_list_req {
char srch_list_mode;
char srch_list_dir;
@@ -623,6 +637,12 @@
struct hci_fm_recv_conf_req recv_conf_rsp;
} ;
+struct hci_fm_rds_grp_cntrs_rsp {
+ char status;
+ struct hci_fm_rds_grp_cntrs_params recv_rds_grp_cntrs_rsp;
+} ;
+
+
struct hci_fm_get_trans_conf_rsp {
char status;
struct hci_fm_trans_conf_req_struct trans_conf_rsp;