This function is a wireless LAN event handler.

Syntax

char HandleEventWlan(
  struct sw_timer_module *swt_module_inst
);

Parameters

swt_module_inst
[in] Please specify NULL.

Return value

Returns M2M_SUCCESS if the function succeeds, other values otherwise.

Remarks

Basically, it is necessary to keep calling the Idle function while the wireless LAN is enabled, but it is also possible to call this function instead of the Idle function. In that case, the power consumption while waiting for communication increases, but the communication throughput may be improved.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/11/26