.boot Method

Function:

Boots up the Wi-Fi add-on module.

Syntax:

wln.boot(offset as dword) as ok_ng

Returns:

One of ok_ng constants:

  • 0 — OK: completed successfully
  • 1 — NG: boot failed

See Also:

Bringing Up the Wi-Fi Interface, Booting Up the Hardware


Part

Description

offset

  • GA1000: Offset of the "ga1000fw.bin" file within the compiled binary of your project. The offset is obtained using the romfile.offset read-only property.
  • WA2000, WM2000, and WS1102: Must be set to 0 (these devices store their firmware in the flash memory and do not require the firmware file to be uploaded on every boot).