Skip to content

Commit f7fe835

Browse files
wangnuannuanfanghuaqi
authored andcommitted
application: update to support wifi
Signed-off-by: Jingru Wang <jingru@synopsys.com>
1 parent 78ac02b commit f7fe835

File tree

2 files changed

+4
-4
lines changed
  • ibaby_smarthome_multinode/src

2 files changed

+4
-4
lines changed

ibaby_smarthome_multinode/src/lamp_node/function/lwm2m/lwm2m.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#include <netdb.h>
5555
#include <sys/stat.h>
5656
#include <errno.h>
57-
#include "lwip_pmwifi.h"
57+
#include "lwip_wifi.h"
5858

5959
/* custom HAL */
6060
#include "common.h"
@@ -110,7 +110,7 @@ extern int32_t lwm2m_client_start(void)
110110
task_lwm2m_client_handle = 0;
111111

112112
/* check to see if wifi works */
113-
if (!lwip_pmwifi_isup()) {
113+
if (!lwip_wifi_isup()) {
114114
EMBARC_PRINTF("Error: Wifi is not ready for lwM2M client.\r\n");
115115
goto error_exit;
116116
}

ibaby_smarthome_multinode/src/wearable_node/function/lwm2m/lwm2m.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#include <netdb.h>
5555
#include <sys/stat.h>
5656
#include <errno.h>
57-
#include "lwip_pmwifi.h"
57+
#include "lwip_wifi.h"
5858

5959
/* custom HAL */
6060
#include "common.h"
@@ -110,7 +110,7 @@ extern int32_t lwm2m_client_start(void)
110110
task_lwm2m_client_handle = 0;
111111

112112
/* check to see if wifi works */
113-
if (!lwip_pmwifi_isup()) {
113+
if (!lwip_wifi_isup()) {
114114
EMBARC_PRINTF("Error: Wifi is not ready for lwM2M client.\r\n");
115115
goto error_exit;
116116
}

0 commit comments

Comments
 (0)