* Introduce driver that works with Bleak, enables to use BLE devices in windows without a need of external BLE dongle.
* Fix issues in auto review.
* Add method description and UT.
* Fix docstring to comply with pep257
* Experiment
* Make test only work in 3.7+
* Fix versions
* One more try
* Kick it
* Kick
* cmon
* Dummm
* yeah yeah
* Add
* Fix version
Co-authored-by: mgr <tomekmgr@gmail.com>
* Added test for device matching
Mocking the scanning and testing the connect() of each backend would be
better, but that requires more refactoring with prior agreement.
Added unittest2 dependency for subTest support, other solutions are
available.
* Fixed matching for Move Hub
If other BLE devices are around, an exception occurs on hub_mac.lower() if
default hub_mac (None) is used.
* fixup! Added test for device matching
Removed unittest2 dependency and features
* Use setuptools to allow the extras_require to work in python3.6
This also declares some hidden dependencies for the underlying
connection protocols, but note that they are normally reliant
on system-packaged versions, which is a bit less than optimal.
* In message, on assert of incoming type, note failing type
* In utilities, guard against truncated input.
* In demo allow for specifying different connections and demos on command line
Also addresses a crash in led demo where parameters x and y were not provided
to an empty lamba that was passed in.
* Remove commentted line, apply black formatting
* Raise TypeError when an incorrectly-typed message is received
* Apply black automatic formatting to the utilities module
* - Updated Port-Numbers (New Firmware 2.0.00.0017)
- Skipping Device without Mac-Address
(Seems to occur randomly after Firmware-Update,
referring to https://github.com/LLK/scratch-vm/issues/2230 )
- Fixed racecondition in Hub.send()
(Reply could come before entering _sync_lock)
* - fixed Unit-Tests (Changed Port-Numbers)
- moved the write-call in hub.send() outside the lock
* It's HUB ID
* Rename file
* Working with official doc
* Some progress
* AttachedIO msg
* device action impl
* some better device alert impl
* restructuring
* Some port commands handled
* Some command feedback waiting
* Some more request-reply things
* Some more request-reply things
* Reworked msg classes
* Getting back to UTs
* Getting back to UTs
* Facing sync lock problems
* Facing sync lock problems
* Testing it
* Covering more with tests
* handle actions
* Hub class is almost covered
* done coverage for Hub
* done coverage for MoveHub
* Button is tested
* remove debug server from examples
* Current and voltage tested
* color sensor basic test
* cover tilt sensor
* motor sensor tested
* constant motor
* motor is tested
* hold_speed impl for motor
* motor commands recorded
* some cleanup
* some cleanup
* some cleanup
* debug
* debug
* FIX a bug
* acc/dec profiles figured out
* UT motor ops
* UT motor ops
* Get rid of weird piggyback
* fix UT
* Fix encoding?
* fix test mb
* More robust
* Checked demo works
* cosmetics
* cosmetics
* Maybe better test
* fetching and decoding some device caps
* describing devs
* describing devs works
* Applying modes we've learned
* Simple and extensible dev attach
* Reworking peripherals based on modes
* Applying modes we've learned
* implemented getting sensor data
* fixed port subscribe
* Added led out cmds on vision sensor
* Worked on color-distance sensor
* Introduce some locking for consistency
* Improved it all
* Travis flags
* improve
* improve
* improve docs
* Added support for bluepy communication backend.
* Added bluepy information into the readme.
* Added tests, fixed dependency specs in setup.py.
* Fixed dep in travis.
* Removed unused import. Added ability to fail the application on dispatcher thread error.
* Fixed bluepy test to be more appropriate.
* Properly handle hub mac if set.