[riot-notifications] [RIOT] added some debug output for the network stack (#254)

Christian Mehlis notifications at github.com
Fri Nov 1 23:07:45 CET 2013


> @@ -127,6 +138,15 @@ void sixlowpan_mac_init_802154_long_addr(ieee_802154_long_t *laddr)
>      laddr->uint8[7] = sixlowpan_mac_get_radio_address();
>  }
>  
> +char *sixlowpan_mac_802154_long_addr_to_str(char *addr_str, const ieee_802154_long_t *laddr) {
> +     sprintf(addr_str,
> +                  "%02x:%02x:%02x:%02x",
> +                  laddr->uint16[0], laddr->uint16[1],
> +                  laddr->uint16[2], laddr->uint16[3]);
> +     return addr_str;
> +

remove newline

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/254/files#r7383260
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131101/58593be3/attachment-0001.html>


More information about the notifications mailing list