Open mlasch opened 1 month ago
When logging is enabled, Wakaama sends arbitrary bytes to stdout.
Examples: https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/core/packet.c#L494
https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/core/uri.c#L227
https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/data/json.c#L496
https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/data/senml_json.c#L612
We should implement a hexdump functionality for logging.
When logging is enabled, Wakaama sends arbitrary bytes to stdout.
Examples: https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/core/packet.c#L494
https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/core/uri.c#L227
https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/data/json.c#L496
https://github.com/eclipse-wakaama/wakaama/blob/22bf6e1f1e99171e788aabbd08f4a21084a62085/data/senml_json.c#L612
We should implement a hexdump functionality for logging.