android13/packages/modules/Bluetooth/tools/rootcanal/lmp/test/SP/BV-32-C.in

37 lines
1.3 KiB
Plaintext

sequence! { procedure, context,
// ACL Connection Established
Lower Tester -> IUT: IoCapabilityReq {
transaction_id: 0,
io_capabilities: 0x01,
oob_authentication_data: 0x00,
authentication_requirement: 0x01,
}
IUT -> Upper Tester: IoCapabilityResponse {
bd_addr: context.peer_address(),
io_capability: IoCapability::DisplayYesNo,
oob_data_present: OobDataPresent::NotPresent,
authentication_requirements: AuthenticationRequirements::NoBondingMitmProtection,
}
IUT -> Upper Tester: IoCapabilityRequest {
bd_addr: context.peer_address(),
}
Upper Tester -> IUT: IoCapabilityRequestNegativeReply {
bd_addr: context.peer_address(),
reason: ErrorCode::HostBusy,
}
IUT -> Upper Tester: IoCapabilityRequestNegativeReplyComplete {
num_hci_command_packets: 1,
status: ErrorCode::Success,
bd_addr: context.peer_address(),
}
IUT -> Lower Tester: NotAcceptedExt {
transaction_id: 0,
not_accepted_opcode: ExtendedOpcode::IoCapabilityReq,
error_code: ErrorCode::HostBusy.to_u8().unwrap(),
}
IUT -> Upper Tester: SimplePairingComplete {
status: ErrorCode::AuthenticationFailure,
bd_addr: context.peer_address(),
}
}