微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > 使用wifistar,配置信息会经过路由器的wann口传输到外网

使用wifistar,配置信息会经过路由器的wann口传输到外网

时间:10-02 整理:3721RD 点击:

如题,

使用wifistar,配置信息会经过路由器的wann口传输到外网

使用4G路由器耗流量巨大。

I think it would be worth them trying to make a quick change in NetworkUtil.java to see if that fixes the issue :-

 

Change :-

 

                public static String intToIp(int i) {

                                return ((i >> 24 ) & 0xFF ) + "." +

                                                                ((i >> 16 ) & 0xFF) + "." +

                                                                ((i >> 8 ) & 0xFF) + "." +

                                                                ( i & 0xFF) ;

                }

 

To :-

 

                public static String intToIp(int i) {

                                return (i & 0xFF) + "." +

                                                                ((i >> 8 ) & 0xFF) + "." +

                                                                ((i >> 16 ) & 0xFF) + "." +

                                                                ((i >> 24 ) & 0xFF );

                }

 

I.e. swapping the gateway address around.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top