Skip to content

Commit

Permalink
Merge branch 'ACI_EVT_CONNECTED Set timing fields'
Browse files Browse the repository at this point in the history
  • Loading branch information
Skjerve committed Dec 12, 2014
2 parents 36c6584 + 0e20758 commit e364c9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/BLE/lib_aci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,12 @@ bool lib_aci_event_get(aci_state_t *aci_stat, hal_aci_evt_t *p_aci_evt_data)
aci_stat->supervision_timeout = aci_evt->params.timing.conn_rf_timeout;
break;

case ACI_EVT_CONNECTED:
aci_stat->connection_interval = aci_evt->params.connected.conn_rf_interval;
aci_stat->slave_latency = aci_evt->params.connected.conn_slave_rf_latency;
aci_stat->supervision_timeout = aci_evt->params.connected.conn_rf_timeout;
break;

default:
/* Need default case to avoid compiler warnings about missing enum
* values on some platforms.
Expand Down

0 comments on commit e364c9f

Please sign in to comment.