* Add timeout argument to all apis
* Update Version and changelog
* Bump version
* Update readme
---------
Co-authored-by: Foti Dim <foti@navideck.com>
* Wait for writeWithoutResponse request completion on Android
* Wait for writeWithoutResponse request completion on Darwin
* Add WriteWithoutResponse button in example app
* Update changelog and bump version
* Apply suggestions from code review
Co-authored-by: Foti Dim <foti@navideck.com>
---------
Co-authored-by: Foti Dim <foti@navideck.com>
* Add high-level api extensions for BleDevice and Characteristic
* Add doc comments and move few files to utils
* Add advance documentation
* Make the high level APIs the new default in the readme
* More readme cleanups
* Add pair api, improve notifications apis and deprecate writeValue
* Use highLevel apis in Example
* Rename HighLevel isPaired api to hasPairing api
* Update Readme
* Rename low level readValue api to read and update Readme
* Update UniversalBle to use new apis instead of deprecated internally
* Split queueCommand and queueCommandWithoutTimeout
* Split setNotifiable into subscribeNotifications, subscribeIndications and unsubscribe
* Fix web imports
* Update changelog
* Switch back to isPaired
Co-authored-by: Rohit Sangwan <rohitsangwan647@gmail.com>
* Fix BleDevice toString method
* Switch back to isPaired
* Change peripheral to device
* Rename cached to preferCached
* Remove preferCached from discoverServices()
* Update changelog
* Use cached services
* Add ///
* Reverse withoutResponse to withResponse to avoid negation
* Link to low level API
* Move connectionState to public readme
* Rename disableSubscriptions to unsubscribe
* Improve documentation
* Fix getService cache
* Add NotFoundException
---------
Co-authored-by: Foti Dim <foti@navideck.com>
* Add WebBluetoothGloballyDisabled exception and fix availability state
* Update changelog and version
---------
Co-authored-by: Foti Dim <foti@navideck.com>
Make sure getSystemDevices connects the bluez client first.
This ensures that the list of devices is correctly populated.
Signed-off-by: Tim Froidcoeur <tim.froidcoeur@comate.be>
Co-authored-by: Tim Froidcoeur <tim.froidcoeur@comate.be>
* Error on windows scan
* Implement thread safe cache handling
* Fix start scan method
* Update windows/src/universal_ble_thread_safe.h
Co-authored-by: Foti Dim <foti@navideck.com>
* Refactor native Windows
* Fix guid parsing
* Fix FlutterError on Windows
* Fix Merge Conflicts
* Fix char subscription and store in characteristic struct instead of global map
---------
Co-authored-by: Foti Dim <fdimanidis@gmail.com>
Co-authored-by: Foti Dim <foti@navideck.com>