请选择 进入手机版 | 继续访问电脑版
查看: 2134|回复: 2

安卓版easylink怎么设置固定IP

[复制链接]

1

主题

1

帖子

20

积分

新手上路

Rank: 1

积分
20
发表于 2019-6-10 11:44:04 | 显示全部楼层 |阅读模式
安卓版easylink怎么设置固定IP

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

5

主题

17

帖子

116

积分

注册会员

Rank: 2

积分
116
发表于 2019-6-11 12:55:40 | 显示全部楼层
固定IP在路由器提供dhcp的情况下是由路由器决定的吧

唉这个mxchip服务真差 碰到问题都没法解决  后面产品可能还是换主控比较好
回复

使用道具 举报

24

主题

76

帖子

432

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
432
发表于 2019-7-5 10:48:27 | 显示全部楼层
Easylink APP 可以设置 IP地址的
1. 给设备配网,配网成功,点back返回
2. 刷新设备列表后, 点击 i,进入网络参数配置页面,点击页面 Edit
3. 首先 点击关闭DHCP选型, 再设置IP Adress
4. 完成点击Done,设备即重启,生效,可通过调试串口log查看确认,如下:IP地址更改前后的 log信息。
(本例使用的模块固件是  例程中的wifi_uart.c)

如果还不行,请提供下 模块固件号,我们确认下。

# ifconfig

Station Interface:
    IP Addr: 192.168.31.88
    Netmask: 255.255.255.0
    Gateway: 192.168.31.111
    DNS1   : 255.255.255.255

# [59979][SYSTEM: config_server.c: 174] Config Client 192.168.31.165:2462 connected, fd: 3
[59988][SYSTEM: config_server.c: 225] Free memory 107664 bytes
[60002][SYSTEM: config_server.c: 456] Send config object={ "T": "Current Configuration", "N": "EMW3080B(30FC29)", "C": [ { "N": "MICO SYSTEM", "C": [ { "N": "Device Name", "C": "EMW3080B Module", "P": "RW" }, { "N": "RF power save", "C": false, "P": "RW" }, { "N": "MCU power save", "C": false, "P": "RW" }, { "N": "Wi-Fi", "C": "jenny", "P": "RW" }, { "N": "Password", "C": "jenny110", "P": "RW" }, { "N": "DHCP", "C": false, "P": "RW" }, { "N": "IP address", "C": "192.168.31.88", "P": "RW" }, { "N": "Net Mask", "C": "", "P": "RW" }, { "N": "Gateway", "C": "192.168.31.111", "P": "RW" }, { "N": "DNS Server", "C": "", "P": "RW" } ] }, { "N": "APPLICATION", "C": [ { "N": "Connect SPP Server", "C": true, "P": "RW" }, { "N": "SPP Server", "C": "192.168.2.254", "P": "RW" }, { "N": "SPP Server Port", "C": 8080, "P": "RW" }, { "N": "Baurdrate", "C": 115200, "P": "RW", "S": [ 9600, 19200, 38400, 57600, 115200 ] } ] } ], "PO": "com.mxchip.spp", "HD": "3080B", "FW": "MICO_SPP_2_6", "RF": "MX1290-3.6a" }
[60094][SYSTEM: config_server.c: 464] Current configuration sent
[60102][SYSTEM: config_server.c: 290] Exit: Client exit with err = 0
[67128][SYSTEM: config_server.c: 174] Config Client 192.168.31.165:3486 connected, fd: 3
[67137][SYSTEM: config_server.c: 225] Free memory 107664 bytes
[67144][SYSTEM: config_server.c: 469] Recv new configuration, apply
[67152][SYSTEM: config_server.c: 479] Recv config object={ "IP address": "192.168.31.188" }
[67210][SYSTEM: config_server.c: 290] Exit: Client exit with err = 0
ROM:[V0.1]
FLASHRATE:4
BOOT TYPE:0 XTAL:40000000
IMG1 DATA[1128:10002000]
IMG1 ENTRY[80005a9:100021ef]
boot reason: 5
wdt disable: 0
[196][MOC MAIN: moc_main.c: 207] Lib version MX1290002.031. APP built time 14:24:13
[205][Platform: platform.c: 153] WARNING: Watchdog reset occured previously.
[212][Platform: platform.c: 154] msg return 0x10005010
[217][Platform: platform.c: 160] get 0
[221][RTOS: mico_rtos_common.c:  84] Started MiCO RTOS interface for mocOS v1.0.0
[584][SYSTEM: system_misc.c: 302] Free memory 127464 bytes
[591][SYSTEM: system_misc.c: 308] Kernel version: MX1290002.031
[597][SYSTEM: system_misc.c: 311] MiCO version: 3.6.0
[602][SYSTEM: system_misc.c: 313] Wi-Fi driver version MX1290-3.6a, mac B0:F8:93:30:FC:29
[610][SYSTEM: mico_system_init.c: 150] Available configuration. Starting Wi-Fi connection...
[619][SYSTEM: system_misc.c: 221] Connect to jenny-a903(64).....
[633][SYSTEM: config_server.c: 154] Config Server established at port: 8000, fd: 1
[830][TCP SERVER: LocalTcpServer.c:  70] Server established at port: 8080, fd: 2
[1058][SYSTEM: system_misc.c:  75] Station up
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表