linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "john smith" <roofass@hotmail.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] (Newbie) Echo server and transferring raw data
Date: Wed, 11 Aug 2004 11:41:44 +0000	[thread overview]
Message-ID: <BAY22-F14OIvmnGlToQ00029178@hotmail.com> (raw)

Hi there,

I'm pretty new to Bluez and network programming and I'd appreciate if I 
anybody could give me some pointers on passing raw data between two hosts.

I've been playing about with hcitools and l2ping and I've got a pand 
connection happening between two pc's.

As an exercise I'd just like to send some data between the server and client 
and maybe build up my own simple application protocol.

My question is ( and I applogise if this sounds dumb), is there an easy way 
to do this? I've been looking at the l2ping code and I'm thinking about 
experimenting with this. Or is it possible to take an Echo program written 
to use IP sockets and simply substitute in things like 'socket(PF_BLUETOOTH, 
SOCK_RAW, BTPROTO_L2CAP)'  where appropriate.

I've been browsing the Howto's but I've only found info on comms between 
mobile phone's, or sharing internet connections.

thanks for reading,

John

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2004-08-11 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 11:41 john smith [this message]
2004-08-11 19:34 ` [Bluez-devel] (Newbie) Echo server and transferring raw data Marcel Holtmann

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=BAY22-F14OIvmnGlToQ00029178@hotmail.com \
    --to=roofass@hotmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).