whychdw
2019-07-16 adf0efd04f2a58848af71611becec0fa15996093
后台提交
2个文件已修改
8 ■■■■ 已修改文件
app/src/main/assets/apps/HelloH5/www/pages/home.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/java/com/fbs9100/FBS_Crc16.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/assets/apps/HelloH5/www/pages/home.html
@@ -71,6 +71,7 @@
    <script src="../js/mui.min.js"></script>
    <script src="../iconfont/iconfont.js"></script>
    <script src="../js/common.js"></script>
    <script src="../libs/socket.io/socket.io.js"></script>
    <script>
        mui.init();
        mui.plusReady(function() {
@@ -92,6 +93,11 @@
            mui('#menuList').on('tap', 'a',function() {
                openViewByHref(this);
            });
            console.log("*********************************************************");
            console.log(io);
            console.log("*********************************************************");
        });
    </script>
</body>
app/src/main/java/com/fbs9100/FBS_Crc16.java
@@ -40,7 +40,7 @@
                    0x6E17, 0x7E36, 0x4E55, 0x5E74, 0x2E93, 0x3EB2, 0x0ED1, 0x1EF0
            };
    static int CalCRC16(final ByteBuffer buf, int count)
    public static int CalCRC16(final ByteBuffer buf, int count)
    {
        ByteBuffer tmpbuf = buf;
        tmpbuf.position(0);