14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Using the <strong>Commands</strong><br />

Firmware Update Over the Air (FOTA)<br />

FOTA Command for Non-Automatic Mode<br />

(Non-Transparent Mode)<br />

//Set parameters for GPRS session entry<br />

<strong>AT</strong>+CGDCONT=15,"IP","internet"<br />

// First, set the GPRS default entry<br />

<strong>AT</strong>+MFOTAWSCFG=15<br />

OK<br />

// Second, set the DM session as Non-Automatic<br />

// We would like to control all the FOTA steps, that the reason that we se the Non-Automatic mode.<br />

<strong>AT</strong>+MFOTACNFG?<br />

+MFOTACNFG: 0<br />

// Enable FOTA indications<br />

<strong>AT</strong>+MFOTAIND=1<br />

+MFOTAREQ: 1<br />

// Request to begin DM session (Bootstrap)<br />

<strong>AT</strong>+MFOTARSP=0<br />

OK // Confirm DM session<br />

+MFOTAIND: 10, 5<br />

+MFOTAIND: 10, 10<br />

+MFOTAREQ: 2<br />

// Update package request<br />

<strong>AT</strong>+MFOTARSP=0 // Confirm the update process<br />

OK<br />

+MFOTAIND: 10, 5 // DM Session in progress<br />

+MFOTAIND: 10, 7 // DM Session complete<br />

+MFOTAIND: 30, 13, 0 // Update-package progress bar indicate 0%<br />

+MFOTAIND: 30, 13, 10 // Update-package progress bar indicate 10%<br />

+MFOTAIND: 30, 13, 20 // Update-package progress bar indicate 20%<br />

+MFOTAIND: 30, 13, 30 // Update-package progress bar indicate 30%<br />

+MFOTAIND: 30, 13, 40 // Update-package progress bar indicate 40%<br />

+MFOTAIND: 30, 13, 50 // Update-package progress bar indicate 50%<br />

+MFOTAIND: 30, 13, 60 // Update-package progress bar indicate 60%<br />

+MFOTAIND: 30, 13, 70 // Update-package progress bar indicate 70%<br />

+MFOTAIND: 30, 13, 80 // Update-package progress bar indicate 80%<br />

+MFOTAIND: 30, 13, 90 // Update-package progress bar indicate 90%<br />

+MFOTAIND: 30, 13, 100 // Update-package progress bar indicate 100%<br />

+MFOTAREQ: 3<br />

// Install package request<br />

<strong>AT</strong>+MFOTARSP=0<br />

// Confirm the install process<br />

OK<br />

+MFOTAIND: 40, 19<br />

// Update has started indication<br />

// During the Update process, the phone will be in flash-mode. The update process is supposed to take a few<br />

minutes.<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 4-35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!