mirror of https://github.com/ARMmbed/mbed-os.git
handle extended reset
parent
96040be349
commit
5025022ab8
|
@ -230,7 +230,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
|
||||||
case HCI_OPCODE_READ_LOCAL_VER_INFO:
|
case HCI_OPCODE_READ_LOCAL_VER_INFO:
|
||||||
if (hciCoreCb.extResetSeq) {
|
if (hciCoreCb.extResetSeq) {
|
||||||
/* send first extended command */
|
/* send first extended command */
|
||||||
(*hciCoreCb.extResetSeq)(pMsg, opcode);
|
HciReadLocalVerInfoCmd();
|
||||||
} else {
|
} else {
|
||||||
/* initialize extended parameters */
|
/* initialize extended parameters */
|
||||||
hciCoreCb.maxAdvDataLen = 0;
|
hciCoreCb.maxAdvDataLen = 0;
|
||||||
|
@ -242,6 +242,7 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case HCI_OPCODE_READ_LOCAL_VER_INFO:
|
||||||
case HCI_OPCODE_LE_READ_MAX_ADV_DATA_LEN:
|
case HCI_OPCODE_LE_READ_MAX_ADV_DATA_LEN:
|
||||||
case HCI_OPCODE_LE_READ_NUM_SUP_ADV_SETS:
|
case HCI_OPCODE_LE_READ_NUM_SUP_ADV_SETS:
|
||||||
case HCI_OPCODE_LE_READ_PER_ADV_LIST_SIZE:
|
case HCI_OPCODE_LE_READ_PER_ADV_LIST_SIZE:
|
||||||
|
|
Loading…
Reference in New Issue