Skip to content

support more than 1 protocol at a time #9

@phatpaul

Description

@phatpaul

It wasn't clear from the readme that the protocol options are mutually exclusive. I.e. you can only output to one of TCP, UDP, MQTT, SSE at a time. Although UART is able to work in parallel.

In my main.c I had wrote:

    udp_logging_init("255.255.255.255", 6789, true);
    sse_logging_init(8080, true);

But only SSE was working. Looking at the code it is apparent that it is because there is only one message/ring buffer defined as a global in net_logging.c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions