Looking for a guide to extend|adapting the socket framework for NFCIP-1.




Hi,

I'm exploring the way to extend or adapt the socket programming framework
for NFC devices using C programming. (for future-porting compatible)

Using the bluetooth framework as basic reference, I've some questions and
need helps regarding the adaption.

1) As the NFC device is attached to the USB or UART port, how and where in
the source code can I change the output of the byte-stream packet to the
proper physical port? i.e where is the part of the source code that is
physical device dependent when doing the I/O calls?

2) As the protocol family (PF_xx) and address family (AF_xx) of NFC is not
define in the socket library, how can I define them and let the default
socket() call return a socket with the customized structure? I can see that
I may need to use SOCK_RAW as the basic socket framework or any others
recommendation?

Any comments and recommendations for the above issue is gladly appreciated.

Thanks for help.
--
View this message in context: http://www.nabble.com/Looking-for-a-guide-to-extend%7Cadapting-the-socket-framework-for-NFCIP-1.-tp15757882p15757882.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Looking for a guide to extend|adapting the socket framework for NFCIP-1
    ... I'm exploring the way to extend or adapt the socket programming framework ... for NFC devices using C programming. ...
    (freebsd-net)
  • Re: COmpact Framework Network Sniffing
    ... the UI with a Compact Framework application. ... code) to capture the packets and forward them, ... //For sniffing the socket to capture the packets has to be a raw ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Nonblocking and/or win32
    ... Add received data to a buffer. ... The framework notify that some data available. ... > something that simply calls a method on the socket of concern. ...
    (comp.lang.ruby)
  • Re: Nonblocking and/or win32
    ... Check to see if there's any data waiting. ... your program cannot have data from the socket. ... If the program use a event driven framework, ... No virus found in this outgoing message. ...
    (comp.lang.ruby)
  • Re: Event Driven programming - Doubts
    ... I went through a lot of tutorials, ... I have not understood how the callbacks are hit without ... through a socket. ... When you schedule action on your socket, you are telling the framework to include your socket in in subsequent calls to select, until the socket selects as ready. ...
    (comp.lang.python)