Справочник Пользователя для Motorola G24

Скачать
Страница из 642
Firmware Update Over the Air (FOTA)
4-34
 AT Commands Reference Manual
December  31, 2007
Firmware Update Over the Air (FOTA)
FOTA Command for Non-Automatic Mode 
(Non-Transparent Mode)
// First, set the Web-Session default entry
AT+MFOTAWSCFG=5,8080,"wap.orange.co.il","Orange","mobile54","192.118.11.55" 
OK
AT+MFOTAWSCFG?
 // Read the Web-Session default entry parameters
 +MFOTAWSCFG: 5 , 8080,"wap.orange.co.il","Orange","192.118.11.55"
OK
// Second, set the DM session as Non-Automatic
// We would like to control all the FOTA steps, that the reason that we se the Non-Automatic mode.
AT+MFOTACNFG?
 +MFOTACNFG: 0
// Enable FOTA indications
AT+MFOTAIND=1
+MFOTAREQ: 1
// Request to begin DM session (Bootstrap)
AT+MFOTARSP=0 OK
// Confirm DM session 
+MFOTAIND: 10, 5
+MFOTAIND: 10, 10
+MFOTAREQ: 2
// Update package request
AT+MFOTARSP=0
// Confirm the update process
OK
+MFOTAIND: 10, 4
// Open applications indication
+MFOTAIND: 10, 5
// DM Session in progress
+MFOTAIND: 10, 7
// DM Session complete
+MFOTAIND: 16, 14
// Fetch descriptor file indication
+MFOTAIND: 16, 13, 0
// Descriptor progress bar indicate 0%
+MFOTAIND: 16, 13, 5
// Descriptor progress bar indicate 5% 
+MFOTAIND: 15, 13, 5
// Update-package progress bar indicate 5% 
+MFOTAIND: 15, 13, 44
// Update-package progress bar indicate 44%
+MFOTAIND: 15, 13, 83
// Update-package progress bar indicate 83%
+MFOTAIND: 15, 13, 100
// Update-package progress bar indicate 100%