MCPcopy Create free account
hub / github.com/PricelessToolkit/MailBoxGuard / LoRaClass

Method LoRaClass

Code/Arduino_libraries/LoRa/LoRa.cpp:71–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69#endif
70
71LoRaClass::LoRaClass() :
72 _spiSettings(LORA_DEFAULT_SPI_FREQUENCY, MSBFIRST, SPI_MODE0),
73 _spi(&LORA_DEFAULT_SPI),
74 _ss(LORA_DEFAULT_SS_PIN), _reset(LORA_DEFAULT_RESET_PIN), _dio0(LORA_DEFAULT_DIO0_PIN),
75 _frequency(0),
76 _packetIndex(0),
77 _implicitHeaderMode(0),
78 _onReceive(NULL),
79 _onTxDone(NULL)
80{
81 // overide Stream timeout value
82 setTimeout(0);
83}
84
85int LoRaClass::begin(long frequency)
86{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected