BR MAC: add log

This commit is contained in:
Simon Duquennoy 2018-05-13 06:41:48 -07:00
parent 981c8fbe30
commit 3488a605c0
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ send_packet(mac_callback_t sent, void *ptr)
/* Will make it send only DATA packets... for now */
packetbuf_set_attr(PACKETBUF_ATTR_FRAME_TYPE, FRAME802154_DATAFRAME);
/* printf("Sending packet of type: %s \n", get_frame_type(packetbuf_attr(PACKETBUF_ATTR_FRAME_TYPE))); */
LOG_INFO("br-rdc: sending packet (%u bytes)\n", packetbuf_datalen());
if(NETSTACK_FRAMER.create() < 0) {
/* Failed to allocate space for headers */