Hie,
Is it compulsary for us to send only 20 bytes of data or less than that in one packet in BT5 as we used to do it in BT4 to make BT5 compatible in communicating with smartphones having BT4.
Thank You.
Regards Deepak
Hie,
Is it compulsary for us to send only 20 bytes of data or less than that in one packet in BT5 as we used to do it in BT4 to make BT5 compatible in communicating with smartphones having BT4.
Thank You.
Regards Deepak
No not at all. There are procedures involved in trying to increase the MTU and if you're talking to another device (whether BT4 or 5) which doesn't support longer MTUs, the procedures will fail and you'll need to fall back to the required minimum.
Just write your code to offer a larger MTU, attempt to negotiate a larger MTU and if they work, you use it, if they don't, you stick with the default.
No not at all. There are procedures involved in trying to increase the MTU and if you're talking to another device (whether BT4 or 5) which doesn't support longer MTUs, the procedures will fail and you'll need to fall back to the required minimum.
Just write your code to offer a larger MTU, attempt to negotiate a larger MTU and if they work, you use it, if they don't, you stick with the default.
Does BT5 allow starting connection directly with non-default PDU and ATT_MTU sizes?
no, everything needs to be negotiated. Backwards compatibility is a blessing and a curse.