May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“rx info sent to network-controller” dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“pending mac-command deleted” cid=DevStatusReq dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“dev_status_ans answer received” battery=193 dev_eui=0018b2200000035c margin=6
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“device gateway rx-info meta-data saved” dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=SetDeviceStatus grpc.service=as.ApplicationServerService grpc.time_ms=15.838 span.kind=client system=grpc
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService grpc.time_ms=25.475 span.kind=client system=grpc
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“requesting device-status” dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“pending mac-command block set” cid=DevStatusReq commands=1 dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“gateway/mqtt: publishing downlink frame” qos=0 topic=gateway/00800000a0002b21/tx
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“downlink-frames saved” dev_eui=0018b2200000035c token=60941
May 07 17:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:29:00Z” level=info msg=“backend/gateway: downlink tx acknowledgement received” gateway_id=00800000a0002b21
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“rx info sent to network-controller” dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“pending mac-command deleted” cid=DevStatusReq dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“dev_status_ans answer received” battery=193 dev_eui=0018b2200000035c margin=6
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“device gateway rx-info meta-data saved” dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=SetDeviceStatus grpc.service=as.ApplicationServerService grpc.time_ms=9.139 span.kind=client system=grpc
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService grpc.time_ms=11.044 span.kind=client system=grpc
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“requesting device-status” dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“pending mac-command block set” cid=DevStatusReq commands=1 dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“gateway/mqtt: publishing downlink frame” qos=0 topic=gateway/00800000a0002b21/tx
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“downlink-frames saved” dev_eui=0018b2200000035c token=27512
May 07 17:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:39:00Z” level=info msg=“backend/gateway: downlink tx acknowledgement received” gateway_id=00800000a0002b21
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“rx info sent to network-controller” dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“pending mac-command deleted” cid=DevStatusReq dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“dev_status_ans answer received” battery=193 dev_eui=0018b2200000035c margin=6
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“device gateway rx-info meta-data saved” dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=SetDeviceStatus grpc.service=as.ApplicationServerService grpc.time_ms=10.665 span.kind=client system=grpc
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService grpc.time_ms=19.673 span.kind=client system=grpc
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“requesting device-status” dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“pending mac-command block set” cid=DevStatusReq commands=1 dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“gateway/mqtt: publishing downlink frame” qos=0 topic=gateway/00800000a0002b21/tx
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“downlink-frames saved” dev_eui=0018b2200000035c token=6434
May 07 17:49:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:49:00Z” level=info msg=“backend/gateway: downlink tx acknowledgement received” gateway_id=00800000a0002b21
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“rx info sent to network-controller” dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“pending mac-command deleted” cid=DevStatusReq dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“dev_status_ans answer received” battery=193 dev_eui=0018b2200000035c margin=6
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“device gateway rx-info meta-data saved” dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=SetDeviceStatus grpc.service=as.ApplicationServerService grpc.time_ms=12.451 span.kind=client system=grpc
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService grpc.time_ms=21.09 span.kind=client system=grpc
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“requesting device-status” dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“pending mac-command block set” cid=DevStatusReq commands=1 dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“gateway/mqtt: publishing downlink frame” qos=0 topic=gateway/00800000a0002b21/tx
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“downlink-frames saved” dev_eui=0018b2200000035c token=24309
May 07 17:59:00 zaloranb1 loraserver[27927]: time=“2019-05-07T17:59:00Z” level=info msg=“backend/gateway: downlink tx acknowledgement received” gateway_id=00800000a0002b21
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“rx info sent to network-controller” dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“pending mac-command deleted” cid=DevStatusReq dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“dev_status_ans answer received” battery=194 dev_eui=0018b2200000035c margin=6
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“device gateway rx-info meta-data saved” dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService grpc.time_ms=21.206 span.kind=client system=grpc
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“finished client unary call” grpc.code=OK grpc.method=SetDeviceStatus grpc.service=as.ApplicationServerService grpc.time_ms=21.773 span.kind=client system=grpc
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“requesting device-status” dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“pending mac-command block set” cid=DevStatusReq commands=1 dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“gateway/mqtt: publishing downlink frame” qos=0 topic=gateway/00800000a0002b21/tx
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“device-session saved” dev_addr=06759be1 dev_eui=0018b2200000035c
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“downlink-frames saved” dev_eui=0018b2200000035c token=64391
May 07 18:09:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:09:00Z” level=info msg=“backend/gateway: downlink tx acknowledgement received” gateway_id=00800000a0002b21
May 07 18:29:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:29:00Z” level=error msg=“processing uplink frame error” data_base64=“QOGbdQaDRgAFwQYB4yhBy0tSUXW/1I94Eb8=” error=“decode fOpts to mac-commands error: lorawan: not enough remaining bytes”
May 07 18:39:00 zaloranb1 loraserver[27927]: time=“2019-05-07T18:39:00Z” level=error msg=“processing uplink frame error” data_base64=“QOGbdQaDRwAFwQYBXvfiIR3/B0Ix2YtOKIQ=” error=“decode fOpts to mac-commands error: lorawan: not enough remaining bytes”
Assuming base64-encoded packet
QOGbdQaDRwAFwQYBXvfiIR3/B0Ix2YtOKIQ=
Message Type = Data
PHYPayload = 40E19B750683470005C106015EF7E2211DFF074231D98B4E2884
( PHYPayload = MHDR[1] | MACPayload[…] | MIC[4] )
MHDR = 40
MACPayload = E19B750683470005C106015EF7E2211DFF074231D9
MIC = 8B4E2884 (from packet)
= 8B4E2884 (expected, assuming 32 bits frame counter with MSB 0000)
( MACPayload = FHDR | FPort | FRMPayload )
FHDR = E19B750683470005C106
FPort = 01
FRMPayload = 5EF7E2211DFF074231D9 (from packet, encrypted)
= 42C01210215A221063E4 (decrypted)
( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
DevAddr = 06759BE1 (Big Endian)
FCtrl = 83
FCnt = 0047 (Big Endian)
FOpts = 05C106
Message Type = Unconfirmed Data Up
Direction = up
FCnt = 71 (from packet, 16 bits)
= 71 (32 bits, assuming MSB 0x0000)
FCtrl.ACK = false
FCtrl.ADR = true
Assuming base64-encoded packet
QOGbdQaDRwAFwQYBXvfiIR3/B0Ix2YtOKIQ=
Message Type = Data
PHYPayload = 40E19B750683470005C106015EF7E2211DFF074231D98B4E2884
( PHYPayload = MHDR[1] | MACPayload[…] | MIC[4] )
MHDR = 40
MACPayload = E19B750683470005C106015EF7E2211DFF074231D9
MIC = 8B4E2884 (from packet)
= 8B4E2884 (expected, assuming 32 bits frame counter with MSB 0000)
( MACPayload = FHDR | FPort | FRMPayload )
FHDR = E19B750683470005C106
FPort = 01
FRMPayload = 5EF7E2211DFF074231D9 (from packet, encrypted)
= 42C01210215A221063E4 (decrypted)
( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
DevAddr = 06759BE1 (Big Endian)
FCtrl = 83
FCnt = 0047 (Big Endian)
FOpts = 05C106
Message Type = Unconfirmed Data Up
Direction = up
FCnt = 71 (from packet, 16 bits)
= 71 (32 bits, assuming MSB 0x0000)
FCtrl.ACK = false
FCtrl.ADR = true