kevincar / bless

Cross-platform Bluetooth Low Energy Server Python Library
MIT License
86 stars 28 forks source link

FTMS_gatt_server as an example #77

Closed WouterJD closed 2 years ago

WouterJD commented 2 years ago

FTMSserver creates a bless server with a FTMS profile FTMSclient inspects what ble-devices are present, searches for FTMS server and prints the service/characteristics structure

FTMSserver is inspired by bless/examples/gattserver.py FTMSclient is inspired by bleak/examples/discover.py and service_explorer.py

First start FTMSserver, then FTSMclient.

See QUESTION: How to define the Generic Access Profile (during BlessServer creation)?

kevincar commented 2 years ago

@WouterJD any chance you can get the checks to pass before merge?

WouterJD commented 2 years ago

I will give it a try Monday. Thanks

WouterJD commented 2 years ago

I must use the development branch to test, right?

kevincar commented 2 years ago

Refer to the contributing guidelines

WouterJD commented 2 years ago

@WouterJD any chance you can get the checks to pass before merge?

Yes, BLESS now works fine under windows. I have tested FTMS_gatt_server as well as FortiusAnt; both recognized well from Trainer Road as a FTMS.

Thanks!

kevincar commented 2 years ago

Closing this for now because of CI failures and lots of non generic code for an example.

WouterJD commented 2 years ago

Hi Kevin; when do you merge the devlopmentr branch into master?

WouterJD commented 2 years ago

... non generic code for an example.

Agree; it's a full BLE client/server implementation of a Fitness Machine.