Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charliegerard/webusb-rtlsdr-aircraft-radar-system
/ functions
Functions
67 in github.com/charliegerard/webusb-rtlsdr-aircraft-radar-system
⨍
Functions
67
◇
Types & classes
0
↓ 11 callers
Function
writeEach
* Perform the write operations given in the array. * @param {Array.<Array.<number>>} array The operations.
rtlsdr.js:363
↓ 6 callers
Function
checksum
(msg, bits)
decoder.js:503
↓ 5 callers
Function
memcpy
(dst, dstOffset, src, srcOffset, length)
decoder.js:518
↓ 5 callers
Function
writeRegBuffer
* Writes a buffer into a dongle's register. * @param {number} block The register's block number. * @param {number} reg The register numb
rtlsdr.js:664
↓ 5 callers
Function
writeRegMask
* Writes a masked value into a register. * @param {number} addr The address of the register to write into. * @param {number} value The v
rtlsdr.js:352
↓ 4 callers
Function
readRegBuffer
* Reads a series of registers into a buffer. * @param {number} addr The first register's address to read. * @param {number} length The n
rtlsdr.js:336
↓ 3 callers
Function
dumpBuffer
* Returns a string representation of a buffer. * @param {ArrayBuffer} buffer The buffer to display. * @return {string} The string repres
rtlsdr.js:970
↓ 3 callers
Function
readReg
* Reads a value from a dongle's register. * @param {number} block The register's block number. * @param {number} reg The register number
rtlsdr.js:697
↓ 3 callers
Function
writeDemodReg
* Writes a value into a demodulator register. * @param {number} page The register page number. * @param {number} addr The register's add
rtlsdr.js:737
↓ 3 callers
Function
writeReg
* Writes a value into a dongle's register. * @param {number} block The register's block number. * @param {number} reg The register numbe
rtlsdr.js:686
↓ 2 callers
Function
icaoCacheHasAddr
(a)
decoder.js:424
↓ 2 callers
Function
memcpy
(dst, dstOffset, src, srcOffset, length)
demodulator.js:322
↓ 2 callers
Function
msgLen
(type)
mode-s-msglen.js:13
↓ 2 callers
Function
numberToBuffer
* Encodes a number into a buffer. * @param {number} value The number to encode. * @param {number} len The number of bytes to encode into
rtlsdr.js:827
↓ 2 callers
Function
readCtrlMsg
* Sends a USB control message to read from the device. * @param {number} value The value field of the control message. * @param {number}
rtlsdr.js:848
↓ 2 callers
Function
setPll
* Sets the PLL's frequency. * @param {number} freq The frequency to set.
rtlsdr.js:255
↓ 2 callers
Function
writeCtrlMsg
* Sends a USB control message to write to the device. * @param {number} value The value field of the control message. * @param {number}
rtlsdr.js:880
↓ 1 callers
Function
applyPhaseCorrection
(mag, offset)
demodulator.js:309
↓ 1 callers
Function
bufferToNumber
* Decodes a buffer as a little-endian number. * @param {ArrayBuffer} buffer The buffer to decode. * @return {number} The decoded number.
rtlsdr.js:806
↓ 1 callers
Function
calibrateFilter
* Calibrates the filters. * @param {boolean} firstTry Whether this is the first try to calibrate.
rtlsdr.js:200
↓ 1 callers
Function
decodeAc12Field
(msg)
decoder.js:376
↓ 1 callers
Function
decodeAc13Field
(msg)
decoder.js:390
↓ 1 callers
Function
detectOutOfPhase
(mag, offset)
demodulator.js:275
↓ 1 callers
Function
displayAircraftData
index.js:54
↓ 1 callers
Function
fixSingleBitErrors
(msg, bits)
decoder.js:477
↓ 1 callers
Function
fixTwoBitsErrors
(msg, bits)
decoder.js:436
↓ 1 callers
Function
getPllLock
* Checks whether the PLL has achieved lock. * @param {boolean} firstTry Whether this is the first try to achieve lock.
rtlsdr.js:301
↓ 1 callers
Function
handleData
index.js:63
↓ 1 callers
Function
initElectronics
* Initializes all the components of the tuner.
rtlsdr.js:121
↓ 1 callers
Function
initRegisters
* Sets the initial values of the 0x05-0x1f registers. * @param {Array.<number>} regs The values for the registers.
rtlsdr.js:321
↓ 1 callers
Function
msgcrc
(msg, msgbits)
decoder.js:366
↓ 1 callers
Function
o
(i, f)
rtlsdr.js:1
↓ 1 callers
Function
onMsg
(msg)
index.js:45
↓ 1 callers
Function
readDemodReg
* Reads a value from a demodulator register. * @param {number} page The register page number. * @param {number} addr The register's addr
rtlsdr.js:726
↓ 1 callers
Function
resetDemodulator
* Resets the demodulator.
rtlsdr.js:563
↓ 1 callers
Function
setGain
* Sets the requested gain. * @param {number|null|undefined} gain The gain in dB, or null/undefined * for automatic gain.
rtlsdr.js:532
↓ 1 callers
Function
setMux
* Sets the multiplexer's frequency. * @param {number} freq The frequency to set.
rtlsdr.js:233
↓ 1 callers
Function
showText
(target, message, index, interval)
index.js:82
↓ 1 callers
Function
start
()
index.js:14
↓ 1 callers
Function
writeI2CReg
* Writes a value to an I2C register. * @param {number} addr The device's address. * @param {number} reg The register number. * @p
rtlsdr.js:773
Function
Decoder
(opts)
decoder.js:49
Function
Demodulator
(opts)
demodulator.js:30
Function
Message
()
decoder.js:321
Function
R820T
* Operations on the R820T tuner chip. * @param {RtlCom} com The RTL communications object. * @param {number} xtalFreq The frequency of the o
rtlsdr.js:30
Function
RTL2832U
* Operations on the RTL2832U demodulator. * @param {ConnectionHandle} conn The USB connection handle. * @param {number} ppm The frequency co
rtlsdr.js:421
Function
RtlCom
* Low-level communications with the RTL2832U-based dongle. * @param {ConnectionHandle} conn The USB connection handle. * @constructor
rtlsdr.js:646
Function
RtlSdr
(usbDevice)
rtlsdr.js:1072
Function
USB
(device)
rtlsdr.js:1142
Function
claimInterface
* Claims the USB interface.
rtlsdr.js:933
Function
close
* Stops the tuner.
rtlsdr.js:102
Function
closeI2C
* Closes the I2C repeater.
rtlsdr.js:752
Function
init
* Initializes the tuner.
rtlsdr.js:80
Function
open
* Initialize the demodulator.
rtlsdr.js:451
Function
openI2C
* Opens the I2C repeater.
rtlsdr.js:745
Function
r
(e, n, t)
rtlsdr.js:1
Function
readBulk
* Does a bulk transfer from the device. * @param {number} length The number of bytes to read. * @return {ArrayBuffer} The received buffe
rtlsdr.js:910
Function
readI2CReg
* Reads a value from an I2C register. * @param {number} addr The device's address. * @param {number} reg The register number.
rtlsdr.js:761
Function
readI2CRegBuffer
* Reads a buffer from an I2C register. * @param {number} addr The device's address. * @param {number} reg The register number. *
rtlsdr.js:783
Function
readSamples
* Reads a block of samples off the device. * @param {number} length The number of samples to read. * @return {ArrayBuffer} An ArrayBuffe
rtlsdr.js:599
Function
releaseInterface
* Releases the USB interface.
rtlsdr.js:940
Function
resetBuffer
* Resets the sample buffer. Call this before starting to read samples.
rtlsdr.js:585
Function
setAutoGain
* Sets the tuner to automatic gain.
rtlsdr.js:161
Function
setCenterFrequency
* Tunes the device to the given frequency. * @param {number} freq The frequency to tune to, in Hertz. * @return {number} The actual tune
rtlsdr.js:575
Function
setFrequency
* Sets the tuner's frequency. * @param {number} freq The frequency to tune to. * @return {number} The actual tuned frequency.
rtlsdr.js:90
Function
setManualGain
* Sets the tuner's manual gain. * @param {number} gain The tuner's gain, in dB.
rtlsdr.js:173
Function
setSampleRate
* Set the sample rate. * @param {number} rate The sample rate, in samples/sec. * @return {number} The sample rate that was actually set
rtlsdr.js:545
Function
writeI2CRegBuffer
* Writes a buffer to an I2C register. * @param {number} addr The device's address. * @param {number} reg The register number. * @
rtlsdr.js:794