MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_wlan_is_ready

Function rt_wlan_is_ready

components/drivers/wlan/dev_wlan_mgnt.c:1122–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1120}
1121
1122rt_bool_t rt_wlan_is_ready(void)
1123{
1124 rt_bool_t _ready;
1125
1126 if (_sta_is_null())
1127 {
1128 return RT_FALSE;
1129 }
1130 _ready = _sta_mgnt.state & RT_WLAN_STATE_READY ? RT_TRUE : RT_FALSE;
1131 RT_WLAN_LOG_D("%s is run : %s", __FUNCTION__, _ready ? "ready" : "not ready");
1132 return _ready;
1133}
1134
1135rt_err_t rt_wlan_set_mac(rt_uint8_t mac[6])
1136{

Callers 2

rt_wlan_device_connetctFunction · 0.85
rt_wlan_device_connetctFunction · 0.85

Calls 1

_sta_is_nullFunction · 0.85

Tested by

no test coverage detected