-
Notifications
You must be signed in to change notification settings - Fork 9
Link local address fix for aiocoap
Sebastian Meiling edited this page May 14, 2021
·
4 revisions
Using link local addresses with Python and aiocoap is not supported by default. The following workaround fixes this issue:
- Clone fixed repos for
asyncio
andaiocoap
:
cd /opt/src/
git clone https://github.com/smlng/asyncio -b addrinfo
git clone https://github.com/smlng/aiocoap -b lowpan
- Build and install fixed
asyncio
module for Python:
cd /opt/src/asyncio
python3 setup.py build
sudo python3 setup.py install
- Build install fixed
aiocoap
module for Python:
cd /opt/src/aiocoap
python3 setup.py build
sudo python3 setup.py install
This should to the trick, try modify clientGET.py
using a link local address with interface ([fe80::a:b:c:d%ifname]
).