UNPKG

t-comm

Version:

专业、稳定、纯粹的工具库

44 lines (38 loc) 2.48 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var bluetoothBump_constants = require('./constants.js'); var bluetoothBump_utils = require('./utils.js'); var bluetoothBump_wxAdapter = require('./wx-adapter.js'); var bluetoothBump_bluetoothBump = require('./bluetooth-bump.js'); require('@babel/runtime/helpers/slicedToArray'); require('@babel/runtime/helpers/typeof'); require('@babel/runtime/helpers/classCallCheck'); require('@babel/runtime/helpers/createClass'); exports.BUMP_NAME_PREFIX = bluetoothBump_constants.BUMP_NAME_PREFIX; exports.DEFAULT_ADVERTISE_UPDATE_THROTTLE_MS = bluetoothBump_constants.DEFAULT_ADVERTISE_UPDATE_THROTTLE_MS; exports.DEFAULT_CHARACTERISTIC_UUID = bluetoothBump_constants.DEFAULT_CHARACTERISTIC_UUID; exports.DEFAULT_COOLDOWN_MS = bluetoothBump_constants.DEFAULT_COOLDOWN_MS; exports.DEFAULT_LINGER_BEFORE_STOP_MS = bluetoothBump_constants.DEFAULT_LINGER_BEFORE_STOP_MS; exports.DEFAULT_PEER_TTL_MS = bluetoothBump_constants.DEFAULT_PEER_TTL_MS; exports.DEFAULT_POLL_INTERVAL_MS = bluetoothBump_constants.DEFAULT_POLL_INTERVAL_MS; exports.DEFAULT_PRIVACY_CONTENT = bluetoothBump_constants.DEFAULT_PRIVACY_CONTENT; exports.DEFAULT_RSSI_THRESHOLD = bluetoothBump_constants.DEFAULT_RSSI_THRESHOLD; exports.DEFAULT_SERVICE_UUID = bluetoothBump_constants.DEFAULT_SERVICE_UUID; exports.EMPTY_PEER_ID = bluetoothBump_constants.EMPTY_PEER_ID; exports.PAYLOAD_SEPARATOR = bluetoothBump_constants.PAYLOAD_SEPARATOR; exports.TEMP_ID_LENGTH = bluetoothBump_constants.TEMP_ID_LENGTH; exports.arrayBuffer2Hex = bluetoothBump_utils.arrayBuffer2Hex; exports.encodeBumpName = bluetoothBump_utils.encodeBumpName; exports.encodePayload = bluetoothBump_utils.encodePayload; exports.genTempId = bluetoothBump_utils.genTempId; exports.matchesService = bluetoothBump_utils.matchesService; exports.parseBumpName = bluetoothBump_utils.parseBumpName; exports.parsePayload = bluetoothBump_utils.parsePayload; exports.parsePayloadString = bluetoothBump_utils.parsePayloadString; exports.pickBestPeer = bluetoothBump_utils.pickBestPeer; exports.pruneExpiredPeers = bluetoothBump_utils.pruneExpiredPeers; exports.reverseHexBytes = bluetoothBump_utils.reverseHexBytes; exports.shouldTriggerBump = bluetoothBump_utils.shouldTriggerBump; exports.str2ArrayBuffer = bluetoothBump_utils.str2ArrayBuffer; exports.wxBluetoothAdapter = bluetoothBump_wxAdapter.wxBluetoothAdapter; exports.BluetoothBump = bluetoothBump_bluetoothBump.BluetoothBump;