Author Topic: Zaurus aka IrDA sniffer  (Read 5009 times)

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Zaurus aka IrDA sniffer
« on: May 28, 2004, 12:11:29 am »
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
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #1 on: May 28, 2004, 11:03:20 am »
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?
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Zaurus aka IrDA sniffer
« Reply #2 on: May 28, 2004, 11:17:50 am »
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
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #3 on: May 28, 2004, 02:01:43 pm »
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

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #4 on: May 28, 2004, 03:24:55 pm »
if you install lirc , try running mode2 from the command line. Does that do what you want?
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Zaurus aka IrDA sniffer
« Reply #5 on: May 29, 2004, 01:02:26 am »
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
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #6 on: May 29, 2004, 02:00:18 am »
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...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

cowcow

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Zaurus aka IrDA sniffer
« Reply #7 on: May 29, 2004, 12:45:44 pm »
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



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.
SL-C860
Original Japanese ROM
D-Link 660W CF WiFi Card
1G Transend CF Card

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Zaurus aka IrDA sniffer
« Reply #8 on: May 29, 2004, 02:21:02 pm »
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
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

locutus

  • Newbie
  • *
  • Posts: 11
    • View Profile
Zaurus aka IrDA sniffer
« Reply #9 on: May 29, 2004, 07:57:09 pm »
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

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #10 on: May 29, 2004, 09:34:57 pm »
I just built and uploaded it to http://sense.net/zc/files, let me know if it works.

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #11 on: May 29, 2004, 09:37:40 pm »
it = sersniff

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Zaurus aka IrDA sniffer
« Reply #12 on: May 30, 2004, 12:37:30 am »
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
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Zaurus aka IrDA sniffer
« Reply #13 on: May 30, 2004, 12:52:52 am »
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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Zaurus aka IrDA sniffer
« Reply #14 on: May 30, 2004, 04:52:11 am »
Quote
Did you think to try removing the comma?


Oh yes, sorry  :wink:

suruaZ
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB