- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Main Procedure
Basically, the main procedure of this test is explained as below:
- Prepare the corrupted original file
- Upload it to modem
- Turn it on with get imei, the imei should not be appeared as it found a corrupted file
- Turn off the modem
- Turn it on again, make sure the imei appeared on the command response
- Make sure the file is fixed with download file command
More Detailed Procedure
If You're blind enough about the main procedure, follow these instructions:
Open test scripts directory, and then go to files/modem_cfg_files
Prepare the corrupted original file by delete the file contents. You can choose whatever config files you will be deleted between alarm, amr_cfg, consumption_profile, dev_info, fw_ver, mqtt_cfg, nw_cfg, and runtime.


- Make sure you save the file that you've been deleted
- Open any script with name started with "upload_xxxx.py"

- Modify the target file name with desired file you will be uploaded (make sure you modify the source file and destination file for both original and temporary)

- Run get imei command by executing the script in terminal
py get_imei.py
- Run the file that you've been modified at step 4 and 5
- Make sure the upload file is successfully executed
- Turn it off with power off command
py power_off.py
- After waiting for several seconds, turn it on again with get imei command
- Make sure the response is Failed, which means the IMEI is not successfully obtained
- Turn the modem off again, wait for several seconds
- Turn it on again with get imei command
- Make sure the IMEI is successfully obtained
- Verify the test with download the desired config files
- Make sure both original and temporary files has been fixed (not corrupted or empty)
Was this article helpful?