UNPKG

hackrf.js

Version:
29 lines 3.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultStreamOptions = exports.open = exports.listDevices = exports.HackrfDevice = exports.computeBasebandFilterBw = exports.computeBasebandFilterBwRoundDownLt = exports.HackrfError = exports.errorMessages = exports.ErrorCode = exports.SweepStyle = exports.OperacakePorts = exports.rfPathFilterNames = exports.RfPathFilter = exports.usbBoardIdNames = exports.UsbBoardId = exports.boardIdNames = exports.BoardId = exports.MAX_SWEEP_RANGES = exports.BYTES_PER_BLOCK = exports.SAMPLES_PER_BLOCK = exports.libraryVersion = void 0; // Based on mossman/hackrf @ 6e5cbda2945c exports.libraryVersion = '0.5'; var constants_1 = require("./constants"); Object.defineProperty(exports, "SAMPLES_PER_BLOCK", { enumerable: true, get: function () { return constants_1.SAMPLES_PER_BLOCK; } }); Object.defineProperty(exports, "BYTES_PER_BLOCK", { enumerable: true, get: function () { return constants_1.BYTES_PER_BLOCK; } }); Object.defineProperty(exports, "MAX_SWEEP_RANGES", { enumerable: true, get: function () { return constants_1.MAX_SWEEP_RANGES; } }); Object.defineProperty(exports, "BoardId", { enumerable: true, get: function () { return constants_1.BoardId; } }); Object.defineProperty(exports, "boardIdNames", { enumerable: true, get: function () { return constants_1.boardIdNames; } }); Object.defineProperty(exports, "UsbBoardId", { enumerable: true, get: function () { return constants_1.UsbBoardId; } }); Object.defineProperty(exports, "usbBoardIdNames", { enumerable: true, get: function () { return constants_1.usbBoardIdNames; } }); Object.defineProperty(exports, "RfPathFilter", { enumerable: true, get: function () { return constants_1.RfPathFilter; } }); Object.defineProperty(exports, "rfPathFilterNames", { enumerable: true, get: function () { return constants_1.rfPathFilterNames; } }); Object.defineProperty(exports, "OperacakePorts", { enumerable: true, get: function () { return constants_1.OperacakePorts; } }); Object.defineProperty(exports, "SweepStyle", { enumerable: true, get: function () { return constants_1.SweepStyle; } }); Object.defineProperty(exports, "ErrorCode", { enumerable: true, get: function () { return constants_1.ErrorCode; } }); Object.defineProperty(exports, "errorMessages", { enumerable: true, get: function () { return constants_1.errorMessages; } }); var util_1 = require("./util"); Object.defineProperty(exports, "HackrfError", { enumerable: true, get: function () { return util_1.HackrfError; } }); Object.defineProperty(exports, "computeBasebandFilterBwRoundDownLt", { enumerable: true, get: function () { return util_1.computeBasebandFilterBwRoundDownLt; } }); Object.defineProperty(exports, "computeBasebandFilterBw", { enumerable: true, get: function () { return util_1.computeBasebandFilterBw; } }); var interface_1 = require("./interface"); Object.defineProperty(exports, "HackrfDevice", { enumerable: true, get: function () { return interface_1.HackrfDevice; } }); Object.defineProperty(exports, "listDevices", { enumerable: true, get: function () { return interface_1.listDevices; } }); Object.defineProperty(exports, "open", { enumerable: true, get: function () { return interface_1.open; } }); Object.defineProperty(exports, "defaultStreamOptions", { enumerable: true, get: function () { return interface_1.defaultStreamOptions; } }); //# sourceMappingURL=index.js.map