formatting and linting automation

Squashed commits:
[cd479ba] formatting and linting automation
[7fbfabb] formatting and linting automation
[c4f9505] fix after rebase
[f506ad4] rename job
[441d517] update doc (+7 squashed commits)
[2e1b416] fix invoke and github action
[6ae5bb4] doc for git blame
[44b5461] add GitHub action
[b07474f] add docs
[4cd9a6f] more linter fixes
[db71901] wip
[540dc88] wip
This commit is contained in:
Gilles Boccon-Gibod
2022-12-10 09:29:51 -08:00
parent 80fe2ea422
commit c2959dadb4
140 changed files with 2632 additions and 1346 deletions
+16 -8
View File
@@ -20,12 +20,18 @@ import asyncio
import sys
import os
from bumble.hci import *
from bumble.controller import *
from bumble.host import *
from bumble.device import *
from bumble.transport import *
from bumble.link import *
from bumble.gatt import (
GATT_CHARACTERISTIC_USER_DESCRIPTION_DESCRIPTOR,
GATT_DEVICE_INFORMATION_SERVICE,
GATT_MANUFACTURER_NAME_STRING_CHARACTERISTIC,
Characteristic,
Descriptor,
Service,
)
from bumble.device import Device
from bumble.host import Host
from bumble.controller import Controller
from bumble.link import LocalLink
from bumble.transport import open_transport_or_link
@@ -33,10 +39,12 @@ from bumble.transport import open_transport_or_link
async def main():
if len(sys.argv) != 4:
print(
'Usage: run_controller.py <controller-address> <device-config> <transport-spec>'
'Usage: run_controller.py <controller-address> <device-config> '
'<transport-spec>'
)
print(
'example: run_controller.py F2:F3:F4:F5:F6:F7 device1.json udp:0.0.0.0:22333,172.16.104.161:22333'
'example: run_controller.py F2:F3:F4:F5:F6:F7 device1.json '
'udp:0.0.0.0:22333,172.16.104.161:22333'
)
return