EmbeddedRelated.com
Forums

ZIP and UNZIP library for C

Started by ram mandavakar February 20, 2007
Hell,

I am doing one project ( i am receiving 5kb of data on serial port with uc,
I had to compress that data on PC side and sent to RCM3000 now i want to unZip the data on RCM3000 side)
which required
ZIP and UNZIP library for C

if any one had done some work on ZIP and UNZIP in c
pl. share that with me.

Thanks
Ram Mandavkar

---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
Hi,

You could try getting zLib to work on the rabbit. Worked well for my
WinCE project:

http://www.zlib.net/

has anyone else done this?

cheers,
-ed
--- In r..., ram mandavakar
wrote:
>
> Hell,
>
> I am doing one project ( i am receiving 5kb of data on serial port
with uc,
> I had to compress that data on PC side and sent to RCM3000 now i
want to unZip the data on RCM3000 side)
> which required
> ZIP and UNZIP library for C
>
> if any one had done some work on ZIP and UNZIP in c
> pl. share that with me.
>
> Thanks
> Ram Mandavkar
>
> ---------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers
>
On Feb 20, 2007, at 4:57 AM, ram mandavakar wrote:
> I am doing one project ( i am receiving 5kb of data on serial port
> with uc,
> I had to compress that data on PC side and sent to RCM3000 now i
> want to unZip the data on RCM3000 side)
> which required
> ZIP and UNZIP library for C
>
> if any one had done some work on ZIP and UNZIP in c
> pl. share that with me.

Use Dynamic C's support libraries used for zimport. www.rabbitsemiconductor.com/documentation/docs/refs/TN234/TN234.htm>

You can use zcompress.exe to do LZ77 compression on the PC side, and
zimport.lib on the rabbit side for decompressing. It looks like
zimport.lib even includes code to compress files, so you could port
that to the PC side if necessary (although you can probably find
public domain C code for doing LZ77 compression).

--
Tom Collins - t...@tomlogic.com
Certified Rabbit Semiconductor Consultant based in Napa, California