| Reply | « Previous Thread | Next Thread » |
|
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 |
| kufa_reason |
| View Public Profile |
| Find all posts by kufa_reason |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|