Commit Graph

16 Commits

Author SHA1 Message Date
Rohit Sangwan 8d0cfe98d9 Add connecting and disconnecting states to BleConnectionState (#54)
* Add connecting and disconnecting state

* Replace BleConnectionState with boolean in onConnectionChanged callback

* Improve Docs and Changelog

* Implement GetConnectionState in Windows

* Update CHANGELOG.md

Co-authored-by: Foti Dim <foti@navideck.com>

* Add  code level doc of connectionState getter

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2024-06-20 20:47:02 +02:00
Rohit Sangwan b74191bb97 Implement pairing with dialog on windows (#46)
* Implement pairing with dialog on windows

* Minor fix

* Add pin pairing request for windows 10

* Implement native windows dialog for asking pin pairing

* Cleanups

* Improve pairing dialog ui

* Use PairAsync for Windows 11

* Fix OK button text

* Improve pin entry layout

Co-authored-by: Rohit Sangwan <rohitsangwan647@gmail.com>

* Dialog adjustments

* Make dialog non resizable

* Make window topmost

* Final adjustments

* Update changelog

* Release dialog resources properly

* Release dialog resources properly

* Remove duplicate import

* Minor Fix

---------

Co-authored-by: fotidim <foti@navideck.com>
2024-06-11 12:28:25 +02:00
Foti Dim a682ea933d Remove dependency on convert 2024-05-10 13:57:08 +02:00
Rohit Sangwan 05697b7d30 Improve setNotifiation completion (#42)
* Improve setNotifiation completion

* Implement Windows

* Minor android fixes

* Few more fixes

* Update changelog

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2024-05-10 12:59:10 +02:00
Rohit Sangwan b07a8888e0 Fix windows scan filter (#41)
* Fix windows scan filter

* Bump version and add changelog

---------

Co-authored-by: fotidim <foti@navideck.com>
2024-05-10 09:57:04 +02:00
Foti Dim 57cf39f581 Make variables final and fix formatting in Linux 2024-04-10 22:56:56 +02:00
Rohit Sangwan 870defea86 Update readme and improve logs (#28)
* Update readme and improve logs

* Apply suggestions from code review

Co-authored-by: Foti Dim <foti@navideck.com>

* Add changelog

* Update Readme

* Update lib/src/universal_ble_web/universal_ble_web.dart

* Improve readme

* Update README.md

* Keep web section

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2024-03-19 09:22:54 +01:00
Rohit Sangwan fe0a654f36 Implement requestMtu in Linux (#22)
* Implement requestMtu in Linux

* Minor fixes

* Improve requestMtu
2024-03-17 11:48:33 +01:00
Foti Dim d5b111288c Release 0.9.4 2024-03-13 21:05:06 +01:00
Rohit Sangwan 663bc76dfe Improve Windows and Linux error handling (#12)
* Improve windows and linux error handeling

* Send proper error code from windows for write command

* Fix Linux

* Fix getConnectedDevices on windows

---------

Co-authored-by: fotidim <fdimanidis@gmail.com>
Co-authored-by: fotidim <foti@navideck.com>
2024-02-16 19:36:36 +01:00
Rohit Sangwan d187c8de83 Improve native error handling (#10) 2024-02-14 16:40:04 +01:00
Rohit Sangwan edd5ec20a5 Improve logging (#9)
* Improve logging

* Update changelog

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2024-02-12 12:00:57 +01:00
Rohit Sangwan ed3852a5c9 Improve windows device name discovery (#4)
* Improve windows device name discovery

* Imrove classes and folders structuring

* rename generated files

* Improve windows threads and other fixes

* More optimizations

* Cleanups

* Update .vscode/settings.json

Co-authored-by: Foti Dim <foti@navideck.com>

* Resolve comments

* Performance improvements

---------

Co-authored-by: Foti Dim <foti@navideck.com>
Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2024-02-02 12:10:53 +01:00
Rohit Sangwan 531b6139c4 Improve example app (#2)
* Improve example app

* Accept list of hex values in write value field

* Minor fix

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2024-01-25 18:55:49 +01:00
Foti Dim 9521c2552a Rename pairState and improve readme (#1)
* Improve readme

* rename OnPairStateChange api

---------

Co-authored-by: Rohit Sangwan <rohitsangwan647@gmail.com>
2024-01-25 17:56:31 +01:00
Foti Dim 1c21373478 Initial commit 2024-01-24 14:23:49 +01:00