Skip to content

Commit 7b5bd73

Browse files
committed
examples/lora/lorawan: add missing functions for simulated interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 7b2fa1a commit 7b5bd73

File tree

1 file changed

+5
-0
lines changed
  • examples/lora/lorawan/common

1 file changed

+5
-0
lines changed

examples/lora/lorawan/common/sim.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ func (sr *SimLoraRadio) SetCodingRate(cr uint8) {}
2929
func (sr *SimLoraRadio) SetBandwidth(bw uint8) {}
3030
func (sr *SimLoraRadio) SetCrc(enable bool) {}
3131
func (sr *SimLoraRadio) SetSpreadingFactor(sf uint8) {}
32+
func (sr *SimLoraRadio) SetHeaderType(headerType uint8) {}
33+
func (sr *SimLoraRadio) SetPreambleLength(pLen uint16) {}
34+
func (sr *SimLoraRadio) SetPublicNetwork(enabled bool) {}
35+
func (sr *SimLoraRadio) SetSyncWord(syncWord uint16) {}
36+
func (sr *SimLoraRadio) SetTxPower(txPower int8) {}
3237
func (sr *SimLoraRadio) LoraConfig(cnf lora.Config) {}
3338

3439
func FirmwareVersion() string {

0 commit comments

Comments
 (0)