Patent ID: 7742500

Claim:
A method for transmitting data according to a communication protocol from a mobile station, said mobile station comprising a smart card and a host mobile equipment cooperating with said smart card, said communication protocol being organized in several layers, said communication protocol including at least one data transport layer of a datagram type having a maximum size for data packets that can be transmitted in their entirety, said method comprising the steps of: transmitting by said smart card to a calculation entity at least one message, said calculation entity determining a value of said maximum size of the data packets that can be transmitted in their entirety by said data transport layer of said host mobile equipment based on the size of the message received; and storing by said smart card said value of said maximum size of the data packets determined by the calculation entity; wherein determining said value of the maximum size of the data packets includes: sending one or more messages by said smart card, each message comprising a specific header indicating at least one request for determining the maximum size of the data packets; filtering the messages having a length less than or equal to the maximum size of the data packets within said data transport layer; receiving the filtered messages which have kept the original specific header and calculation of their respective length by said calculation entity; sending said calculated lengths to said smart card of said mobile station; and determining said value of the maximum size of the data packets by said smart card by comparison of said calculated lengths.