19 Commits

Author SHA1 Message Date
Kevin Dewald
09687dff2e Added stubs for SimpleCBLE migration. 2025-04-13 10:19:36 -07:00
Kevin Dewald
18e62789ee Java Frontend (Alpha) (#389)
* Added flag to exclude C builds, disabled by default.

* POC for Java

* Can retrieve data from Adapter

* Getting rid of Intellj Idea project

* Adding basic JNI classes

* New arch compiles.

* New arch working.

* Lots of progress, basic components work, going into the weeds.

* More progress, more cleanup.

* More progress, more cleanup.

* More progress, more cleanup.

* I think this is a decent first pass
2025-03-15 23:43:24 -07:00
Kevin Dewald
dbba8cb6c6 Add Python source distribution (#221)
* Add Python source distribution

* Fixes

* Fix Python Test
2023-03-11 11:55:47 -08:00
Kevin Dewald
69f1714042 Draft: Rust Bindings (#158)
* Rust POC

* Finally able to fetch the identifier

* Renamed folder again (I liked it better this way)

* Basic adapter functions ready, attempting Peripheral now

* Basic implementation of the Peripheral

* First very basic example

* Better Cargo.toml

* Updated dependency versions

* Another pass to publish

* More correct Cargo.toml

* Bumped version

* Documentation now looks better

* Typo

* Checkpoint

* Feedback loop works

* Migrated adapter to Pinned version

* Use proper pinning of the Adapter object

* Callback model works!

* Added scan stop callback

* Peripheral objects are now pinned as well

* Linux compilation works, added link and unlink methods for Peripheral

* Added callbacks providing peripheral objects

* Bump version

* Add proper examples

* Adapter can now query for paired peripherals

* Added address type and rssi to peripheral

* Improved examples

* Added more functions

* Added Services, Characteristics and Descriptors. Basic connect example.

* Completed the characteristic API

* Added manufacturer data to Peripherals

* Created stubs of Peripheral functions

* Implemented remaining functions

* Created notify example
2023-01-15 10:50:23 -08:00
Kevin Dewald
1be3bd21b3 General CI improvements (#149)
* Migrate Python bindings build to scikit-build

* Bugfix attempt at setup.py

* Updated requirements.txt

* Removed dependency from vendorized cmake_build_extension

* Upgrade Python deps to 3.11

* Upgrade artifact upload action to v3

* Updated more dependencies

* Updated CMake version in CI

* Upgrade Ubuntu to 22.04

* Upgraded Windows to 2022 - First pass at Matrix builds

* Fix typo

* More matrix builds, simplify example build logic

* A few more tweaks

* Bugfix. Test matrix builds for Python releases

* Let's see if I understand how matrix builds work

* Apparently not

* Maybe if I remove the brackets you'll decide to work

* Gitlab runner go brrr

* 2 Hour builds are fine

* Final tweaks
2022-12-10 11:51:54 -08:00
Kevin Dewald
86642a331d Fixed broken examples, added unit tests. (#123)
* Fixed broken examples, added unit tests.

* Linting

* More fixes

* Fixed PyTest execution

* Fixed PyTest execution

* Fixed PyTest execution

* Fixed uninitialized memory
2022-10-16 09:31:16 -07:00
Kevin Dewald
c46624a184 More docs for SimpleBLE v0.5 (#113)
* More docs!

* Made version handling a bit simpler. Unified versions across subpackages.

* Fixed previous documentation bugs. First pass at Python docs

* Separated python binding code by class.

* Some progress with new docs

* See of we can get RTD to work

* See if the YAML file is correctly executed

* Move config file to root.

* Forgot the file

* Tweaking yaml

* Tweaking yaml

* Use apt packages

* Add breathe

* Try an older Python version.

* Try an older Python version.

* Pin Python packages

* Try another theme

* See if we can get RTD working

* Pin version post installation

* Raw pass at documentation of all functions.

* Add docs dependencies

* Pin requirement versions

* Fix linting exclude
2022-09-25 12:41:58 -04:00
Kevin Dewald
60e087b0da Cleanup in preparation for v0.5.0 release. (#108)
* Add support to run Doxygen on SimpleBLE source code.

* Merged changelogs and dropped old messages.

* Added tutorial page

* Add tutorial to index

* Minor tweaks in changelog

* Initial tutorial

* Minor fixes

* Clean lint job, add docs build job

* Fix indentation error

* Fix indentation error, again...

* Doxygen now works fine

* Added a lot of documentation
2022-09-20 13:17:43 -07:00
Kevin Dewald
e8ab380581 Tested modified vendorized version of cmake_build_extension 2022-08-22 23:56:20 -07:00
Kevin Dewald
edc82d3655 First pass at integrating cmake_build_extension 2022-08-22 23:44:03 -07:00
Kevin Dewald
0bc8b79e08 Updated CMake, used new test file layout. 2022-08-18 09:30:43 -07:00
Kevin Dewald
9cb501bf53 Updated gitignore 2022-04-30 22:23:58 -07:00
Kevin Dewald
62aa696e04 Removed docs build files. 2022-04-30 22:18:59 -07:00
Kevin Dewald
3d2aab06a8 Minor cleanup 2022-02-03 23:01:39 -08:00
Kevin Dewald
082bb479ef Complete replacement of underlying Linux implementation. 2021-12-18 23:07:32 -08:00
Kevin Dewald
aee3da9842 Removed build folder after rename. 2021-03-20 21:16:44 -07:00
Kevin Dewald
bd4698fcbc Added Windows support for the list_adapters example. 2021-03-02 23:43:24 -08:00
Kevin Dewald
8354c98973 Minimalist linux implementation to run 2021-02-27 21:39:08 -08:00
Kevin Dewald
277d8d1293 Setting up basic project structure. 2021-01-17 12:49:59 -08:00