Open szczys opened 2 months ago
I discussed with @sam-golioth and we don't necessarily need to guard against this behavior, but we should do a couple of things to address it:
CONFIG_GOLIOTH_MAX_NUM_OBSERVATIONS
NULL
will only search for the given path.
Tested in Zephyr (but appears the same in libcoap), registering the same observation multiple times will result in duplicate observations occupying slots in the golioth client.
Reproduce
Test main.c