From: Denis KENZIOR <denis.kenzior@trolltech.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Avetana GPL Stack
Date: Mon, 27 Aug 2007 09:45:07 +1000 [thread overview]
Message-ID: <200708270945.07388.denis.kenzior@trolltech.com> (raw)
In-Reply-To: <1187957366.15402.141.camel@violet>
Marcel,
Speaking of JSR82. I've been hearing our PSO department has been working w=
ith =
Sun to get a working JSR82 stack on top of Linux. They've been having some =
problems supporting some JSR82 defined methods, for instance:
/**
* Checks if a remote device was authenticated.
*
* @param addr Bluetooth address of a remote device
=A0* @param pBool pointer to variable where the result is to be stored:
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0<code>JAVACALL_TRUE</code> if authenticated,
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0<code>JAVACALL_FALSE</code> otherwise
=A0* @retval <code>JAVACALL_OK</code> on success
=A0* @retval <code>JAVACALL_FAIL</code> on failure
=A0*/
javacall_result javacall_bt_bcc_is_authenticated(
=A0 =A0 =A0 =A0 const javacall_bt_address addr,
=A0 =A0 =A0 =A0 /*OUT*/javacall_bool *pBool);
The best way to determine this is of course for a specific transport =
connection, e.g. getsockopt RFCOMM_LM & L2CAP_LM. However, short of using =
the 'hcitool con' implementation, I'm not sure how to get this information.=
=
Should this be up for inclusion into the org.bluez.Adapter API? What's the =
best way to do this? I can probably work on a patch if required...
/**
=A0* Increases or decreases encryption request counter for a remote device.
=A0*
=A0* @param addr the Bluetooth address of the remote device
=A0* @param enable indicated whether the encryption needs to be enabled
=A0* @param pBool pointer to variable where the result is to be stored:
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0<code>JAVACALL_TRUE</code> if the encryptio=
n must be
changed,
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0<code>JAVACALL_FALSE</code> otherwise
=A0* @retval <code>JAVACALL_OK</code> on success
=A0* @retval <code>JAVACALL_FAIL</code> on failure
=A0*/
javacall_result javacall_bt_bcc_set_encryption(
=A0 =A0 =A0 =A0 const javacall_bt_address addr,
=A0 =A0 =A0 =A0 javacall_bool enable,
=A0 =A0 =A0 =A0 javacall_bool *pBool);
Same problem with this one. Ideally the setsockopt RFCOMM_LM and L2CAP_LM =
should work on client sockets as well (I think they only work on server =
sockets right now). Any ideas on how to implement this one?
-Denis
On Friday 24 August 2007 22:09, Marcel Holtmann wrote:
> Hi Robert,
>
> > I made some patches to the Avetana GPL Stack (the version that works
> > with Bluez which is why I am posting here). If any one is interested
> > in JSR82, java bluetooth stuff, shoot me an email.
>
> I would prefer if someone takes over the maintainership and creates a
> working JSR82 stack that can use the latest BlueZ versions. Personally I
> am not using Java at all so I might be of no help here.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-08-26 23:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 18:25 [Bluez-devel] Avetana GPL Stack robert
2007-08-24 12:09 ` Marcel Holtmann
2007-08-26 23:45 ` Denis KENZIOR [this message]
2007-08-27 12:54 ` 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=200708270945.07388.denis.kenzior@trolltech.com \
--to=denis.kenzior@trolltech.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