Factory test mode
The factory test mode (FTM) feature allows you to test SIM cards prior to their deployment in a production environment. SIM cards in FTM provide 100 KB of data usage and 10 SMS MT/MO free of charge.
In this state, you won’t be charged the monthly SIM hosting fees and the data consumed won’t affect the pooled allowance.
Patch your SIM to Factory Test
You need to register your SIM before activating FTM. For more information, see Register SIMs.
A SIM card can only be patched to “Factory Test” from the “Issued” state. To patch your SIM card, follow these steps:
Open the API Reference.
Go to the SIMs section and select /api/v1/sim/{sim_id} (Update a SIM).
The server responds with code 204 if successful.
Once the SIM is assigned to a device, the device status shows as Factory test in the Connected Devices page of the emnify Portal.
When the 100 KB of data or 10 SMS MT/MO are reached, the SIM card automatically moves to “Activated” status and the device status changes to “Enabled.”
Activate FTM in bulk
To activate FTM in bulk, use the following API calls.
First, update the SIM status to Factory Test.
PATCH https://cdn.emnify.net/api/v1/sim/{sim_id}
Second, create the endpoints.
Important:
Make sure to assign the Factory Test SIM cards to an enabled endpoint (status_id=0).
Otherwise, assigning SIM cards to a disabled endpoint activates the SIM once the endpoint gets enabled.
POST https://cdn.emnify.net/api/v1/endpoint
Replace 1234 with the relevant ID values.