Closed Kavan-M closed 6 months ago
The resource tree itself will be implemented later on and the initialize_topics() function has to be revamped into initialising resources.
With how the project has started, having well-known core in the handle_get() function makes more sense for now so will not be changing that. Adding hardcoded ps doesnt add value at this point since the resources are being worked on already.
broker starts up so that when client runs query GET coap://address/well-known/.core is run, get appropriate response may be a hack/hardcoded at this stage well known core, ps check against draft and especially the python implementation if stuck https://github.com/jaimejim/aiocoap-pubsub-broker/blob/main/broker.py
example from python implementation: `async def main():
Create a resource tree for the CoAP server