GroveLoraRf95 class

Lora RF95 class

Constructors

GroveLoraRf95(Mraa _mraa, {String tty = GroveLoraRf95Definitions.uartDefaultDevice})
Construction

Properties

hashCode int
The hash code for this object.
no setterinherited
initialised bool
getter/setter pair
lastReceivedMessage GroveLoraReceiveMessage
Last received message
final
promiscuous bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rxBad int
Count of the number of bad messages (eg bad checksum etc) received.
no setter
rxGood int
Count of the number of successfully received messages.
no setter
thisAddress int
getter/setter pair
txGood int
Count of the number of successfully transmitted messages.
no setter

Methods

available() bool
available
clearRxBuffer() → void
clearRxBuffer
handleInterrupt() → void
handleInterrupt
initialise() bool
Initialise
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printRegisters() → void
Prints the value of all chip registers For debugging purposes only.
receive(List<int> buffer) bool
receive
send(GroveLoraTransmitMessage message) bool
send
setFrequency(double centre) bool
setFrequency
setModeIdle() bool
setModeIdle
setModemConfiguration(GroveLoraModemConfigurationChoice choice) bool
setModemConfiguration
setModemRegisters(GroveLoraModemConfiguration configuration) bool
setModemRegisters
setModeRx() → void
setModeRx
setModeTx() → void
setModeTx.
setPreambleLength(int bytes) bool
setPreambleLength
setTxPower(int txPower) bool
setTxPower
sleep() bool
sleep
toString() String
A string representation of this object.
inherited
transmitAvailable() bool
transmitAvailable
validateRxBuffer() → void
validateRxBuffer

Operators

operator ==(Object other) bool
The equality operator.
inherited