weliem / blessed-android

BLESSED, a Bluetooth Low Energy (BLE) library for Android
MIT License
555 stars 120 forks source link

PIN code is not asked for #201

Open satsen opened 18 hours ago

satsen commented 18 hours ago

I'm running blessed-android as a peripheral, but other devices can connect to it freely without any confirmation even though they were not paired before. How can I disable this?

weliem commented 16 hours ago

You need to make one of the characteristics 'encrypted' for read and/or write

satsen commented 13 hours ago

@weliem Thank you