| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- const getDeviceList = function() {
- let deviceList = [{
- id: 0,
- cname: "CL806",
- ename: "CL806_Bandage",
- icon: "/static/devicesIcon/bandage.png",
- mIcon: "/static/devicesIcon/bandage.png",
- bRatio: false,
- usageMode: 'CL806',
- describe: '胸口绑带',
- limitType: 'rebound', //限制回弹版本
- deviceType: 'Hardware', //指的是使用手机本身加速计计算
- deviceName: 'CL806', //连接硬件名称
- limitDis: 0.5,
- /**
- * 主服务的 uuid Cofing
- */
- primaryUUID: '', //蓝牙主服务id
- PRIMARY_SERVICE: '0000180D-0000-1000-8000-00805f9b34fb',
- PRIMARY_WRITE: '00002A38-0000-1000-8000-00805f9b34fb',
- PRIMARY_NOTIFY: '00002A37-0000-1000-8000-00805f9b34fb',
- /***********/
- currentVersion: '', //当前固件版本
- latestVersion: '' //服务器最新固件版本
- },
- {
- id: 1,
- cname: "CL831",
- ename: "CL831_Bandage",
- icon: "/static/devicesIcon/bandage.png",
- mIcon: "/static/devicesIcon/bandage.png",
- bRatio: false,
- usageMode: 'CL831',
- describe: '手部绑带',
- limitType: 'rebound', //限制回弹版本
- deviceType: 'Hardware', //指的是使用手机本身加速计计算
- deviceName: 'CL831', //连接硬件名称
- limitDis: 0.5,
- /**
- * 主服务的 uuid Cofing
- */
- primaryUUID: '', //蓝牙主服务id
- PRIMARY_SERVICE: '0000180D-0000-1000-8000-00805f9b34fb',
- PRIMARY_WRITE: '00002A38-0000-1000-8000-00805f9b34fb',
- PRIMARY_NOTIFY: '00002A37-0000-1000-8000-00805f9b34fb',
- /***********/
- currentVersion: '', //当前固件版本
- latestVersion: '' //服务器最新固件版本
- },
- {
- id: 2,
- cname: "CL809",
- ename: "CL809_Bandage",
- icon: "/static/devicesIcon/bandage.png",
- mIcon: "/static/devicesIcon/bandage.png",
- bRatio: false,
- usageMode: 'CL809',
- describe: '胸口绑带',
- limitType: 'rebound', //限制回弹版本
- deviceType: 'Hardware', //指的是使用手机本身加速计计算
- deviceName: 'CL809', //连接硬件名称
- limitDis: 0.5,
- /**
- * 主服务的 uuid Cofing
- */
- primaryUUID: '', //蓝牙主服务id
- PRIMARY_SERVICE: '0000180D-0000-1000-8000-00805f9b34fb',
- PRIMARY_WRITE: '00002A38-0000-1000-8000-00805f9b34fb',
- PRIMARY_NOTIFY: '00002A37-0000-1000-8000-00805f9b34fb',
- /***********/
- currentVersion: '', //当前固件版本
- latestVersion: '' //服务器最新固件版本
- },
- {
- id: 3,
- cname: "心率带", //CL838
- ename: "CL_Bandage", //CL838_Bandage
- icon: "/static/heart/device838@2x.png",
- mIcon: "/static/heart/device838@2x.png",
- bRatio: false,
- usageMode: 'CL', //CL838
- describe: '心率带',
- limitType: 'rebound', //限制回弹版本
- deviceType: 'Hardware', //指的是使用手机本身加速计计算
- deviceName: 'CL', //连接硬件名称 CL838
- limitDis: 0.5,
- /**
- * 主服务的 uuid Cofing
- */
- primaryUUID: '', //蓝牙主服务id
- PRIMARY_SERVICE: '0000180D-0000-1000-8000-00805f9b34fb',
- PRIMARY_WRITE: '00002A38-0000-1000-8000-00805f9b34fb',
- PRIMARY_NOTIFY: '00002A37-0000-1000-8000-00805f9b34fb',
- //电量
- BATTERY_SERVICE_UUID: '0000180F-0000-1000-8000-00805f9b34fb',
- BATTERY_LEVEL_CHARACTERISTIC_UUID: '00002A19-0000-1000-8000-00805f9b34fb',
- /***********/
- currentVersion: '', //当前固件版本
- latestVersion: '' //服务器最新固件版本
- }
- ];
- return deviceList;
- }
- export default {
- getDeviceList
- }
|