You Are Here:

Community: Developer Discussion Boards

#1 Old [jsr82] Packet sizes / 6600 - 2004-07-16, 15:02

Join Date: Jan 2004
Posts: 7
kufa_reason
Offline
Registered User
Hi there,

After spending alot of time developing some bt applications, i have noticed something weird happening on the 6600 ; i know this device has some bluetooth issues, according to some nokia documents, but i really want to know if i'm doing something wrong or if it is really a bug in the jsr82 implentation.

Basically, i create L2CAPConnections, MTU size is set to default one. I have on both server and client a basic read-write-paint-sleep loop. I use send(), ready() and receive(), of course. If i send small packets, like 4 bytes, everything is ok. But if i often change the size of the packets, they seem to be cropped, but the beginning is ok. (and it's NOT a synchronization problem, the first byte i send is the size).

Right now i've fixed this issue by always sending a fixed packet size, even if the buffer is not used completely. Interestingly, if i want to use 30 packet sizes, i have to send 40 bytes if i dont want them to be cropped.. Weird, especially since the code works perfectly on the p900, the s60 beta emulator, wtk2.2 emulator.. (and of course i tried with the latest firmware)

Any idea?

/kUfa
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia