Main Page | File List | Globals

validate_packet.c File Reference


Detailed Description

Atmel Corporation

File : validate_packet.c Compiler : IAR EWAAVR 4.11a Revision :

Revision
2.0
Date :
Date
23. august 2005 15:57:40
Updated by :
Author
jtyssoe

Support mail : avr@atmel.com

Supported devices : ATmega48/88/168

AppNote : AVR350: XmodemCRC Receive Utility for AVR Migrated to mega48 and corrected several bugs in original AT90S8515 code

Description : Validates the received packet

Definition in file validate_packet.c.

#include "xmodem.h"

Go to the source code of this file.

Functions

unsigned char validate_packet (unsigned char *bufptr, unsigned char *packet_number)

Variables

global gl


Function Documentation

unsigned char validate_packet unsigned char *  bufptr,
unsigned char *  packet_number
 

Definition at line 34 of file validate_packet.c.

References bad, calcrc(), dup, end, EOT, err, gl, good, out, and SOH.

Referenced by receive().


Variable Documentation

struct global gl
 


Generated on Tue Aug 23 13:47:53 2005 for Atmel AVR Application Note by  doxygen 1.4.4