aiocoap
aiocoap copied to clipboard
The Python CoAP library
The following code: ```python p = await Context.create_client_context() msg = Message(code=GET, uri="coap+tcp://127.0.0.1:5000/") await p.request(msg).response await p.shutdown() ``` results in ``` Aborting connection: Server shutdown Exception in callback _SelectorSocketTransport._call_connection_lost(None) handle: Traceback...
In many places, the current code does not give explicit exception causes, resulting in nondescript "During handling of the above exception, another exception occurred" exception chains -- especially where OSError...
I'm new to the CoAP protocol and started using this library, but I'm having a hard time constructing a working example for a TLS client/server. Any assistance would be helpfull....
I'd like to add a list of references of where aiocoap is used -- in production, in teaching, in research, in hobby projects or just in homework. I don't know...
I'm working on a Home Assistant component that needs to communicate with several devices at the same time. Additionally, the devices can push notifications which seems to require a server...
I'm not sure about the background of the ws.py FIXME comment
I'm currently using aiocoap to build a simple client-server CoAP setup. On the client end, the only useful statistic obtainable regarding a communication session is the response message. Is it...
The next round of Python required-version bumps is not too promising in terms of new features, but there are some: * New in 3.8: * Positional-only parameters could help keep...
I'm using `aiocoap` in a test setup where I would like to create a server context bound to a random port. The device I'm testing should then send requests to...
Should have really happened while that was still a draft... Relevant items: * [ ] Client-side automatic Echo answering * [ ] Server side amplification mitigation * [ ] Sequential...