Help - Search - Members - Calendar
Full Version: Zaurus aka IrDA sniffer
OESF Portables Forum > General Forums > General Discussion
suruaZ
Could I use Zaurus for IrDA sniffing? I need to debug infra red communications between cell phone and Psion.
I tried tcpdump with -i irda0 without luck. Any ideas?

Thanks,
suruaZ
RichS
you could try qmode2, which need lirc to work. It works great on my 5600 but whether or not it will do what you wnat, I don't know?
suruaZ
Not exactly what I need. It's "Graphical IR signal tracer" but I need to see what data passing through IR to analyze what's going on.

suruaZ
datajerk
IrDA device should be a serial device. Try kermit and set line /dev/ircomm with a BPS rate that matches the other 2 devices.
RichS
if you install lirc , try running mode2 from the command line. Does that do what you want?
suruaZ
QUOTE
if you install lirc , try running mode2 from the command line. Does that do what you want?


Closer but still not exacltly what I need. I got live pulse/space values. But how to convert this in to read able form? I need to see this data flow in hex or ascii to analyze IrDA frames.

Thanks,
suruaZ
RichS
You'd have to talk to someone who has coded for a keyboard. You need a traslation program and I don't know of any... Would be interesting and I think you'd have to settle for hex. You have to remember that irda is not ascii or hex in nature. It's simply a series of pulses. It's the software that has to turn the pulses into a human or machine readable format...

Good luck and let us know if you come up with anything...
cowcow
Tried sersniff? Let me know how it goes too.. I would like to reverse engineer my Samsung E700A too, as it does not seems to support OBEX, and hence cannot easily transfer photo to my Z sad.gif



http://www.earth.li/projectpurple/progs/sersniff.html

sersniff


sersniff is a simple program to tunnel/sniff between 2 serial ports. The current version is 0.0.4


Download sersniff

Source tarball (16kb)

Description


This program was written to aid me with the decoding of the protocol used by the Nokia 9000i Communicator to talk to the NServer software Nokia provides, which only runs under Windows. Having hastily thrown together the code to do what I needed it occured to me that others may have a use for something similiar and that having a skeleton available may help.


This version adds the ability to change the ports to use and the baud rate to use. It also has support for sniffing a TCP connection or between a serial port and a TCP port.
suruaZ
QUOTE
Tried sersniff? Let me know how it goes too..  
...
Source tarball (16kb)  
...


I have no facilities set to compile it in Zaurus ipk.

suruaZ
locutus
QUOTE
QUOTE
Tried sersniff? Let me know how it goes too..  
...
Source tarball (16kb)  
...


I have no facilities set to compile it in Zaurus ipk.

suruaZ


Sure you do. Go get zDemoLinux CD and do it from there( hint, no need to install anything ). A search should get you to it.
datajerk
I just built and uploaded it to http://sense.net/zc/files, let me know if it works.
datajerk
it = sersniff
suruaZ
QUOTE
Sure you do. Go get zDemoLinux CD and do it from there( hint, no need to install anything ).

Yes I know. It's cool project. But I'm on 33.6 dialup.
QUOTE
I just built and uploaded it to http://sense.net/zc/files, let me know if it works.

"The requested URL /zc/files, was not found on this server."

suruaZ
Stubear
QUOTE
QUOTE
I just built and uploaded it to http://sense.net/zc/files, let me know if it works.

"The requested URL /zc/files, was not found on this server."

suruaZ


Did you think to try removing the comma?

Stu
suruaZ
QUOTE
Did you think to try removing the comma?


Oh yes, sorry :wink:

suruaZ
suruaZ
QUOTE
I just built and uploaded it to http://sense.net/zc/files, let me know if it works.

Thanks datajerk. It works. At least I'm able to run the program, to see the help. Unfortunately I was not able yet to find the way how to sniff ircomm with it.
I tried
#sersniff -i /dev/ircomm -o /dev/tty0 -b 115200 -s
and some other command lines without getting of any output in the terminal screen or file.
Did someone had more luck with sersniff to sniff ircomm?

suruaZ
datajerk
I believe that ircomm is disabled by default. Try setting to automatic in the beam receive app. Just a guess. I will try to test later.
ciro
I guess you want the irdadump utility (it's part of irda-utils)

NAME
irdadump -- monitors the IrDA traffic on one ore more links.


SYNOPSIS
irdadump [-i device] [-d] [-l] [-s n] [-x]

OPTIONS
-i device N.N.

-l set line buffering on output file.

-d prints the time difference between the current and the previous
frame.

-s n Set snaplen for -x.

-x dump frame.
suruaZ
QUOTE
I guess you want the irdadump utility (it's part of irda-utils)


Have you seen it ported for Zaurus somewhere?

suruaZ
ciro
Get some old irda-tools package from debian/arm. I hope it will be compatible with your libc. Though, it's not hard to compile.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.