Contents
Testing OTA commands in Local mode
Card Reader and Card Auth
Initial set-up for Local Mode
Yate OTA Server has three available Delivery Mode Configurations: OTA Scheduler, OTA SMSC and Local. In this guide we’re are giving two examples of using the Local mode.
Local mode is perfect for testing environment, and sends the commands directly to the local card reader.
Note:
– Different OTA commands can be sent to SIM using a card reader.
– All the commands are packed in an Envelope to simulate SMS.
- Before starting tests you must insert a SIM into card reader with known OTA parameters.
- Next step is to open YateOTA interface, press on ‘Change mode' from the interface header. Then choose “Local” and press on ‘Set Delivery Mode’.
Testing RAM commands
After setting up the card reader with a SIM, and changing the Delivery Mode Configuration to Local, we can test some RAM commands.
For example, we’re going to List all Packages that are present on the SIM.
The following steps must be done:
- From the 3 main tabs, select 'Manage Applets' tab.
- In this menu, under "Select applet to SIM (LOCAL) there are 3 buttons for operating the SIM card, in order to start > Press 'Card Open'.
- Then press the next button next to 'Card Open' > 'Card Auth' in order to unlock the SIM
- In the pop-up window, insert the PIN and press 'Card Auth'
- If the PIN is correct, in the pop-up window will appear the message "Successful Authentication". (After closing it, in the Local Response we can see the authentication command was successfully executed.)
- From the 'Operation' drop-down choose the operation 'List Packages'
- If a keystore is configured, you can automatically fill all the parameters by filling the IMSI/MSISDN and pressing 'Extract from HSS'
- OR
- Fill the IMSI/MSISDN and complete manually all the SIM Parameters and SIM Profile Parameters
- Press on 'Submit' button in the left-bottom corner
- In 'Local Response' window a list of packages should appear
- When you finish, just press the button 'Card Close'
Testing RFM commands
After setting up the card reader with a SIM, and changing the Delivery Mode Configuration to Local, we can test some RFM commands.
For example, we’re going to do a Custom Applet Command that are present on the SIM.
The following steps must be done:
- From the 3 main tabs, select 'Manage Applets' tab.
- In this menu, under "Select applet to SIM (LOCAL) there are 3 buttons for operating the SIM card, in order to start > Press 'Card Open'.
- Then press the next button next to 'Card Open' > 'Card Auth' in order to unlock the SIM
- In the pop-up window, insert the PIN and press 'Card Auth'
- If the PIN is correct, in the pop-up window will appear the message "Successful Authentication". (After closing it, in the Local Response we can see the authentication command was successfully executed.)
- From the 'Operation' drop-down choose the operation 'Custom Applet Commands'
- If a keystore is configured, you can automatically fill all the parameters by filling the IMSI/MSISDN and pressing 'Extract from HSS'
- OR
- Fill the IMSI/MSISDN and complete manually all the SIM Parameters and SIM Profile Parameters
- Fill the 'Custom Applet commands' with the following APDUs to update EF SPN under GSM to 'Test SPN'
00A40004023F0000A40004027F2000A40004026F4600D600001100546573742053504EFFFFFFFFFFFFFFFF
- In 'Local Response' window you should see at the end 'Command successfully executed'
- When you finish, just press the button 'Card Close'
In order to test that the command worked as expected, insert the SIM into a phone. The network name, in the upper left corner, should be ‘Test SPN‘.
YateOTA
OTA gateway solution for remote updates
See the product here ››