Skip to content

Commit a70f0e6

Browse files
committed
BLE:Fix cordio reset sequence
1 parent fe59870 commit a70f0e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@ void CordioHCIDriver::handle_reset_sequence(uint8_t *pMsg)
223223
} break;
224224

225225
case HCI_OPCODE_LE_WRITE_DEF_DATA_LEN:
226+
/* send next command in sequence */
227+
HciReadLocalVerInfoCmd();
228+
break;
229+
230+
case HCI_OPCODE_READ_LOCAL_VER_INFO:
226231
if (hciCoreCb.extResetSeq) {
227232
/* send first extended command */
228233
(*hciCoreCb.extResetSeq)(pMsg, opcode);

0 commit comments

Comments
 (0)