netif: add functions to parse and output hardware addresses#2705
netif: add functions to parse and output hardware addresses#2705Lotterleben merged 2 commits intoRIOT-OS:masterfrom
Conversation
sys/include/net/ng_netif.h
Outdated
There was a problem hiding this comment.
maybe better: "Converts a hardware address to a \0 terminated string"
There was a problem hiding this comment.
This sounds misleading: a '\0' terminated string can also just be the bytes of the address (not converted to hex strings!) + an appended '\0'
There was a problem hiding this comment.
hm, ok. Just wanted to stress that the string is NULL terminated to be used in string functions (as printf("%s", ...)
There was a problem hiding this comment.
Okay, I get your point will do s/format/string/. Does that suffice?
789b6d3 to
04a895e
Compare
|
Rebased to current master |
04a895e to
325b128
Compare
|
Rebased to current master |
325b128 to
fe50e2a
Compare
|
Rebased to current master (again Oo) |
9f184dd to
45554bf
Compare
sys/include/net/ng_netif.h
Outdated
|
Addressed comments and optimized |
|
thanks :) |
db0b14e to
1a0d97f
Compare
|
Squashed. |
|
Kicked Travis... |
|
And it's done |
|
Here we go... ACK and go! :) |
netif: add functions to parse and output hardware addresses
Adds address parsing and string-conversion functions for hardware addresses in a similar way as I did for
ng_ipv6_addr.