It seems that Nissan Connect carkits a) do not use 0000 but 1234 as
default code
but also b) the autopair plugin is not allowed to make a second attempt
to pair.
Let´s try to not use the autopairing at all for those devices.
---
plugins/autopair.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/plugins/autopair.c b/plugins/autopair.c
index 0b09e89..6bf07e3 100644
--- a/plugins/autopair.c
+++ b/plugins/autopair.c
@@ -66,6 +66,9 @@ static ssize_t autopair_pincb(struct btd_adapter *adapter,
/* The iCade shouldn't use random PINs like normal keyboards */
if (strstr(name, "iCade") != NULL)
return 0;
+ /* Nissan Connect carkits use PIN 1234 but refuse a retry */
+ if (strstr(name, "NISSAN CONNECT") != NULL)
+ return 0;
/* This is a class-based pincode guesser. Ignore devices with an
* unknown class.
--
2.17.1