zip.h

来自「Visuabaic interface with com connect to 」· C头文件 代码 · 共 38 行

H
38
字号
// This file has been prepared for Doxygen automatic documentation generation.
/*! \file ********************************************************************
*
* Atmel Corporation
*
* - File              : AVR_zip.h
* - Compiler          : IAR EWAAVR 4.11a
*
* - Support mail      : avr@atmel.com
*
* - Supported devices : All devices with a UART/USART can be used.
*                       The example is written for ATmega128
*
* - AppNote           : AVR323 - Interfacing GSM modems
*
* - Description       : Example of how to use AT-Commands to control a GSM modem
*
* $Revision: 1.1 $
* $Date: Tuesday, November 08, 2005 12:26:20 UTC $
*****************************************************************************/

#ifndef ZIP_H_INCLUDED
#define ZIP_H_INCLUDED

  #define MESSAGE_ENCODED_SIZE  70                          //!< Size of SMS payload
  #define MESSAGE_LENGTH        80                          //!< Max allowed text in SMS
  #define hex_nmbr "0123456789ABCDEF"                       //!< Flash string container, look up table


  int ZIP_compress( unsigned char *in, unsigned char *discarded, unsigned char ret[] );
  int ZIP_decompress( unsigned char *compressed, unsigned char *decompressed );

  int ZIP_atoi( unsigned char *a );
  int ZIP_htoi( unsigned char hex );
  void ZIP_itoh( int n, unsigned char *ret );

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?