All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rohit Kulkarni <rmkulkar@gmail.com>
To: linux-wpan@vger.kernel.org
Subject: Re: Sample code for 6Lo tx/rx
Date: Wed, 28 Jan 2015 16:46:33 +0530	[thread overview]
Message-ID: <CAAkG1NNuLqYtcEoKYPAnviiaVD4TqdoEsRP-MWqpLokBZ6-tkg@mail.gmail.com> (raw)
In-Reply-To: <CAAkG1NMx59Xma0pwUmEZkGaDVmw521xDzdKrHiVfx3Aw08M=4g@mail.gmail.com>

Hi,

I'm sorry for re-posting the same query. Gmail was acting up and said
the earlier one could not be delivered!

-Rohit

On Wed, Jan 28, 2015 at 4:39 PM, Rohit Kulkarni <rmkulkar@gmail.com> wrote:
> Hi,
>
> I was wondering if there is any example code that can tx/rx over a
> 6LoWPAN "node" interface. I've looked through the Unstrung code for
> some examples but it uses ICMP all over. I'd really appreciate if
> someone had any code samples for sending udp data over wpan. I tried
> creating a SOCK_DGRAM socket over AF_IEEE802154 and got the "Protocol
> not supported" error. Creating a SOCK_RAW worked but my life would be
> much easier if I could start using DGRAMs :-) (One of the earlier
> emails on the list mentioned DGRAMs over 6LoWPAN!).
>
> Also, I've never used RAW sockets before, so any help with RAW sockets
> over wpan (if DGRAM is not really an option) will also be a huge help!
>
> Thanks!
> -Rohit

  reply	other threads:[~2015-01-29  3:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28  9:57 Sample code for 6Lo tx/rx Rohit Kulkarni
2015-01-28 11:09 ` Rohit Kulkarni
2015-01-28 11:16   ` Rohit Kulkarni [this message]
2015-01-28 14:03     ` Rohit Kulkarni
2015-01-28 21:04   ` Alexander Aring
2015-01-29  7:32     ` Rohit Kulkarni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAkG1NNuLqYtcEoKYPAnviiaVD4TqdoEsRP-MWqpLokBZ6-tkg@mail.gmail.com \
    --to=rmkulkar@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.