UNPKG

t-comm

Version:

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

9 lines (8 loc) 868 B
export { BUMP_NAME_PREFIX, DEFAULT_ADVERTISE_UPDATE_THROTTLE_MS, DEFAULT_CHARACTERISTIC_UUID, DEFAULT_COOLDOWN_MS, DEFAULT_LINGER_BEFORE_STOP_MS, DEFAULT_PEER_TTL_MS, DEFAULT_POLL_INTERVAL_MS, DEFAULT_PRIVACY_CONTENT, DEFAULT_RSSI_THRESHOLD, DEFAULT_SERVICE_UUID, EMPTY_PEER_ID, PAYLOAD_SEPARATOR, TEMP_ID_LENGTH } from './constants.mjs'; export { arrayBuffer2Hex, encodeBumpName, encodePayload, genTempId, matchesService, parseBumpName, parsePayload, parsePayloadString, pickBestPeer, pruneExpiredPeers, reverseHexBytes, shouldTriggerBump, str2ArrayBuffer } from './utils.mjs'; export { wxBluetoothAdapter } from './wx-adapter.mjs'; export { BluetoothBump } from './bluetooth-bump.mjs'; import '@babel/runtime/helpers/slicedToArray'; import '@babel/runtime/helpers/typeof'; import '@babel/runtime/helpers/classCallCheck'; import '@babel/runtime/helpers/createClass';