From: Mohan K <kmohangda@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: Fw: [Bluez-users] Re: Can't able to send data in both direction
Date: Fri, 4 Mar 2005 18:27:31 +0530 [thread overview]
Message-ID: <7aa80ced05030404572b157616@mail.gmail.com> (raw)
In-Reply-To: <1109933262.8058.21.camel@pegasus>
Hi Marcel,
Thanks for your suggestion. I tried by keeping the
connection open. On the receiving side I am using recv() function.
Immediately after recv() function I want to print the data. The
problem I am facing is, it prints the received data only after
disconnecting the connection on the sending side with close(). For
that time the data is available in the buffer. Whether I want to
multithread the recveive portion, sothat I can dispay the data
immediately after receiving? Is there any other bluez command to
receive the data?
Thanks & Regards
Mohan
On Fri, 04 Mar 2005 11:47:42 +0100, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Mohan,
>
> > I bought a new dongle, and now the send program is
> > working on two sides.
> > I am facing one more problem. The send program is
> > reading a character for PC keyboard using getch()
> > function,immediately, it establishes a connection using connect() and
> > then it sends the data. This is in a do-while loop to read and send
> > the continous key press. The problem is, I am not getting all the data
> > on the recv side, what i have typed on the send side. As for I know
> > the problem is due to delay in l2cap connection establishment. Is
> > there any way to avoid the delay? Kindly suggest me.
>
> you must keep the connection open.
>
> Regards
>
> Marcel
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-03-04 12:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <004401c5207b$c13a3210$4100a8c0@benjamin>
2005-03-04 5:48 ` Fw: [Bluez-users] Re: Can't able to send data in both direction Mohan K
2005-03-04 10:47 ` Marcel Holtmann
2005-03-04 12:57 ` Mohan K [this message]
2005-03-04 14:14 ` [Bluez-users] Re: Fw: " Sebastian Roth
2005-03-07 5:00 ` Mohan K
2005-03-07 8:18 ` Pedro Monjo Florit
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=7aa80ced05030404572b157616@mail.gmail.com \
--to=kmohangda@gmail.com \
--cc=bluez-users@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 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.