OpenBluetoothToolbox / SimpleBLE

SimpleBLE - the all-in-one Bluetooth library for MacOS, iOS, Windows, Linux and Android.
https://www.simpleble.org
Other
619 stars 107 forks source link

Rust bindings issues #215

Open kuyoonjo opened 1 year ago

kuyoonjo commented 1 year ago
  1. Crash when IOT device disconnected. set_callback_on_disconnected not fired.
    2023-03-03 21:48:32.052 CBT[27527:36688227] Peripheral CL-TU10 disconnected: Error Domain=CBErrorDomain Code=7 "The specified device has disconnected from us." UserInfo={NSLocalizedDescription=The specified device has disconnected from us.}
  2. Crash if try to connect a device while scanning. (NO crash messages)
  3. set_callback_on_connected never fired.
kdewald commented 1 year ago

Hey @kuyoonjo, could you please confirm which operating system you are using?

Edit: Nevermind, I just noticed it's MacOS.

kdewald commented 1 year ago

Also, I haven't been able to reproduce issues 1 and 3, but did reproduce issue 2, which seems to be Rust-specific.