FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-pyftms/examples/discovering.py at main · rbrv/python-pyftms · GitHub
rbrv
/
python-pyftms
Public
forked from
dudanov/python-pyftms
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-pyftms
/
examples
/
discovering.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (10 loc) · 337 Bytes
Breadcrumbs
python-pyftms
/
examples
/
discovering.py
Copy path
File metadata and controls
16 lines (10 loc) · 337 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2024, Sergey Dudanov
# SPDX-License-Identifier: Apache-2.0
import
asyncio
from
pyftms
import
discover_ftms_devices
async
def
run
():
async
for
dev
,
machine_type
in
discover_ftms_devices
():
print
(
f"Found
{
machine_type
.
name
}
: name:
{
dev
.
name
}
, address:
{
dev
.
address
}
"
)
asyncio
.
run
(
run
())
Back
|
FazBrowse Home
|
New Git URL