1sequence! { procedure, context,
2    // ACL Connection Established
3    Lower Tester -> IUT: IoCapabilityReq {
4        transaction_id: 0,
5        io_capabilities: 0x01,
6        oob_authentication_data: 0x00,
7        authentication_requirement: 0x01,
8    }
9    IUT -> Upper Tester: IoCapabilityResponse {
10        bd_addr: context.peer_address(),
11        io_capability: IoCapability::DisplayYesNo,
12        oob_data_present: OobDataPresent::NotPresent,
13        authentication_requirements: AuthenticationRequirements::NoBondingMitmProtection,
14    }
15    IUT -> Upper Tester: IoCapabilityRequest {
16        bd_addr: context.peer_address(),
17    }
18    Upper Tester -> IUT: IoCapabilityRequestNegativeReply {
19        bd_addr: context.peer_address(),
20        reason: ErrorCode::PairingNotAllowed,
21    }
22    IUT -> Upper Tester: IoCapabilityRequestNegativeReplyComplete {
23        num_hci_command_packets: 1,
24        status: ErrorCode::Success,
25        bd_addr: context.peer_address(),
26    }
27    IUT -> Lower Tester: NotAcceptedExt {
28        transaction_id: 0,
29        not_accepted_opcode: ExtendedOpcode::IoCapabilityReq,
30        error_code: ErrorCode::PairingNotAllowed.into(),
31    }
32    IUT -> Upper Tester: SimplePairingComplete {
33        status: ErrorCode::AuthenticationFailure,
34        bd_addr: context.peer_address(),
35    }
36}
37