-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bless implementation #473
Comments
Hey Jimmy, bad luck that it does not work. The first implementation (-b) used node.js, which is a complex but stable implementation (as soon it works). For what it's worth; I continue usinig FortiusAnt with two ANT-interfaces, but yeah - if you want to use a CTP running on your smartphone that's not a feasable route. |
I wrote this test-procedure to refresh my own memory on the subject and also because there are more issues with the -b interface. What I remember from the development period is that there are "Blue tooth 5" dongles which are not entirely bluetooth 5. so your thought
|
Since there is no communication here, I assume can be closed. |
While trying to make bless work, I got this error :TypeError: Can't instantiate abstract class BlessServerWinRT without an implementation for abstract method 'add_new_descriptor'
I've tried some tricks from GPT but i'm unable to make it work.
I dont think it's related to the bluetooth device but I'm with a TP-LINK UB500 with winusb 6.1 driver
Any idea ?
Thank you
I dont think it's related to the bluetooth device but I'm with a TP-LINK UB500 with winusb 6.1 driver
Exception in thread Thread-2 (_OpenThread):
Traceback (most recent call last):
File "C:\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
File "C:\Python312\Lib\threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "C:\github\FortiusANT-master\pythoncode\bleBlessClass.py", line 145, in _OpenThread
self.loop.run_until_complete(self._Server())
File "C:\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\github\FortiusANT-master\pythoncode\bleBlessClass.py", line 169, in _Server
self.BlessServer = BlessServer(name=self.myServiceName, loop=self.loop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Can't instantiate abstract class BlessServerWinRT without an implementation for abstract method 'add_new_descriptor'
12:54:35,965: ---------- BLE-devices are activated ----------
Exception in thread Thread-1 (Tacx2DongleThread):
Traceback (most recent call last):
File "C:\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
File "C:\Python312\Lib\threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "C:\github\FortiusANT-master\pythoncode\FortiusAnt.py", line 490, in Tacx2DongleThread
rtn = Tacx2Dongle(self)
^^^^^^^^^^^^^^^^^
File "C:\github\FortiusANT-master\pythoncode\FortiusAnt.py", line 171, in Tacx2Dongle
rtn = FortiusAntBody.Tacx2Dongle(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\github\FortiusANT-master\pythoncode\FortiusAntBody.py", line 681, in Tacx2Dongle
rtn = Tacx2DongleSub(FortiusAntGui, Restart)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\github\FortiusANT-master\pythoncode\FortiusAntBody.py", line 1407, in Tacx2DongleSub
bleCTP.SetAthleteData(HeartRate)
File "C:\github\FortiusANT-master\pythoncode\bleBless.py", line 358, in SetAthleteData
self.BlessServer.get_characteristic(bc.cHeartRateMeasurementUUID).value = info
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_characteristic'
The text was updated successfully, but these errors were encountered: