How to use zModem in android

656 views
Skip to first unread message

Vikas KM

unread,
Jun 29, 2012, 2:42:43 AM6/29/12
to android-porting, android-...@googlegroups.com, andro...@googlegroups.com
Hi All,

I am trying to use zModem in Android to transfer files over serial cable.

Go the precompiled libraries for the board from here .. https://github.com/tigerking/zmodem-android

After booting the board

Since i have the adb working on this board.. i ran the 

Following various commands from shell

For receiving
lrz
lrz -vv -b
lrz -vv -b > /dev/ttyO0 < /dev/ttyO0

For Sending
lsz -vv -b init.rc
lsz -vv -b init.rc > /dev/ttyO0 < /dev/ttyO0

and through minicom selected the zmodem protocol to send/receive the files..

But i always get timeout.

What am i doing wrong??
Has anyone tested zModem working on Android?

--------------
Regards

Vikas KM


Chris Stratton

unread,
Jun 30, 2012, 12:57:20 AM6/30/12
to android-ndk
On Jun 29, 2:42 am, Vikas KM <vikki...@gmail.com> wrote:

> I am trying to use zModem in Android to transfer files over serial cable.

Sounds like an interesting project, but not on topic for the ndk
group.

You'll need to verify the serial drivers and hardware and device
files. Writing a program to send endless data to one might not be a
bad start; also consider you may need to play with line settings -
this would be much more in the realm of ordinary linux serial issues.
The only real android question is if there is hardware, driver, and
permission support - the answer in terms of the ndk platforms released
to date being "assume there isn't".

> Since i have the adb working on this board.. i ran the

Why not just use adb push/pull?


Reply all
Reply to author
Forward
0 new messages