John K. Luebs | 21 Jan 2010 00:23

Re: Access to IrDA PHY Level

Check out the PF_PACKET interface documented in the packet(7) man page.
You can open a packet socket with SOCK_RAW and send pretty much
raw frames out an IrDA device from userspace.

You can use the SIOCSBANDWIDTH ioctl on the packet to set the data rate.
You might have to explore the linux/irda.h header directly and
if_irda_req struct for details as I don't believe a lot of this low
level stuff is documented formally.

--jkl

Wallner Andreas wrote:
> Hi,
>  
> I have to following problem: we buit an IrDA FIR core for a FPGA / 
> ASIC, and we want to verify this core against an interface we know is 
> standard compliant. Since we don't have a full IrDA Stack available 
> ATM, and want to test it layer-by-layer anyway we thought of using one 
> of our notebooks IrDA interfaces.
>  
> I have no clue about the IrDA implementation on Linux, that why I 
> wanted to ask wheter it is possible to gain access to the IrDA PHY 
> level (the level where you would normally begin to write your IrDA 
> stack and implement IrLAP?
>  
> Regards,
> Andreas Wallner
>
> FH JOANNEUM Gesellschaft mbH
> Rechtsform/Legal form: GmbH
> Firmenbuchgericht/Court of registry: Landesgericht für ZRS Graz
> Firmenbuchnummer/Company registration: FN 125888 f
> DVR: 0813559
> UID-Nr.: ATU 42361001
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> irda-users mailing list
> irda-users@...
> http://lists.sourceforge.net/lists/listinfo/irda-users
>   

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

Gmane