/* Write in a human readable format the content of an atcmd response frame. It
* assumes the frame is valid .*/
-void atresp_to_str(char *buf, unsigned len, const struct xbee_atresp_hdr *frame);
+void atresp_to_str(char *buf, unsigned buflen, const struct xbee_atresp_hdr *frame,
+ unsigned len);
/* callback registered to xbee module, called when a xbee frame is received */
int8_t xbeeapp_rx(struct xbee_dev *dev, int channel, int type,