You might remember an ad campaign in which a woman approaches a soft drink vending machine alongside a young male executive. The executive rummages through his pants pocket to find, to his dismay, that he has no change to purchase a cool drink on a hot afternoon. The woman then pulls out her cell phone, presses a few buttons, and a soda can drops down from the vending machine. The ad was meant to show a future of a seamless, interactive world. The SIM Access Profile, released by the Bluetooth Special Interest Group (SIG), makes such transactions a reality, allowing a consumer to use a cellular device to obtain, for example, a 50-cent soft drink without spending 25 cents on a cell phone airtime charge.
SIM Access Profile basics
The SIM Access Profile functions in two modes, client and server, and can work in two types of scenarios. Both of these scenarios involve Bluetooth-enabled server and client devices that together have an established Bluetooth connection. In the first scenario, only the server has a SIM card and the client establishes a connection with the server. In the second scenario, the client has a proactive SIM card and the server has the additional SIM card; both the server and client initiate a connection. Figure 1 shows a general description of the Profile's workings.
Figure 1. The SIM Access Profile using server and client mechanisms
Figure 2 illustrates a standard SIM Access Profile configuration with respect to the Bluetooth stack.
Figure 2. The SIM Access Profile using Bluetooth
The client can initiate the following operations to the server (with the SIM card):
- Manage connection. Establish and terminate a SIM Access Profile connection.
- Transfer APDUs (Application Protocol Data Units). The application sends command APDUs, while the SIM sends response APDUs. Command and response APDUs only occur as pairs, in which each command APDU is followed by a response APDU.
- Transfer ATRs (Answer to Reset). Sends the ATR content (which says that the receiving side has accepted the APDU) from the server to the client over the Bluetooth link. Control the SIM. Turn the SIM card on or off.
- Control the SIM. Turn the SIM card on or off.
- Report status. Server informs the client about their connection status.
- Transfer card reader status. Sends the card reader status to the client over the Bluetooth link.
- Each telephone booth could cater to multiple users provided there are multiple connections, thereby saving a lot of space.
- As of today there is a huge disparity between the land line costs and cell phone costs. This mechanism combines the cost of using a land line, providing the user a flexibility of using Wireless communication within a particular radius from the booth.
- Contain a SIM card and subscribe to a telephone network
- Be Bluetooth-enabled
- Support the Personal Area Network (PAN) or LAN Access Profile
- Support the SIM Access Profile
- ACMmax Value. The Accumulated Call Meter Maximum Value could be the maximum value the SIM permits at any time; for example, in situations where pre-paid cards are used.
- ACM. The Accumulated Call Meter tracks the amount of money transacted for each call.
- SPN. The Service Provider Name entity file stores the name of the service provider. At regular intervals, the vending machine would also need to send this data to the back-end service provider to inform it of transactions performed.
- PPUCT. The Price Per Unit and Currency Table is useful as a currency conversion table to deduct the appropriate amount of money when traveling in another country.
- Wireless transaction. Each transaction is immediately pushed from the vending machine to the back-end cellular network. The vending machine, however, must provide the cost for the airtime used to communicate with the back-end network.
- Wired transaction. Because the transaction happens over a wired network, you would need additional network infrastructure support. However, this could be a cheaper method.
- Delayed transaction. The vending machine or monetary service provider initially holds all the details in back-end storage and flushes the locally stored data at a later time, say at the end of the day. Because vending machines are of a limited capacity (each vending machine can hold only a maximum number of soft drink bottles), the software could provide sufficient memory to store all transaction details. This would eliminate the need for any new immediate transactions.
- A user approaches the vending machine with his Bluetooth-enabled PDA.
- The vending machine, which has a Bluetooth module and associated software, initializes a connection to the PDA's SIM Access server using the PAN Profile. (The PDA is given a link local IP address so its packets can be sent to and from the vending machine.)
- The user's application screen requests for a password/biometric verification to enable transactions. The verification sends a CHV Disable to the SIM card.
- The applications on the PDA and the Bluetooth-enabled vending machine start to communicate over PAN Profile; for example, the user selects a particular item.
- The vending machine's SIM client sends the corresponding APDU to access and increment the appropriate entity files to make the necessary deductions.
- Upon receiving an acknowledgment APDU, the SIM Access Profile indicates to the application that the transaction is complete.
- The vending machine dispenses the selected item.
- The network records the transaction from the user's SIM card by reading the entity file.
- Finally, the vending machine sends confirmation of the transaction to the PDA's Network Service Provider.
- Find both the SIM Access Profile Specification and Bluetooth Standards Specification on Bluetooth.org.
- The GSM 11.11 Specification shows how to connect the payment gateway to a cellular network.
- Check out the IBM Linux Watch with Bluetooth capabilities.
- Also read Hemang Subramanian's "Handing Off to Bluetooth" in the developerWorks Wireless technology zone. (developerWorks, December 2002)
No comments yet. Be the first to comment!