最新的mysql地区信息表
最新的mysql地区信息表 ,直接导入数据库就可以用了,做好了树节点
本插件支持androd同时连接多个蓝牙 设备,支持同时通信,例子在examples中,设备我在index.js里面写死了,为了便于调试,下载下来的时候稍微改一下, onDeviceList: function(devices) { var deviceList=document.getElementById("deviceList"); deviceList.innerHTML = ""; devices.forEach(function(device) { var name=device.name; var id=device.id; var listItem = document.createElement('li'), html = '<b>' + name + '</b>[' + id+']'; listItem.innerHTML = html; deviceList.appendChild(listItem); if(name.indexOf("HC")>-1){ $ble.devices.W=device; } if(name.indexOf("Gprinter_3915")>-1){ $ble.devices.P1=device; } if(name.indexOf("Gprinter_AAC5")>-1){ $ble.devices.P2=device; } }); }, 改这里
本插件支持androd同时连接多个蓝牙 设备,支持同时通信,例子在examples中,设备我在index.js里面写死了,为了便于调试,下载下来的时候稍微改一下, onDeviceList: function(devices) { var deviceList=document.getElementById("deviceList"); deviceList.innerHTML = ""; devices.forEach(function(device) { var name=device.name; var id=device.id; var listItem = document.createElement('li'), html = '<b>' + name + '</b>[' + id+']'; listItem.innerHTML = html; deviceList.appendChild(listItem); if(name.indexOf("HC")>-1){ $ble.devices.W=device; } if(name.indexOf("Gprinter_3915")>-1){ $ble.devices.P1=device; } if(name.indexOf("Gprinter_AAC5")>-1){ $ble.devices.P2=device; } }); }, 改这里