> I read that my nokia, 6681, haven't OBEX,
Are you sure that Nokia 6681 hasn't OBEX? I'm desagrement (but no sure).
> can I do the same using only JSR-82?
Yes, using JSR82 and OBEX it's very simple:
http://www-128.ibm.com/developerworks/library/wi-boogie1/index.html
If you haven't OBEX but you has JSR82 (very strange), it's possible too but more complicated.
>
> Regards
>
> Let
Java Technology:
FileConnection and PIM API (JSR-75)
CLDC 1.1
Nokia UI API
Bluetooth API (JSR-82 No OBEX)
Mobile 3D Graphics API (JSR-184)
MIDP 2.0
JTWI (JSR-185)
Mobile Media API (JSR-135)
Wireless Messaging API (JSR-120)
Uff! But no problem, you could use RfComm.
But i don't understand.
6681 is a S60 2ed mobile series.
In http://www.forum.nokia.com there are some OBEX example and are compatibles with all S60 mobiles.
Please, test these examples and tell me.
MIDP: Bluetooth OBEX Example - Business Card Exchanger:
file name: MIDP_Bluetooth_OBEX_Example_Business_Card_Exchange_v1_0_en.zip
description:This MIDP application demonstrates the usage of the JSR-82 Bluetooth OBEX API by exchanging business cards between devices. The OBEX API is currently supported by the S60 platform, from S60 2nd Edition, Feature Pack 3 onwards.
date of publication:2006-06-22
type:Example
topics:Bluetooth
Bluetooth API (JSR-82)
Connectivity
File Connection and PIM API (JSR-75)
J2ME
Java
MIDP
PIM
S60
S60 3rd Edition
(S60 2nd Edition)
language:English (en)
encoding:Zip Archive (zip)
intended audience:Intermediate Technical Audience
compatibility:S60 3rd Edition; S60 2nd Edition, Feature Pack 3; Tested on Nokia N70, Nokia N71, Nokia N80, Nokia N90; Nokia Prototype SDK 4.0 for Java?Platform, Micro Edition S60 device
see also:MIDP: OBEX API Developer's Guide
And, if finally 6681 hasn't OBEX and you want obex implementation (only need Rfcomm), could use http://sourceforge.net/projects/avetanaobex