git.droids-corp.org
/
protos
/
xbee-avr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enhance test plan & report
[protos/xbee-avr.git]
/
xbee_user.c
diff --git
a/xbee_user.c
b/xbee_user.c
index
ff57b8e
..
17a92af
100644
(file)
--- a/
xbee_user.c
+++ b/
xbee_user.c
@@
-253,6
+253,7
@@
int8_t xbeeapp_rx(struct xbee_dev *dev, int channel, int type,
NOTICE(E_USER_XBEE, "type=0x%x, channel=%d, ctx=%p",
type, channel, ctx);
NOTICE(E_USER_XBEE, "type=0x%x, channel=%d, ctx=%p",
type, channel, ctx);
+ __hexdump(frame, len);
/* if ctx is !NULL, it is an answer to a query */
if (ctx != NULL) {
/* if ctx is !NULL, it is an answer to a query */
if (ctx != NULL) {
@@
-330,7
+331,6
@@
int8_t xbeeapp_rx(struct xbee_dev *dev, int channel, int type,
if (ret != XBEE_USER_RETCODE_OK) {
WARNING(E_USER_XBEE, "undecoded rx frame");
if (ret != XBEE_USER_RETCODE_OK) {
WARNING(E_USER_XBEE, "undecoded rx frame");
- hexdump("undecoded rx frame", frame, len);
}
if (ctx != NULL) {
}
if (ctx != NULL) {