Revision 1740
wireless: added check_last_receive debug info
xbee.c | ||
---|---|---|
644 | 644 |
lastPacket[i].framenum = framenum; |
645 | 645 |
if (++i>=NUM_LAST_PACKETS) |
646 | 646 |
i = 0; |
647 |
//WL_DEBUG_PRINT_P("check last receive, status_before="); |
|
648 |
//WL_DEBUG_PRINT_HEX(xbee_status); |
|
647 |
|
|
649 | 648 |
setStatus(LAST_PACKET_MASK,i); |
650 |
//WL_DEBUG_PRINT_P("|after="); |
|
651 |
//WL_DEBUG_PRINT_HEX(xbee_status); |
|
652 |
//WL_DEBUG_PRINT_P("\r\n"); |
|
649 |
WL_DEBUG_PRINT_P("check last receive: LP.src="); |
|
650 |
WL_DEBUG_PRINT_INT(lastPacket[i].source); |
|
651 |
WL_DEBUG_PRINT_P("|GET.src="); |
|
652 |
WL_DEBUG_PRINT_INT(source); |
|
653 |
WL_DEBUG_PRINT_P("|LP.framenum="); |
|
654 |
WL_DEBUG_PRINT_INT(lastPacket[i].framenum); |
|
655 |
WL_DEBUG_PRINT_P("|GET.framenum="); |
|
656 |
WL_DEBUG_PRINT_INT(framenum); |
|
657 |
WL_DEBUG_PRINT_P("\r\n"); |
|
653 | 658 |
return WL_SUCCESS; |
654 | 659 |
} |
655 | 660 |
|
Also available in: Unified diff