Merge branch 'fix-ble-cordio-reset-sequence' of https://github.com/desmond-blue/mbed-os into rollup

pull/10116/head
Martin Kojtal 2019-03-15 08:43:59 +00:00
commit 9960ea93ed
1 changed files with 5 additions and 0 deletions

View File

@ -223,6 +223,11 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
} break;
case HCI_OPCODE_LE_WRITE_DEF_DATA_LEN:
/* send next command in sequence */
HciReadLocalVerInfoCmd();
break;
case HCI_OPCODE_READ_LOCAL_VER_INFO:
if (hciCoreCb.extResetSeq) {
/* send first extended command */
(*hciCoreCb.extResetSeq)(pMsg, opcode);