PreviousNext
Table of OS functions
Help > Table of OS functions

Unless otherwise stated, all functions are the void type and all their parameters are the uns8 type.

 

iqrfDeepSleep()

Set the TR module in extremely power saving mode (Deep sleep)

iqrfSleep()

Set the TR module in power saving mode (Sleep)

debug()

Enter the debug mode

waitMS(ms)

Active waiting (time in ms)

waitDelay(ticks)

Active waiting (time in ticks)

waitNewTick()

Wait for a new tick

startCapture()

Resets counter of ticks

captureTicks()

Get number of ticks counted

startDelay(ticks)

Start waiting (time in ticks)

startLongDelay(ticks)

Start long waiting (time in ticks)

bit isDelay()

Still waiting

setOnPulsingLED(ticks)

LEDR and LEDG On times setting (for blinking)

setOffPulsingLED(ticks)

LEDR and LEDG Off times setting (for blinking)

pulsingLEDR()

Red LED activation (blinking on background)

pulseLEDR()

Single red LED pulse (one flash on background)

setLEDR()

Red LED on

stopLEDR()

Red LED off, blinking stopped

pulsingLEDG()

Green LED activation (blinking on background)

pulseLEDG()

Single green LED pulse (one flash on background)

setLEDG()

Green LED on

stopLEDG()

Green LED off, blinking stopped

uns8 eeReadByte(address)

Read one byte

eeReadData(address, length)

Read a block

eeWriteByte(address, data)

Write one byte

eeWriteData(address, length)

Write a block

bit eeeReadData(address)

Read a data block from serial EEPROM to bufferINFO

bit eeeWriteData(address)

Write a data block from bufferINFO to EEPROM

uns8 readFromRAM(address)

Read one byte

void setINDF0(value)

Indirect write via virtual INDF0 register

void setINDF1(value)

Indirect write via virtual INDF1 register

copyBufferINFO2COM()

Copy bufferINFO to bufferCOM

copyBufferINFO2RF()

Copy bufferINFO to bufferRF

copyBufferRF2COM()

Copy bufferRF to bufferCOM

copyBufferRF2INFO()

Copy bufferRF to bufferINFO

copyBufferCOM2RF()

Copy bufferCOM to bufferRF

copyBufferCOM2INFO()

Copy bufferCOM to bufferINFO

bit compareBufferINFO2RF(length)

Comparison of bufferINFO and bufferRF

void swapBufferINFO()

Swap bufferINFO and bufferAUX

clearBufferINFO()

bufferINFO clearing

clearBufferRF()

bufferRF clearing

copyMemoryBlock

(uns16 from, uns16  to, uns8 length)

Copy any data block to any position

moduleInfo()

Get info about transceiver module and OS

enableSPI()

SPI communication line activation

disableSPI()

SPI communication line deactivation

startSPI(length)

SPI packet transmission

stopSPI()

SPI stopping

restartSPI()

SPI continuing

bit getStatusSPI()

SPI status, update SPI flags

setRFsleep()

Set the RF IC in power saving mode (Sleep)

setRFready()

Set the RF IC in ready mode (wake-up from Sleep)

setRFpower(level)

RF TX power setting (8 levels)

setRFchannel(channel)

Select RF channel

setRFmode(mode)

Select RF power management mode

checkRF(level)

Detect incoming RF signal

getRSSI()

Get RSSI value of incoming RF signal

RFTXpacket()

Send a packet from bufferRF via RF

bit RFRXpacket()

Receive a packet via RF to bufferRF

wasRFICrestarted()

Check RF IC functionality and possibly perform RF IC reset

setCoordinatorMode()

Device is the Coordinator

setNodeMode()

Device is a Node

setNonetMode()

Networking disabled

uns8 getNetworkParams()

Get information about the network

void sendFRC(cmd)  

Request for Fast Response Command

bit amIRecipientfOfFRC()

Evaluate whether the FRC command is intended for given Node

bit isDiscoveredNode(N)

Check for being discovered

optimizeHops(method)

Optimize number of hops for given Node

bit bondRequestAdvanced()

Request for bonding (local or remote)

bit amIBonded()

Is the Node bonded?

removeBondAddress()

Changing Node address to universal address (0xFE)

removeBond()

Unbonding

setServiceChannel(W)

Select service RF channel

 

 

 

bit isBondedNode(node)   

Is the Node bonded?

removeBondedNode(node)

Unbonding a Node

bit rebondNode(node)

Rebonding a Node

clearAllBonds()

Clearing of all bonds

void setAccessPassword()

Set Access password

void setUserKey()

Set the key for user encryption and decryption

void encryptBufferRF(W)

Encrypt bufferRF

void decryptBufferRF(W)

Decrypt bufferRF

enableRFPGM()

Set to switch to RFPGM mode after reset

disableRFPGM()

Set not to switch to RFPGM mode after reset

runRFPGM()

Switch to RFPGM mode

setupRFPGM(x)

Setup RFPGM parameters

uns8 getSupplyVoltage()

Get voltage level for battery check

int8 getTemperature()

Temperature measurement

uns8 addressBitmap(bitIndex)

Calculate position in a bitmap

updateCRC16(W)

Calculate CRC16