https://github.com/openLuat/LuatOS/issues/118
@@ -249,4 +249,8 @@
#define LUAT_UART_MAX_DEVICE_COUNT 128
#define LUAT_USE_PSRAM 1
+#ifndef LUAT_USE_LWIP
+#undef LUAT_USE_MOBILE
+#endif
+
#endif
@@ -4,7 +4,9 @@
#include "luat_str.h"
#include "luat_mcu.h"
#include "luat_crypto.h"
+#ifdef LUAT_USE_LWIP
#include "lwip/ip_addr.h"
// #define LUAT_LOG_TAG "mobile"
@@ -151,10 +153,12 @@ int luat_mobile_get_flymode(int index)
{
return 0;
}
int luat_mobile_get_local_ip(int sim_id, int cid, ip_addr_t *ip_v4, ip_addr_t *ip_v6)
int luat_mobile_get_cell_info(luat_mobile_cell_info_t *info)