.setupgraderegion Method
Function: |
For the WA2000 Wi-Fi/BLE add-on, specifies what region (portion) of the WA2000's firmware is going to be upgraded — the main firmware or the Monitor/Loader. |
Syntax: |
wln.setupgraderegion(region as pl_wln_upgrade_regions) |
Returns: |
--- |
See Also: |
wln.upgrade, wln.waitforupgradecompletion, wln.writeflashpage |
Parameter |
Description |
region |
Target upgrade region: 0 — PL_WLN_UPGRADE_REGION_MAIN. 1 — PL_WLN_UPGRADE_REGION_MONITOR. |