Hi Zhigang, > Could somebody know how to set passkey in bluez4.X? > > In Bluez3.X we can set it in hcid.conf and I tried set passkey in main.conf > > I added the passkey at the end of this file. Passkey = "1234" > > But it doesn't work. having pin codes in a config file is wrong and insecure. You have to have a BlueZ agent running to answer pin requests. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html