Commit c9719c70 authored by Rahix's avatar Rahix
Browse files

Merge 'Forward connection open if there a no services to discover'

Closes #238

See merge request !489
parents a6be367f 388227e5
Pipeline #5307 passed with stages
in 1 minute
......@@ -264,6 +264,7 @@ void bleDiscCback(dmConnId_t connId, uint8_t status)
case APP_DISC_CFG_CONN_START:
/* no connection setup configuration for this application */
ble_epic_disc_cfg_complete();
break;
default:
......
......@@ -737,10 +737,12 @@ static void BleHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg)
/* process security-related messages */
AppSlaveSecProcDmMsg((dmEvt_t *) pMsg);
/* Needs to be before AppDiscProcDmMsg, to get DM_CONN_OPEN_IND first */
ble_epic_dm_api_event((dmEvt_t *)pMsg);
/* process discovery-related messages */
AppDiscProcDmMsg((dmEvt_t *) pMsg);
ble_epic_dm_api_event((dmEvt_t *)pMsg);
}
else if (pMsg->event >= ATT_CBACK_START && pMsg->event <= ATT_CBACK_END)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment