paypal / gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.14k stars 285 forks source link

Set up secure characteristics to trigger LE Secure connection #81

Open reallyroy opened 8 years ago

reallyroy commented 8 years ago

Hi,

I noticed that the Characteristic struct has a secure field for secure properties. But it looks like the HandleRead and HandleWrite functions have secure property assignments commented out. When I uncomment the line, I don't even see the property on the client.

I was wondering if it would be possible to share an example on how to set up a secure write characteristic. The aim is to trigger a LE secure connection with and iOS application. The go code is the peripheral in my case.

Regards, Roy

edillmann commented 7 years ago

Hi,

I have the same problem, did you get any success on this ?

Regards, Eric