X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=xbee_user.c;fp=xbee_user.c;h=9d3da9955879e30dcc66fe5740a8597d8dd91b42;hp=859d203526109593a78ec6660fffcee4b95d717d;hb=f820d95b15d8bbb7c289acf92f31848d218825a7;hpb=5727aa588570d066be9287b81acfd92d7910de80 diff --git a/xbee_user.c b/xbee_user.c index 859d203..9d3da99 100644 --- a/xbee_user.c +++ b/xbee_user.c @@ -237,7 +237,9 @@ static int parse_atcmd(struct xbee_ctx *ctx, struct xbee_atresp_hdr *frame, } -/* main rx entry point for application */ +/* Main xbee rx entry point for application. It decodes the xbee frame type and + * dispatch to the application layer. Then "len" argument does not include the + * xbee_hdr structure (delimiter, len, type, id) and checksum. */ int8_t xbeeapp_rx(struct xbee_dev *dev, int channel, int type, void *frame, unsigned len, void *opaque) {