Skip to content

Commit b1dbe45

Browse files
committed
Update log
1 parent 456445b commit b1dbe45

File tree

1 file changed

+94
-5
lines changed

1 file changed

+94
-5
lines changed

customer_app/sdk_app_lorawan/README.md

Lines changed: 94 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ pkill -9 lora_pkt_fwd
121121
# Output Log
122122

123123
```text
124+
124125
# create_task
125126
126127
# init_lorawan
@@ -177,10 +178,10 @@ SX126xSetRfTxPower
177178
SX126xSetTxParams: power=13, rampTime=7
178179
SX126xGetDeviceId: SX1262
179180
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
180-
SendFrameOnChannel: channel=1, datarate=2, txpower=0, maxeirp=16, antennagain=2
181+
SendFrameOnChannel: channel=1, datarate=2, txpower=0, maxeirp=16, antennagin=2
181182
SendFrameOnChannel: txi is null, skipping log
182183
RadioSend: size=23
183-
00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b 57 95 d6 c1 92 35
184+
00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b da 5a 11 43 53 8a
184185
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=23, CrcMode=1, InvertIQ=0
185186
lora_mac_join_event: OK
186187
RadioOnDioIrq
@@ -221,7 +222,7 @@ Opened app port 2
221222
222223
# las_app_tx 2 5 0
223224
lwip_init
224-
-------------------->>>>>>>> LWIP tcp_port 57351
225+
-------------------->>>>>>>> LWIP tcp_port 55708
225226
lora_node_mcps_request
226227
pbuf_queue_put
227228
Packet sent on port 2
@@ -254,7 +255,7 @@ SX126xGetDeviceId: SX1262
254255
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
255256
SendFrameOnChannel: channel=1, datarate=2, txpower=0, maxeirp=16, antennagain=2
256257
RadioSend: size=18
257-
40 52 a6 60 01 00 00 00 02 5b 6e 3a ba 16 0d b3 23 79
258+
40 9b 0a 6b 01 00 00 00 02 a8 09 cf 2d 0e 5e 65 8b 9b
258259
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=18, CrcMode=1, InvertIQ=0
259260
RadioOnDioIrq
260261
RadioIrqProcess
@@ -337,7 +338,7 @@ SX126xGetDeviceId: SX1262
337338
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
338339
SendFrameOnChannel: channel=0, datarate=2, txpower=0, maxeirp=16, antennagain=2
339340
RadioSend: size=18
340-
40 52 a6 60 01 00 01 00 02 7b eb 31 a4 25 22 59 3a 04
341+
40 9b 0a 6b 01 00 01 00 02 69 d5 c6 c7 fb 77 99 36 b3
341342
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=18, CrcMode=1, InvertIQ=0
342343
RadioOnDioIrq
343344
RadioIrqProcess
@@ -386,10 +387,98 @@ Txd on port 2 type=unconf status=0 len=5
386387
uplink_chan:0
387388
pbuf_queue_get
388389
lora_mac_proc_tx_q_event
390+
391+
# las_app_tx 2 5 0
392+
lora_node_mcps_request
393+
pbuf_queue_put
394+
Packet sent on port 2
395+
396+
# lora_mac_proc_tx_q_event
397+
lora_mac_proc_tx_q_event: send from txq
398+
pbuf_queue_get
399+
Send
400+
ScheduleTx
401+
CalculateBackOff
402+
RegionNextChannel
403+
RegionAS923NextChannel
404+
RegionAS923NextChannel: channel=1
405+
RegionComputeRxWindowParameters
406+
RegionComputeRxWindowParameters
407+
lora_mac_rx_disable
408+
TODO: Radio.RxDisable
409+
SendFrameOnChannel: channel=1
410+
RegionTxConfig
411+
RegionAS923TxConfig
412+
RadioSetChannel: freq=923400000
413+
SX126xWakeup
414+
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=3000
415+
RadioSetTxConfig: SpreadingFactor=10, Bandwidth=4, CodingRate=1, LowDatarateOptimize=0, PreambleLength=8, HeaderType=0, PayloadLength=64, CrcMode=1, InvertIQ=0
416+
RadioStandby
417+
RadioSetModem
418+
SX126xSetRfTxPower
419+
SX126xSetTxParams: power=13, rampTime=7
420+
SX126xGetDeviceId: SX1262
421+
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
422+
SendFrameOnChannel: channel=1, datarate=2, txpower=0, maxeirp=16, antennagain=2
423+
RadioSend: size=18
424+
40 9b 0a 6b 01 00 02 00 02 bb 4d 97 13 09 bc e3 7a 0e
425+
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=18, CrcMode=1, InvertIQ=0
426+
RadioOnDioIrq
427+
RadioIrqProcess
428+
SX126xReadCommand
429+
IRQ_TX_DONE
430+
OnRadioTxDone
431+
RadioSleep
432+
OnRxWindow1TimerEvent
433+
RadioSetChannel: freq=923400000
434+
SX126xWakeup
435+
RadioSetRxConfig
436+
RadioStandby
437+
RadioSetModem
438+
RadioSetRxConfig done
439+
RadioRx
440+
RadioOnDioIrq
441+
RadioIrqProcess
442+
SX126xReadCommand
443+
IRQ_RX_TX_TIMEOUT
444+
OnRadioRxTimeout
445+
RadioSleep
446+
447+
# OnRxWindow2TimerEvent
448+
RadioSetChannel: freq=923200000
449+
SX126xWakeup
450+
RadioSetRxConfig
451+
RadioStandby
452+
RadioSetModem
453+
RadioSetRxConfig done
454+
RadioRx
455+
RadioOnDioIrq
456+
RadioIrqProcess
457+
SX126xReadCommand
458+
IRQ_RX_TX_TIMEOUT
459+
OnRadioRxTimeout
460+
RadioSleep
461+
pbuf_queue_put
462+
lora_node_chk_txq
463+
pbuf_queue_get
464+
Txd on port 2 type=unconf status=0 len=5
465+
dr:2
466+
txpower (dbm):0
467+
tries:1
468+
ack_rxd:0
469+
tx_time_on_air:330
470+
uplink_cntr:2
471+
uplink_chan:1
472+
pbuf_queue_get
473+
lora_mac_proc_tx_q_event
474+
475+
#
389476
```
390477

391478
# Send Message Log
392479

480+
We replay a LoRaWAN packet: Join Network Request. This won't work because we need to send the Public Sync Word (0x3444), not the Private Sync Word (0x1424).
481+
393482
```text
394483
# create_task
395484

0 commit comments

Comments
 (0)