Can you share a little example about hoe to scan devices in the bus ? 😵
i have test your sample
from ebpfcat.ebpfcat import FastEtherCat
master = FastEtherCat("eth0")
await master.connect()
await master.scan_bus()
but i get following message 😵
python ebpfcat1.py
File "/home/jinyistudio/python/ebpfcat1.py", line 6
await master.connect()
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: 'await' outside function
Can you share a little example about hoe to scan devices in the bus ? 😵
i have test your sample
from ebpfcat.ebpfcat import FastEtherCat
master = FastEtherCat("eth0")
await master.connect()
await master.scan_bus()
but i get following message 😵
python ebpfcat1.py
File "/home/jinyistudio/python/ebpfcat1.py", line 6
await master.connect()
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: 'await' outside function