Symbian
Symbian OS Library

FAQ-0954 What is the maximum value for ReceiveMTU supported in Symbian's implementation of JSR 82's L2CAP connections?

[Index][spacer] [Previous] [Next]



 

Classification: Java Category: J2ME Bluetooth APIs
Created: 12/12/2003 Modified: 12/12/2003
Number: FAQ-0954
Platform: Symbian OS v7.0s

Question:
What is the maximum value for ReceiveMTU supported in Symbian's implementation of JSR 82's L2CAP connections?

Answer:
When opening a L2CAPConnection developers may suggest a maximum value for the packet size used by the implementation for sending and receiving data over L2CAP. For instance

    Connection.open(btl2cap://0050CD00321B:1003;ReceiveMTU=1024;TransmitMTU=1024 )

    requests a Maximum Transmission Unit (MTU) for both sending and receiving of 1024 bytes. Whether this can be satisfied depends on the maximum value for the MTU that the implementation can support (as well as whether this value can be negotiated successfully with the remote peer).

    The maximum value for ReceiveMTU and TransmitMTU supported by Symbian's Bluetooth implementation is 672 bytes (which is also equal to the default value for both ReceiveMTU and TransmitMTU).