Hello.I wrote two apps.One client application and one server application that exchange file using the obex protocol.
I used the bluetooth and obex optional pakages for the client application that runs on a mobile and avetanabluetooth for the server application that runs on my pc.
If i exchange small files like text files everythings works right.
If i try to exchange a bigger file,like a movie,i get an exception when i open the OutputStream on the client application and begin to read.
I get : Maximum Packet Size Exceeded 1027 > 1024 !!!!
What's that? The Obex implementation should handle packet size by itself.Shouldn't it? How could i do?Is there a a way to set the MTU within a obex connection??
pleas help me!Thank you

Reply With Quote


