Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active Jan 4, 2022
Embed
What would you like to do?
LoRaWAN Join Log on Apache NuttX OS (See https://lupyuen.github.io/articles/lorawan3)
nsh> lorawan_test
create_task
TimerInit
TimerSetValue: 25 ms
TimerInit
TimerSetValue: 25 ms
TimerInit
TimerSetValue: 100 ms
TimerInit
TimerSetValue: 5000 ms
###### ===================================== ######
Application name : fuota-test-01
Application version: 1.2.0
GitHub base version: 5.0.0
###### ===================================== ######
TimerInit
TimerInit
TimerInit
TimerInit
TimerInit
TimerInit
TimerInit
TimerInit
TODO: RtcGetCalendarTime
TODO: SX126xReset
SX126xIoInit
init_gpio
DIO1 pintype before=5
init_gpio: change DIO1 to Trigger GPIO Ignterrupt on Rising Edge
pint_enable: Disable the interrupt
gpio_setpintype: setpintype...
bl602_gpio_set_intmod: ****gpio_pin=19, int_ctlmod=1, int_trgmod=1
gpio_ioctl: Requested pintype 8, but actual pintype 5
DIO1 pintype after=5
Starting process_dio1
process_dio1 started
gpint_attach: Attaching the callback
gpint_attach: Attach 0x23047dd2
gpint_enable: Enabling the interrupt
gpint_read: Reading int pin...
DIO1 before=0
init_spi
spi_test_driver_open:
TODO: SX126X interrupt init
SX126xWakeup
sx126x_hal_write: command_length=1, data_length=1
spi tx: c0 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: 44 44
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 9d 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 96 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 8f 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xSetTxParams: power=22, rampTime=7
SX126xGetDeiceId: SX1262
SX126xWaitOnBugpin_read: Reading...
sy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 d8 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 c8
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 d8 de
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=4
spi tx: 95 04 07 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: 2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e7 38
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 8e 16 07
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=1, data_length=8
spi tx: 08 ff ff ff ff 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=9
spi_test_driver_configspi:
spi_test_driver_read: buflen=9
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_read: command_length=4, data_length=9
spi tx: 1d 02 9f 00 00 00 00 00 00 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=13
spi_test_driver_configspi:
spi_test_driver_read: buflen=13
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 00 be 0e ec 80 69 0d 42 c7
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusygpin_read: Reading...
sx126x_hal_write: command_length=3, data_length=9
spi tx: 0d 02 9f 01 08 ac ec 80 69 0d 42 c7
gpout_write: Writing 0
spi_test_driver_write: buflen=12
spi_test_driver_configspi:
spi_test_driver_read: buflen=12
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBugpin_read: Reading...
sy
sx126x_hal_read: command_length=4, data_length=9
spi tx: 1d 02 9f 00 00 00 00 00 00 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=13
spi_test_driver_configspi:
spi_test_driver_read: buflen=13
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 01 08 ac ec 80 69 0d 42 c7
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusgpin_read: Reading...
y
sx126x_hal_write: command_length=3, data_length=9
spi tx: 0d 02 9f 02 08 ac 08 89 69 0d 42 c7
gpout_write: Writing 0
spi_test_driver_write: buflen=12
spi_test_driver_configspi:
spi_test_driver_read: buflen=12
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
TimerInit
TimerInit
RadioSetModem
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 8a 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=8
spi tx: 08 00 00 00 00 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=9
spi_test_driver_configspi:
spi_test_driver_read: buflen=9
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 e2 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 0c
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e2 0c
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWgpin_read: Reading...
aitOnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 e5 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 20
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e5 20
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 ac 94
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWagpin_read: Reading...
itOnBusy
sx126x_hal_write: command_length=1, data_length=3
spi tx: 82 ff ff ff
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWgpin_read: Reading...
aitOnBusy
sx126x_hal_read: command_length=4, data_length=4
spi tx: 1d 08 19 00 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=8
spi_test_driver_configspi:
spi_test_driver_read: buflen=8
gpout_write: Writing 1
spi rx: d2 d2 d2 d2 64 c9 52 92
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusygpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_red: buflen=2
gpout_write: Writing 1
spi rx: d2 d2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWagpin_read: Reading...
itOnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e2 0c
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWagpin_read: Reading...
itOnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e5 20
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetModem
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 8a 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetPublicNetwork: public syncword=3444
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 07 40 34
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWagpin_read: Reading...
itOnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 07 41 44
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSleep
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 84 04
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
DelayMsbl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading int pin...
DIO1 before=1
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
RadioSet
SX126xWakeup
sx126x_hal_write: command_length=1, data_length=1
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi tx: c0 00
spi rx: a0 a0
SX12gpin_read: Reading...
6xWaitgpin_read: Reading...
OnBusy
SX126xWaitOnBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 8a 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetPublicNetwork: public syncword=3444
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 07 40 34
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWgpin_read: Reading...
aitOnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 07 41 44
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
DevEui : 4B-C1-5E-E7-37-7B-B1-5B
JoinEui : 00-00-00-00-00-00-00-00
Pin : 00-00-00-00
TimerInit
TimerInit
TimerInit
TODO: RtcGetCalendarTime
TimerGetElapsedTime
TimerGetCurrentTime: 26570 ms
TimerGetCurrentTime: 26570 ms
TODO: RtcBkupRead
TODO: RtcBkupRead
RadioSetChannel: freq=923200000
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=2
spi tx: 98 e1 e9
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=1, data_length=4
spi tx: 86 39 b3 33 33
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetTxConfig: modem=1, power=13, fdev=0, bandwidth=0, datarate=10, coderate=1, preambleLen=8, fixLen=0, crcOn=1, freqHopOn=0, hopPeriod=0, iqInverted=0, timeout=4000
RadioSetTxConfig: SpreadingFactor=10, Bandwidth=4, CodingRate=1, LowDatarateOptimize=0, PreambleLength=8, HeaderType=0, PayloadLength=255, CrcMode=1, InvertIQ=0
RadioStandby
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Wrting 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetModem
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 8a 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBgpin_read: Reading...
usy
sx126x_hal_write: command_length=1, data_length=4
spi tx: 8b 0a 04 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 ff 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 89 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 04
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 89 04
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xSetRfTxPower
SX126xSetTxParams: power=13, rampTime=7
SX126xGetDeviceId: SX1262
SXgpin_read: Reading...
126xWaitOnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 d8 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_drivr_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 fe
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 d8 fe
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=4
spi tx: 95 04 07 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e7 38
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 8e 0d 07
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_ead: Reading...
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 17 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SecureElementRandomNumber: 0x6e58ee30
RadioSend: size=23
00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b 30 ee 30 31 0a 5e
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=8
spi tx: 08 02 01 02 01 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=9
spi_test_driver_configspi:
spi_test_driver_read: buflen=9
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=23, CrcMode=1, InvertIQ=0
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 17 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=2, data_length=23
spi tx: 0e 00 00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b 30 ee 30 31 0a 5e
gpout_write: Writing 0
spi_test_driver_write: buflen=25
spi_test_driver_configspi:
spi_test_driver_read: buflen=25
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=3
spi tx: 83 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: eading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
TimerStart2: 4000 ms
TimerStop
###### =========== MLME-Request ============ ######
###### MLME_JOIN ######
###### ===================================== ######
STATUS : OK
TimerInit
TimerSetValue: 42249 ms
TimerStop
TimerSetValue: 42249 ms
TimerStart
TimerStart2: 42249 ms
TimerStop
task_callback
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: e2 e2 00 00
status=0xe2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: e2 e2 e2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: e2 e2 00 00
status=0xe2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: e2 e2 e2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
bl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading int pin...
DIO1 before=1
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: ac ac 00 01
status=0xac
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: ac ac ac
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
IRQ_TX_DONE
TimerStop
TimerGetCurrentTime: 27000 ms
TODO: RtcGetCalendarTime
TODO: RtcBkupRead
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: ac ac 00 00
status=0xac
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: ac ac ac
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioSleep
SXgpin_read: Reading...
126xWaitOnBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 84 04
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: ac ac
DelayMsbl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading int pin...
DIO1 before=1
TimerSetValue: 4988 ms
TimerStart
TimerStart2: 4988 ms
TimerStop
TimerSetValue: 5988 ms
TimerStart
TimerStart2: 5988 ms
TimerStop
TODO: RtcGetCalendarTime
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWakeup
sx126x_hal_write: command_length=1, data_length=1
spi tx: c0 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: 80 a0
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWagpin_read: Reading...
itOnBusy
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 00 00
status=0xa2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 00 00
status=0xa2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
DIO1 timeout
gpint_read: Reading int pin...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
task_callback: ev=0x42016828
TimerStop
RadioStandby
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetChannel: freq=923200000
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=4
spi tx: 86 39 b3 33 33
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetRxConfig
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 9f 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioStandby
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetModem
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 8a 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBgpin_read: Reading...
usy
sx126x_hal_write: command_length=1, data_length=4
spi tx: 8b 0a 04 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBugpin_read: Reading...
sy
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 ff 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBgpin_read: Reading...
usy
sx126x_hal_write: command_length=1, data_length=1
spi tx: a0 0a
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 07 06 28
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 07 36 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 0d
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 07 36 09
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetRxConfig done
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 80 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioRx
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=8
spi tx: 08 ff ff ff ff 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=9
spi_test_driver_configspi:
spi_test_driver_read: buflen=9
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_rea: Reading...
TimerStart2: 3000 ms
TimerStop
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 ac 94
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=3
spi tx: 82 3f ff c0
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: d2 d2 00 00
status=0xd2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_conigspi:
spi_test_driver_read: bufle=3
gpout_write: Writing 1
spi rx: d2 d2 d2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
bl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading int pin...
DIO1 before=1
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a6 a6 02 00
status=0xa6
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 02 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a6 a6 a6
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
IRQ_RX_TX_TIMEOUT
TimerStop
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a6 a6 00 00
status=0xa6
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a6 a6 a6
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioSleep
SX126xWagpin_read: Reading...
itOnBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 84 04
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a6 a6
bl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DelayMs
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading int pin...
DIO1 before=1
TimerGetElapsedTime
TimerGetCurrentTime: 32170 ms
TimerStop
###### =========== MLME-Confirm ============ ######
STATUS : Rx 1 timeout
TODO: RtcGetCalendarTime
TimerGetElapsedTime
TimerGetCurrentTime: 32170 ms
TimerGetCurrentTime: 32170 ms
TODO: RtcBkupRead
TODO: RtcBkupRead
RadioSetChannel: freq=923400000
SX126xWakeup
sx126x_hal_write: command_length=1, data_length=1
spi tx: c0 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a0 a0
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_write: command_length=1, data_length=4
spi tx: 86 39 b6 66 66
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetTxConfig: modem=1, power=13, fdev=0, bandwidth=0, datarate=10, coderate=1, preambleLen=8, fixLen=0, crcOn=1, freqHopOn=0, hopPeriod=0, iqInverted=0, timeout=4000
RadioSetTxConfig: SpreadingFactor=10, Bandwidth=4, CodingRate=1, LowDatarateOptimize=0, PreambleLength=8, HeaderType=0, PayloadLength=128, CrcMode=1, InvertIQ=0
RadioStandby
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 80 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSetModem
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=1
spi tx: 8a 01
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=1, data_length=4
spi tx: 8b 0a 04 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBgpin_read: Reading...
usy
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 80 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 89 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 04
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOngpin_read: Reading...
Busy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 89 04
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xSetRfTxPower
SX126xSetTxParams: power=13, rampTime=7
SX126xGetDeviceId: SX1262
SX1gpin_read: Reading...
26xWaitOnBusy
sx126x_hal_read: command_length=4, data_length=1
spi tx: 1d 08 d8 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 fe
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 d8 fe
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=4
spi tx: 95 04 07 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=5
spi_test_driver_configspi:
spi_test_driver_read: buflen=5
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=3, data_length=1
spi tx: 0d 08 e7 38
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 8e 0d 07
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 17 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SecureElementRandomNumber: 0x65314f27
RadioSend: size=23
00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b 27 4f 39 a7 bd 9c
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=8
spi tx: 08 02 01 02 01 00 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=9
spi_test_driver_configspi:
spi_test_driver_read: buflen=9
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=23, CrcMode=1, InvertIQ=0
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=6
spi tx: 8c 00 08 00 17 01 00
gpout_write: Writing 0
spi_test_driver_write: buflen=7
spi_test_driver_configspi:
spi_test_driver_read: buflen=7
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=2, data_length=23
spi tx: 0e 00 00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b 27 4f 39 a7 bd 9c
gpout_write: Writing 0
spi_test_driver_write: buflen=25
spi_test_driver_configspi:
spi_test_driver_read: buflen=25
gpout_write: Writing 1
spi rx: a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2 a2
SX126xWaitOBusy
gpin_read: Reading...
SX126xWaitOnBusygpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=3
spi tx: 83 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
gpin_read: Reading...
TimerStart2: 4000 ms
TimerStop
###### =========== MLME-Request ============ ######
###### MLME_JOIN ######
###### ===================================== ######
STATUS : OK
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: e2 e2 00 00
status=0xe2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: e2 e2 e2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: e2 e2 00 00
status=0xe2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitgpin_read: Reading...
OnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: e2 e2 e2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardriticalSectionBegin
TODO: BoardCriticalSectionEnd
bl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading in pin...
DIO1 before=1
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: ac ac 00 01
status=0xac
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 01
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: ac ac ac
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
IRQ_TX_DONE
TimerStop
TimerGetCurrentTime: 32590 ms
TODO: RtcGetCalendarTime
TODO: RtcBkupRead
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: ac ac 00 00
status=0xac
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: ac ac ac
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioSleep
SX1gpin_read: Reading...
26xWaitOnBusy
sx126x_hal_write: command_length=1, data_length=1
spi tx: 84 04
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: ac ac
bl602_gpio_interrupt: Interrupt! callback=0x23047dd2
DelayMs
DIO1 add event
gpint_read: Reading int pin...
DIO1 after=1
gpint_read: Reading int pin...
DIO1 before=1
TimerSetValue: 4988 ms
TimerStart
TimerStart2: 4988 ms
TimerStop
TimerSetValue: 5988 ms
TimerStart
TimerStart2: 5988 ms
TimerStop
TODO: RtcGetCalendarTime
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
task_callback: ev=0x42015b18
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWakeup
sx126x_hal_write: command_length=1, data_length=1
spi tx: c0 00
gpout_write: Writing 0
spi_test_driver_write: buflen=2
spi_test_driver_configspi:
spi_test_driver_read: buflen=2
gpout_write: Writing 1
spi rx: a0 a0
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaigpin_read: Reading...
tOnBusy
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 00 00
status=0xa2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOgpin_read: Reading...
nBusy
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
RadioOnDioIrq
RadioIrqProcess
SX126xReadCommand: command=0x12, size=2
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_read: command_length=2, data_length=2
spi tx: 12 00 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=4
spi_test_driver_configspi:
spi_test_driver_read: buflen=4
gpout_write: Writing 1
spi rx: a2 a2 00 00
status=0xa2
SX126xWaitOnBusy
gpin_read: Reading...
SX126xWaitOnBusy
gpin_read: Reading...
sx126x_hal_write: command_length=1, data_length=2
spi tx: 02 00 00
gpout_write: Writing 0
spi_test_driver_write: buflen=3
spi_test_driver_configspi:
spi_test_driver_read: buflen=3
gpout_write: Writing 1
spi rx: a2 a2 a2
SX126xWaitOnBusy
gpin_read: Reading...
TODO: SX126xGetDio1PinState
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
TODO: BoardCriticalSectionBegin
TODO: BoardCriticalSectionEnd
DIO1 timeout
gpint_read: Reading int pi...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
DIO1 timeout
gpint_read: Reading int pin...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
DIO1 timeout
gpint_read: Reading int pin...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
DIO1 timeout
gpint_read: Reading int pin...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
DIO1 timeout
gpint_read: Reading int pin...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
DIO1 timeout
gpint_read: Reading int pin...
DIO1 after=0
gpint_read: Reading int pin...
DIO1 before=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment