memcpy(atcmd_str, &recvframe->cmd, 2);
atcmd_str[2] = '\0';
+ atresp_to_str(buf, sizeof(buf), frame, len);
len -= sizeof(*recvframe);
- atresp_to_str(buf, sizeof(buf), frame);
- NOTICE(E_USER_XBEE, "status ok, len=%d, %s", len, buf);
+ printf_P(PSTR("status ok, len=%d, %s\n"), len, buf);
return XBEE_USER_RETCODE_OK;
}
if (diff < res->period)
continue;
- rc_proto_send_hello(addr, res->data, strlen(res->data));
+ rc_proto_send_hello(addr, res->data, strlen(res->data), -1);
next += res->period;
res->count--;
}