Skip to content

Developer JavaScript Functions Mapping

Djamil Elaidi edited this page Mar 3, 2017 · 30 revisions
JavaScript Function Number of parameters Description
[[ gollumOpen Developer-JavaScript-Functions-Mapping#gollumopen]] 0
gollumClose 0 closes the communication path to CC11xx and power it down
gollumRfResetRadioChip 0 SW reset of CC1111
gollumRfSetFrequency 1 programs a frequency into CC1111
gollumRfSetRfConfigPredefined 1 programs the full list of RF parameter in 1 step, using a predefined RF configuration
gollumRfSetOutputPower 1 Sets the CC1111 output power
gollumRfSetBitRate 1 Sets the CC1111 Data Rate
gollumRfSetModulation 2 Sets the CC1111 Modulation
gollumRfSetFilterBandwidth 1 Sets the CC1111 RX filter bandwidth
gollumRfSend0 1 Sends a data 0 (disabled)
gollumRfSend1 1 Sends a data 1 (disabled)
gollumRfSendByte 1 Sends a data byte
gollumRfSendStream 1 sends an array of data to the CC11xx
gollumRfDelay 1 disabled
gollumRfTxFlush 0 flushes the TX FIFO
gollumRfSetLed 2 sets the led
gollumRfCC1111Sleep 1 sends a sleep command to the CC1111
gollumRfGetBuildType 0 return the build type of the dongle
gollumRfPing 0 sends a ping in order to get an alive response
gollumPrint 1 Prints a string to the output console
gollumRfRxStop 0 stops RX data reception
gollumRfRxSetup 4 Configures RX
gollumRfTxSend 1 Send Tx message over radio interface
gollumGetCC1111RfRegisters 0 Returns the namses and values of cc1111 registers
gollumRfRegisterRead 2 read the radio registers starting at addr (first setting RF state to IDLE, then returning to RX/TX)
gollumRfRegisterWrite 2 set the radio register 'addr' to 'data' (first setting RF state to IDLE, then returning to RX/TX)
gollumRfTxSetup 3 Config radio before sending Tx message over radio interface
gollumRfRxListen 1 Allocates memory, and fills the given buffer with radio data
gollumRfSetupConfig 0 Init CC1111 configuration structure
gollumRfInitDongle 0 CC1111 init functions
gollumRfSetMaxPower 1 Sets the CC1111 max transmit power
gollumRfXmitAsync 5 Asynchronous data send over Rf interface
gollumRfSleep 1 Sleeps during x microseconds
gollumRfStartRfJamming 3 Sends a single msg to start frequency jamming
gollumRfStopRfJamming 0 Sends a single msg to stop frequency jamming

gollumOpen

opens the communication path to CC11xx and power it up

Parameters Type Role
AAAAA ZZZ EEEE
aaa ddd fff

To do: add detailed description of parameters

Project Information

PandwaRF Android Application (Normal Mode)

PandwaRF Android Application (Dev Mode)

Marauder Android Application

iOS Application

Linux

Hardware

For developers

Support

Gimme moar!

Clone this wiki locally