Supporting multiple eUICC profiles
The disclosure relates to supporting multiple logical interfaces over a single physical interface, in particular relating to supporting multiple profiles on eSIMs/eUICCs. Example embodiments include an electronic device comprising: an integrated circuit, IC, card domain configured to store a plurality of SIM profiles; and a communication domain coupled to the IC card domain via a physical interface, wherein the communication domain comprises a communication domain interface configured to receive an application command packet, identify one of the plurality of SIM profiles, encapsulate the application command packet with an interface identifier associated with the one of the plurality of SIM profiles in a transport packet and send the transport packet to the IC card domain over the physical interface, and wherein the IC card domain comprises an operating system configured to receive the transport packet, extract the application command packet, send the application command packet to the identified one of the plurality of SIM profiles, receive a response from the identified SIM profile and send the response to the communication domain over the physical interface.
1 . An electronic device comprising:
an integrated circuit (IC) card domain configured to store a plurality of SIM profiles; and a communication domain coupled to the IC card domain via a physical interface, wherein the communication domain comprises an interface driver configured to receive a command Application Protocol Data Unit (APDU) identify one of the plurality of SIM profiles from the command APDU, encapsulate the command APDU in a Transport Protocol Data Unit (TPDU) comprising an interface identifier associated with the one of the plurality of SIM profiles and send the TPDU to the IC card domain over the physical interface, and wherein the IC card domain comprises an operating system configured to receive the TPDU, extract the command APDU, send the command APDU to an identified one of the plurality of SIM profiles, receive a response from the identified SIM profile and send the response to the interface driver over the physical interface;
wherein the TPDU includes a header portion and a body portion, the header portion comprising a first parameter indicating a command for the identified one of the plurality of SIM profiles, a second parameter identifying the one of the plurality of SIM profiles, and a third parameter indicating a size of the body portion, and the body portion comprising the command APDU.
2 . The electronic device of claim 1 , wherein the interface driver is configured to encapsulate a packet using an ISO 7816-4 Envelope command.
3 . The electronic device of claim 1 , wherein the IC card domain and communication domain are configured to communicate via the physical interface according to the ISO 7816-3 T=0 transport layer specification.
4 . The electronic device of claim 1 , wherein the electronic device is a mobile telecommunications device, the communication domain comprising a baseband modem connected to an antenna and an application processor configured to communicate with the baseband modem via a communication interface.
5 . A method of operating an electronic device comprising an integrated circuit (IC) card domain configured to store a plurality of SIM profiles and a communication domain coupled to the IC card domain via a physical interface, the method comprising:
an interface driver of the communication domain receiving a command Application Protocol Data Unit (APDU) identifying one of the plurality of SIM profiles from the command APDU, encapsulating the command APDU in a Transport Protocol Data Unit (TPDU) the TPDU comprising an interface identifier associated with the one of the plurality of SIM profiles and send the transport packet to the IC card domain over the physical interface; and an operating system of the IC card domain receiving the TPDU, extracting the command APDU, sending the APDU to the identified one of the plurality of SIM profiles, receiving a response from the identified SIM profile and sending the response to the interface driver of the communication domain over the physical interface;
wherein the TPDU includes a header portion and a body portion, the header portion comprising a first parameter indicating a command for the identified one of the plurality of SIM profiles, a second parameter identifying the one of the plurality of SIM profiles, and a third parameter indicating a size of the body portion, and the body portion comprising the command APDU.
6 . The method of claim 5 , wherein the interface driver encapsulates a packet using an ISO 7816-4 Envelope command.
7 . The method of claim 5 , wherein the IC card domain and communication domain communicate via the physical interface according to the ISO 7816-3 T=0 transport layer specification.
8 . The method of claim 5 , wherein the command is one of a Get Status, Reset, Create, Activate, Deactivate and Delete command.
9 . The method of claim 5 , wherein the electronic device is a mobile telecommunications device, the communication domain comprising a baseband modem connected to an antenna and an application processor configured to communicate with the baseband modem via a communication interface.