Method and system for encoding communications between wireless and other devices
AssigneeResearch In Motion Limited
InventorsSrimantee Karmakar, Bryan Goring, Michael Shenfield, Kamen Vitanov, Jeffrey Rogers
Life of this patent
Estimating the term…
Abstract
A method for encoding a message communicated between devices, the message having at least one field, the method comprising: if the field is not optional and contains a value, writing the value to one or more data bytes in a byte buffer; and, if the field is optional and contains a default value, marking a bit in a reserved byte in the byte buffer to indicate that the field contains a default value.
Claims21
A method for encoding a message communicated between devices, the message having at least one field, the method comprising:
- if the field is not optional and contains a value, writing the value to one or more data bytes in a byte buffer;
- and,
- if the field is optional and contains a default value, marking a bit in a reserved byte in the byte buffer to indicate that the field contains a default value.
A system for encoding a message communicated between the system and a remote system over a network, the message having at least one field, the system comprising:
- a processor coupled to memory and an interface to the network, and adapted to:
- if the field is not optional and contains a value, write the value to one or more data bytes in a byte buffer;
- and,
- if the field is optional and contains a default value, mark a bit in a reserved byte in the byte buffer to indicate that the field contains a default value.
A computer program product having a computer readable medium tangibly embodying computer executable code for directing a system to encode a message communicated between the system and a remote system over a network, the message having at least one field, the computer program product comprising:
- code for, if the field is not optional and contains a value, writing the value to one or more data bytes in a byte buffer;
- and,
- code for, if the field is optional and contains a default value, marking a bit in a reserved byte in the byte buffer to indicate that the field contains a default value.
Dependencies are inferred from the claim text.