.expect_alt_ev_len = 26,
};
+static const struct generic_data pairing_acceptor_legacy_2 = {
+ .setup_settings = settings_powered_connectable_pairable,
+ .expect_pin = true,
+ .client_pin = pair_device_pin,
+ .client_pin_len = sizeof(pair_device_pin),
+ .expect_alt_ev = MGMT_EV_AUTH_FAILED,
+ .expect_alt_ev_len = 8,
+};
+
static const char unpair_device_param[] = {
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x00, 0x00 };
static const char unpair_device_rsp[] = {
test_bredrle("Pairing Acceptor - Legacy 1",
&pairing_acceptor_legacy_1, NULL,
test_pairing_acceptor);
+ test_bredrle("Pairing Acceptor - Legacy 2",
+ &pairing_acceptor_legacy_2, NULL,
+ test_pairing_acceptor);
test_bredrle("Unpair Device - Not Powered 1",
&unpair_device_not_powered_test_1,