Occurs when a connection ACL is requested to a given
device but there is already an existing ACL connection.
Bug:
145832107
Test: gd/cert/run --host
Tag: #refactor
Change-Id: I609374ba9376f2a1056971fc514d97615931c62a
LINK_LAYER_COLLISION = 0x23,
ENCRYPTION_MODE_NOT_ACCEPTABLE = 0x25,
CONTROLLER_BUSY = 0x3A,
+ CONNECTION_FAILED_ESTABLISHMENT = 0x3E,
}
// Events that are defined with their respective commands
return HCI_ERR_ENCRY_MODE_NOT_ACCEPTABLE;
case hci::ErrorCode::CONTROLLER_BUSY:
return static_cast<tHCI_STATUS>(hci::ErrorCode::CONTROLLER_BUSY);
+ case hci::ErrorCode::CONNECTION_FAILED_ESTABLISHMENT:
+ return static_cast<tHCI_STATUS>(
+ hci::ErrorCode::CONNECTION_FAILED_ESTABLISHMENT);
}
}