Method and system establishing a data link layer protocol on a I
View Patent ↗This invention relates to a method for establishing a data link layer connection enabling data communication between a plurality of modules in a system connected to an I 2 C™-bus. The modules may be a mobile communication device such as a cell or mobile telephone, and peripherals such as a functional cover, a camera or the like. In addition, this invention relates to a data package configured according to the I 2 C™ specification and according to a data link layer protocol.
1. A system for providing data communication between a plurality of electronic modules connected to an I 2 C™-bus, wherein the system comprises said plurality of electronic modules and said I 2 C™-bus; and wherein each of said plurality of electronic modules communicates, via said I 2 C™-bus, a data package comprising:
a layered structure having a physical layer complying with I 2 C™ specifications, a data link layer comprising first header field for data payload type and a second header field for a data link layer version, and a network/transport layer comprising a third header field for transmitting an electronic module's address, a fourth header field for a length of said data package, and comprising a data payload, and
wherein information contained within said header fields provides compatibility among individual ones of said electronic modules operating under differing rules of data exchange.
2. A system according to claim 1 , wherein said electronic modules comprise a mobile communication device consisting of a cell, mobile or satellite telephone, a personal digital assistant, or peripherals thereto.
3. A system according to claim 1 , wherein said data payload type comprises OBEX, TCP, IP, HTTP, or any proprietary payload type.
4. A system according to claim 1 , wherein said data link layer version comprises a major version, which is binary incompatible, and a minor version, which is binary compatible.
5. A system according to claim 1 , wherein said data package further comprises in said network/transport layer a fifth header field for an offset value for determination of data payload start in said data package.
6. A system according to claim 1 , wherein said data package further comprises in said network/transport layer a sixth header field, located prior to said data payload start in said data package, for buffering the data payload from other ones of the header fields.
7. A system according to claim 1 , wherein said data package further comprises a checksum field following the data payload.
8. A system according to claim 1 , wherein said data package further comprises in said network/transport layer a seventh header field for a data package number.
9. A system according to claim 1 , wherein said data package further comprises in said network/transport layer an eighth header field for a data package fragment sequence number.
10. A method for formulating a data package for communicating between a plurality of electronic modules connected to an I 2 C™-bus, comprising:
providing the data package with a layered structure having physical layer data complying with I 2 C™ specifications,
placing data link layer data in a first header field comprising data payload type, and inserting a second header field comprising a data link layer version,
placing network/transport layer data in a third header field comprising a transmitting electronic module's address, inserting a fourth header field comprising a length of said data package, and providing a data payload, and
wherein information contained within said header fields provides compatibility among individual ones of said electronic modules operating under differing rules of data exchange.
11. A method of formulating a data package according to claim 10 further comprising inserting in said network/transport layer a fifth header field for an offset value for determination of data payload start in said data package.
12. A method of formulating a data package according to claim 10 , including a making of said data payload of a type comprising OBEX, TCP, IP, HTTP, or any proprietary payload type.
13. A method of formulating a data package according to claim 10 further comprising inserting in said network/transport layer a sixth header field, at a location prior to said data payload start in said data package, for buffering the data payload from other ones of the header fields.
14. A method of formulating a data package according to claim 10 further comprising inserting a checksum field following the data payload.
15. A method of formulating a data package according to claim 10 further comprising inserting in said network/transport layer a seventh header field for a data package number.
16. A method of formulating a data package according to claim 10 further comprising inserting in said network/transport layer an eighth header field for a data package fragment sequence number.
17. A receiver unit for receiving a data package formulated according to claim 10 , wherein the receiver unit comprises at least one module of a plurality of electronic modules and a I 2 C™-bus that interconnects the modules of said plurality of electronic modules, and wherein each of said plurality of electronic modules communicates via said I 2 C™-bus.
18. A transmitter unit for transmitting a data package formulated according to claim 10 , wherein the transmitter unit comprises at least one module of a plurality of electronic modules and a I 2 C™-bus that interconnects the modules of said plurality of electronic modules, and wherein each of said plurality of electronic modules communicates via said I 2 C™-bus.
19. A method for establishing data communication between a plurality of electronic modules connected to an I 2 C™-bus, wherein said plurality of electronic modules each communicate a data package comprising a layered structure having a physical layer complying with I 2 C™-bus specifications, and wherein said method comprises:
providing in said data package, in a data link layer, a first header field for data payload type and a second header field for a data link layer version,
providing in said data package, in a network/transport layer, a third header field for a transmitting electronic module's address and a fourth header field for a length of said data package, and
providing in said data package a data payload for establishing data communication between a plurality of said electronic modules, and
wherein information contained within said header fields provides compatibility among individual ones of said electronic modules operating under differing rules of data exchange.
20. A server of a computer program, wherein the computer program comprises code performing the following steps when said program is run in a data processor adapted to establish data communication between a plurality of electronic modules connected to an I 2 C™-bus, wherein said plurality of electronic modules each communicate a data package comprising:
a layered structure having a physical layer complying with I 2 C™ specifications, and wherein said program provides in said data package in a data link layer a first header field for data payload type and a second header field for a data link layer version, provides in said data package in a network/transport layer a third header field for a transmitting electronic module's address and a fourth header field for a length of said data package, and provides in said data package a data payload, and
wherein information contained within said header fields provides compatibility among individual ones of said electronic modules operating under differing rules of data exchange.