SimpleBLE icon indicating copy to clipboard operation
SimpleBLE copied to clipboard

Rust bindings issues

Open kuyoonjo opened this issue 2 years ago • 4 comments

  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.}
  1. Crash if try to connect a device while scanning. (NO crash messages)
  2. set_callback_on_connected never fired.

kuyoonjo avatar Mar 03 '23 13:03 kuyoonjo

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

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

kdewald avatar Mar 21 '23 16:03 kdewald

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

kdewald avatar Mar 21 '23 16:03 kdewald