📄 avrgsm_zip.h
字号:
// 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:25:34 UTC $
*****************************************************************************/
#ifndef AVR_SMS_ZIP_H_INCLUDED
#define AVR_SMS_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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -