In a recent update to libService the ip6tos function was slightly updated and ip6_prefix_tos was added.
Update mbed-trace to make use of the updated functions, simplifying code and getting rid of some temporary variables.
Also updated unittests.
Added libservice as a dependency for bitcopy and removed its stub. It should be as reliable as std library functions so no need for stubbing.
Added a stub for ip6_prefix_tos function.
Made the ip6tos stub control structures clearer.
Added tests for trace_ipv6_prefix error cases. The previous formatting tests now make little sense
as no actual formatting is done by trace_ipv6_prefix.
In a recent update to libService the ip6tos function was slightly updated and ip6_prefix_tos was added. Update mbed-trace to make use of the updated functions, simplifying code and getting rid of some temporary variables.
Also updated unittests.
Added libservice as a dependency for bitcopy and removed its stub. It should be as reliable as std library functions so no need for stubbing. Added a stub for ip6_prefix_tos function. Made the ip6tos stub control structures clearer. Added tests for trace_ipv6_prefix error cases. The previous formatting tests now make little sense as no actual formatting is done by trace_ipv6_prefix.