docs: add project description and server setup instructions to README

This commit is contained in:
2026-03-21 18:25:35 +00:00
parent c81815a83d
commit 6115a065c7
36 changed files with 4003 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
class CoapOption:
def __init__(self, number=-1, buffer=None):
self.number = number
byteBuf = bytearray()
if buffer is not None:
if isinstance(buffer, str):
byteBuf.extend(buffer.encode("utf-8"))
else:
byteBuf.extend(buffer)
self.buffer = byteBuf