FUOTA server fragments scheduling issue

Hi All,

Not able to receive fragments from lora server after sendMcClassCSessionReq from loraserver.js at end node.

Using mbed-os-example-lorawan-fuota example (https://github.com/ARMmbed/mbed-os-example-lorawan-fuota.git)
ported with end node having SX1262 radio library.

On network server side using following -
Multitech Gateway with packet forwarder and gateway bridge.
lora-app-server version - 2.6.1
loraserver version - 3.2.1

Currently I am Testing using LoRaServer.io with running loraserver.js from application side.
Connected end device in OTAA mode first.
Clock synchronisation done at port 202 successfully.
Received handleMulticastSetupReq at port 200 successfully.
Received handleFragmentationSetup at port 201 with FragmentationSession starting successfully.
Received handleMulticastClassCSessionReq at port 200 successfully.
device is Switched to Class C. But it not receiving fragements from lora server.

Additionally I have setup following as per FUOTA Server guideline -
Add a single extra device (this will be used as multicast group), with parameters:
LoRaWAN 1.0.2
ABP activation
Class C
DevAddr: 0x01FFFFFF
NwkSKey: BB75C362588F5D65FCC61C080B76DBA3
AppSKey: C3F6C39B6B6496C29629F7E7E9B0CD29

I have send at least one message from the Class C end device. Created multicast group at lora app server with two end devices.

From FUOTA server logs I see data fragments are scheduled to my devEUI but I won’t get message at packet forwarder logs.
Also subsequently they are not received at end node after switching to Class C.

Logs are attached here for end node console as below -

…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 868500000
…/lorawan/LoRaWANStack.cpp::process_connected_state(1217)
OTAA Connection OK!
Connection - Successful

lora_uc_send invoked from callback

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 6 bytes, PEND = 0, Port: 202
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 202
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=1, TX DR=5, RX1 DR=5
6 bytes scheduled for transmission on port 202

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 868300000
Message Sent to Network Server

lora_uc_send invoked from callback

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 6 bytes, PEND = 0, Port: 202
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 202
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=1, TX DR=5, RX1 DR=5
6 bytes scheduled for transmission on port 202

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 868300000
…/lorawan/LoRaWANStack.cpp::mcps_indication_handler(1042)
Packet Received 6 bytes, Port=202
Message Sent to Network Server

Received message from Network Server

Received 6 bytes on port 202

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleClockAppTimeAns(364)
handleClockAppTimeAns, correction=1252858584
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::updateMcGroupsBasedOnNewTime(1294)
updateMcGroupsBasedOnNewTime - time is now lu
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=6, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867700000
Message Sent to Network Server

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=3, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867100000
Message Sent to Network Server

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=4, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867300000
Message Sent to Network Server

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=4, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867300000
…/lorawan/LoRaWANStack.cpp::mcps_indication_handler(1042)
Packet Received 30 bytes, Port=200
Message Sent to Network Server

Received message from Network Server

Received 30 bytes on port 200

In handleMulticastSetupReq

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastSetupReq(446)
handleMulticastSetupReq mcIx=0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastSetupReq(488)
mcAddr: 0x01ffffff
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastSetupReq(489)
NwkSKey: bb 75 c3 62 58 8f 5d 65 fc c6 1c 08 0b 76 db a3

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastSetupReq(495)
AppSKey: c3 f6 c3 9b 6b 64 96 c2 96 29 f7 e7 e9 b0 cd 29

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastSetupReq(501)
minFcFCount: 0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastSetupReq(502)
maxFcFCount: 255
lora_uc_send invoked from callback

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 2 bytes, PEND = 0, Port: 200
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 200
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=6, TX DR=5, RX1 DR=5
2 bytes scheduled for transmission on port 200

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/LoRaWANStack.cpp::process_transmission(584)
Awaiting ACK
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867700000
…/lorawan/LoRaWANStack.cpp::post_process_tx_with_reception(603)
Ack=OK, NbTrials=0
Message Sent to Network Server

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=0, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 868100000
…/lorawan/LoRaWANStack.cpp::mcps_indication_handler(1042)
Packet Received 10 bytes, Port=201
Message Sent to Network Server

Received message from Network Server

Received 10 bytes on port 201

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(687)
handleFragmentationSetup fragIx=0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(710)
FragmentationSessionSetupReq
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(711)
Index: 0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(712)
McGroupBitMask: 0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(713)
NbFrag: 52224
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(714)
FragSize: 0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(715)
FragAlgo: 0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(716)
BlockAckDelay: 0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(717)
Padding: 92
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleFragmentationSetupReq(718)
Descriptor: 0
…/mbed-lorawan-update-client/fragmentation/source/FragmentationSession.cpp::FragmentationSession(28)
FragmentationSession starting:
…/mbed-lorawan-update-client/fragmentation/source/FragmentationSession.cpp::FragmentationSession(29)
NumberOfFragments: 52224
…/mbed-lorawan-update-client/fragmentation/source/FragmentationSession.cpp::FragmentationSession(30)
FragmentSize: 0
…/mbed-lorawan-update-client/fragmentation/source/FragmentationSession.cpp::FragmentationSession(31)
Padding: 92
…/mbed-lorawan-update-client/fragmentation/source/FragmentationSession.cpp::FragmentationSession(32)
MaxRedundancy: 39
…/mbed-lorawan-update-client/fragmentation/source/FragmentationSession.cpp::FragmentationSession(33)
FlashOffset: 0x101000
Current APP version: 1

In sendFragSessionAns

lora_uc_send invoked from callback

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 2 bytes, PEND = 0, Port: 201
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 201
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=4, TX DR=5, RX1 DR=5
2 bytes scheduled for transmission on port 201

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/LoRaWANStack.cpp::process_transmission(584)
Awaiting ACK
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867300000
…/lorawan/LoRaWANStack.cpp::post_process_tx_with_reception(603)
Ack=OK, NbTrials=0
Message Sent to Network Server

…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=0, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 868100000
…/lorawan/LoRaWANStack.cpp::mcps_indication_handler(1042)
Packet Received 11 bytes, Port=200
Message Sent to Network Server

Received message from Network Server

Received 11 bytes on port 200

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastClassCSessionReq(615)
handleMulticastClassCSessionReq mcIx=0
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastClassCSessionReq(651)
ClassCSessionReq _clockSync.correction else
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastClassCSessionReq(656)
timeToStart: 5
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastClassCSessionReq(657)
timeOut: 128
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastClassCSessionReq(658)
dlFreq: 869525000
…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::handleMulticastClassCSessionReq(659)
dataRate: 5
lora_uc_send invoked from callback

…/src/…/mbed-lorawan-update-client/mbed-lorawan-update-client/LoRaWANUpdateClient.h::updateClassCSessionAns(306)
updateClassCSessionAns, originalTimeToStart=5, delta=0, newTimeToStart=5
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 5 bytes, PEND = 0, Port: 200
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 200
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=4, TX DR=5, RX1 DR=5
5 bytes scheduled for transmission on port 200

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/LoRaWANStack.cpp::process_transmission(584)
Awaiting ACK
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867300000
…/lorawan/LoRaWANStack.cpp::post_process_tx_with_reception(603)
Ack=OK, NbTrials=0
Message Sent to Network Server
Switch to Class C

…/lorawan/lorastack/mac/LoRaMac.cpp::set_device_class(1453)
Changing device class to -> CLASS_C
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx2_window(956)
RX2 slot open, Freq = 869525000
Switch to Class A

…/lorawan/lorastack/mac/LoRaMac.cpp::set_device_class(1441)
Changing device class to -> CLASS_A
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_ongoing_tx(1377)
RTS = 4 bytes, PEND = 0, Port: 15
…/lorawan/lorastack/mac/LoRaMac.cpp::prepare_frame(1735)
Frame prepared to send at port 15
…/lorawan/lorastack/mac/LoRaMac.cpp::schedule_tx(1167)
TX: Channel=5, TX DR=5, RX1 DR=5
4 bytes scheduled for transmission on port 15

…/lorawan/LoRaWANStack.cpp::process_transmission(576)
Transmission completed
…/lorawan/lorastack/mac/LoRaMac.cpp::open_rx1_window(923)
RX1 slot open, Freq = 867500000
Message Sent to Network Server

and FUOTA server side loraserver.js execution log -

:~/Desktop/fuota_server_source$ LORA_HOST=127.0.0.1 LORA_DR=5 node fuota-server/loraserver.js Desktop/packets.txt
Subscribed to all application events
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“devAddr”:“0033ea31”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-31,“loRaSNR”:11,“location”:null}],“txInfo”:{“frequency”:867300000,“dr”:4},“adr”:true,“fCnt”:0,“fPort”:202,“data”:“Af////8Q”}
m.fPort = 202
deviceTime -1 serverTime 1252771848
Clock sync for device 008000000000fe69 1252771849 seconds
All devices have had their clocks synced, setting up mc group…
msg {“reference”:“jan1568736630262”,“confirmed”:false,“fPort”:202,“data”:“AQnIq0oA”}
sendMcGroupSetup
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“battery”:255,“margin”:14,“externalPowerSource”:false,“batteryLevel”:0,“batteryLevelUnavailable”:true}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-36,“loRaSNR”:12.2,“location”:null}],“txInfo”:{“frequency”:868100000,“dr”:4},“adr”:true,“fCnt”:1,“fPort”:15,“data”:“cLXpYQ==”}
m.fPort = 15
msg {“reference”:“jan1568736631263”,“confirmed”:false,“fPort”:200,“data”:“AgD///8BAV6F9LmdwLlEBmzQdJgzCwAAAAD/AAAA”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-39,“loRaSNR”:10.8,“location”:null}],“txInfo”:{“frequency”:867900000,“dr”:4},“adr”:true,“fCnt”:2,“fPort”:200,“data”:“AgA=”}
m.fPort = 200
All devices have received multicast group, setting up fragsession…
sendFragSessionSetup
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-36,“loRaSNR”:12,“location”:null}],“txInfo”:{“frequency”:868300000,“dr”:4},“adr”:true,“fCnt”:3,“fPort”:15,“data”:“ZxduEA==”}
m.fPort = 15
msg {“reference”:“jan1568736643850”,“confirmed”:false,“fPort”:201,“data”:“AgAAzAAAXAAAAA==”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-38,“loRaSNR”:11.2,“location”:null}],“txInfo”:{“frequency”:867300000,“dr”:4},“adr”:true,“fCnt”:4,“fPort”:201,“data”:“AgA=”}
m.fPort = 201
All devices have received frag session, sending mc start msg…
sendMcClassCSessionReq
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-40,“loRaSNR”:9,“location”:null}],“txInfo”:{“frequency”:868500000,“dr”:4},“adr”:true,“fCnt”:5,“fPort”:15,“data”:“YkJICA==”}
m.fPort = 15
msg {“reference”:“jan1568736656309”,“confirmed”:false,“fPort”:200,“data”:“BAAxyKtKB9KthAU=”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-35,“loRaSNR”:12.2,“location”:null}],“txInfo”:{“frequency”:867700000,“dr”:4},“adr”:true,“fCnt”:6,“fPort”:200,“data”:“BAApAAA=”}
m.fPort = 200
008000000000fe69 time to start 41 startTime is 1252771889 currtime is 1252771886
Delta is too big for 008000000000fe69 38
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-37,“loRaSNR”:9,“location”:null}],“txInfo”:{“frequency”:868500000,“dr”:4},“adr”:true,“fCnt”:7,“fPort”:15,“data”:"/TSHVA=="}
m.fPort = 15
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-41,“loRaSNR”:12.5,“location”:null}],“txInfo”:{“frequency”:867700000,“dr”:4},“adr”:true,“fCnt”:8,“fPort”:15,“data”:“LeUDUA==”}
m.fPort = 15
startSendingClassCPackets
All devices ready? { ‘008000000000fe69’:
{ clockSynced: true,
fragSessionAns: true,
mcSetupAns: true,
mcStartAns: true,
applicationID: ‘1’,
msgWaiting: null } }
Sent packet 2
msg {“reference”:“jan1568736681362”,“confirmed”:false,“fPort”:201,“data”:“CAEA6xemAwgAAAAAAAADAAAAAPQKCvQcAAAAEAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0DA/1kjAQAAAAAAAAACCAFAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAACUQgQAZzkDACM8AwAxKAAAMQIAAOkFAABNCAAAMQIAAL0qAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAdQgAADECAAAxAgAAMQIAADECAAAxAgAA”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:9}
Sent packet 3
msg {“reference”:“jan1568736683563”,“confirmed”:false,“fPort”:201,“data”:“CAIAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAZQ4AADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAADECAAAxAgAAMQIAABC1BUwjeDO5”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:10}
Sent packet 4
msg {“reference”:“jan1568736685764”,“confirmed”:false,“fPort”:201,“data”:“CAMABEsTsQRIr/MAgAEjI3AQvZgBACAAAAAAIF0EAAi1A0sbsQNJA0iv8wCACL0AAAAAnAEAICBdBAAVSwArCL8TS51Go/WAOgAhi0YPRhNIFEoSGjzwpP8PSwArANCYRw5LACsA0JhHACAAIQQADQANSAAoAtAMSK/zAIA88NX+IAApADjwg/g88Kn+AL8AAAgAAAAIIAAAAAAAAAAAmAEAICTTACAAAAAAAAAAAAZIgEcGSQdKB0uaQr6/UfgEC0L4BAv45//3uP8RAwAA”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:11}
Sent packet 5
msg {“reference”:“jan1568736687965”,“confirmed”:false,“fPort”:201,“data”:“CAQAzIoEAAAAACCUAQAg/ucAv4C1grAArwDwJfh4YApL0/gIMRsKw/MIAztgO2gBM3posvvz83tgBUp7aBNge2gYRgg3vUaAvQC/AEAOQAwAACCAtACvAksYRr1GXfgEe3BHAKJKBIC0g7AArxZL0/iUMAPwBwMDKwjQBCsC0AIrCNAL4BFLG2h7YAvgT/QAQ3tgB+AOSxtoe2AD4A1LG2h7YAC/CEvT+AAxGwoD8B8DATN6aLL78/MYRgw3vUZd+AR7cEcAvwBADkAIAAAg”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:12}
Sent packet 6
msg {“reference”:“jan1568736690167”,“confirmed”:false,“fPort”:201,“data”:“CAUABAAAIBAAACCAtACvA0sbaBhGvUZd+AR7cEcAvwQAACCAtACvB0sISppgBkvT+IgwBEpD9HADwviIMAC/vUZd+AR7cEcA7QDgAAAAAIC0AK9P9ABDGEa9Rl34BHtwR4C0AK9P9HpzGEa9Rl34BHtwR4C0AK8DSxtoGEa9Rl34BHtwRwC/CAAAIIC1hLAAr3hgOWAhSxt4g/ABA9uyACsB0B5LNOB7aAArAdEdSy/gBvA/+bhgACP7YCLgGkr7aBsBE0QMMxt4g/ABA9uy”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:13}
Sent packet 7
msg {“reference”:“jan1568736692370”,“confirmed”:false,“fPort”:201,“data”:“CAYAACsU0Ppoe2gaYBNK+2gbARNEDDMBIhpwD0r7aBsBE0QAIhpguGgG8C35ACMJ4PtoATP7YPtoFyvZ3bhoBvAi+QZLGEYQN71GgL0Av7QBACACgADwAYAA8LgBACAEgADwgLWEsACvACP7cgbw+/h4YAAj+2AN4BRK+2gbARNEDDMbeAArAtABI/tyBeD7aAEz+2D7aBcr7t37eoPwAQPbsgArCdAH8Ob6CEsAIhpweGgG8Oj4ACMD4HhoBvDj+ARLGEYQN71GgL24AQAg”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:14}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“rxInfo”:[{“gatewayID”:“00800000a0002fec”,“name”:"",“rssi”:-45,“loRaSNR”:11,“location”:null}],“txInfo”:{“frequency”:867700000,“dr”:4},“adr”:true,“fCnt”:10,“fPort”:15,“data”:“Nv+FUw==”}
m.fPort = 15
Sent packet 8
msg {“reference”:“jan1568736694571”,“confirmed”:false,“fPort”:201,“data”:“CAcAtAEAIAWAAPCAtYSwAK94YBZLG3iD8AED27IAKwHQFEsf4HtoFysB2RJLGuAG8LT4+GARSntoGwETRAwzG3gAKwvQDUp7aBsBE0QMMwAiGnD4aAbwsfgAIwPg+GgG8Kz4BksYRhA3vUaAvQC/tAEAIAKAAPABgADwuAEAIAaAAPCAtYSwAK8ZSxtoe2AAIztxBvCC+LhgFksbeAArBNC4aAbwivgTSxzgEUsBIhpwuGgG8IL4ACP7YAngD0r7aBsBE0QMMwAiGnD7aAEz”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:16}
Sent packet 9
msg {“reference”:“jan1568736696772”,“confirmed”:false,“fPort”:201,“data”:“CAgA+2D7aBcr8t0EI/txOx0YRgfwevoAIxhGEDe9RoC9AL804gMAtAEAIAOAAPC4AQAggLWCsACveGARSxt4g/ABA9uyACsB0A9LFuB7aBcrAdkNSxHgDUp7aBsBE0QMMxt4g/ABA9uyACsB0AlLBOB7aBhGB/C5+gAjGEYIN71GgL20AQAgAoAA8AGAAPC4AQAgB4AA8IC1hrAArzJLG277YDBL2276aBNA+2D7aAArANr+5wAje2EBIzthTOD6aDtpE0AAK0HQJ0o7aZNm”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:17}
Sent packet 10
msg {“reference”:“jan1568736698972”,“confirmed”:false,“fPort”:201,“data”:“CAkAe2kbASVKE0S7YLtoG2gAKzXQu2ibaFocu2iaYLtoG2i6aJFoumhSaHhpmEcDRgArFL8BIwAj27KD8AED27L7cft5A/ABA/txu2hbewErFtH7eQArE9ASSntpWwETRAPxCAITeW/zQQMTcQ1Ke2lbARNEA/EYAhN5b/NBAxNxe2kBM3thO2lbADthe2kXK6/ZAL8YN71GgL0AIABAuAEAIDgDACCAtIOwAK8DRvtxl/kHMAArC9v7eQPwHwIHSZf5BzBbCQEgAPoC8kH4”}
msg {“applicationID”:“1”,“applicationName”:“IOTAPP”,“deviceName”:“EFM32GG”,“devEUI”:“008000000000fe69”,“type”:“DEVICE_QUEUE_ITEM_SIZE”,“error”:“payload exceeds max payload size”,“fCnt”:18}
Sent packet 11

Please anyone let me know what may be the issue or May be I am missing something in configuration/setup.

Please note that (an experimental version of) FUOTA has been implemented in LoRa App Server. There is no need to use the JS script anymore :slight_smile: