One of my gateways is using a lot of (cellular) data, and I found out it is receiving lots of messages that don’t seem to follow the LoraWan protocol.
The gateway is a Dragino DLOS8.
I’m wondering if the receiver could be defect, or that it maybe is just seeing messages from a private LoRa network?
The ‘wrong’ messages show up like this in the TTN terminal:
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/encoding/lorawan",
"name": "field_length_with_multiple_choices",
"message_format": "`{lorawan_field}` length `{value}` should be equal to `{expected_1}` or `{expected_2}`",
"attributes": {
"expected_1": 17,
"expected_2": 33,
"lorawan_field": "JoinAcceptPHYPayload",
"value": 19
},
"correlation_id": "442d755cc86d4e369238d3a33a069ca4",
"code": 3
}
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/encoding/lorawan",
"name": "decode",
"message_format": "could not decode `{lorawan_field}`",
"attributes": {
"lorawan_field": "RejoinRequestPayload"
},
"correlation_id": "13bc2b42ea7b44b5891c04f13f859231",
"cause": {
"namespace": "pkg/encoding/lorawan",
"name": "unknown_field",
"message_format": "unknown `{lorawan_field}`",
"attributes": {
"lorawan_field": "RejoinType",
"value": "92"
},
"correlation_id": "5a2819c420a541cb8b5b3dc6b2905cca",
"code": 3
},
"code": 3
},
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/errors",
"name": "validation",
"message_format": "invalid `{field}`: {reason}",
"attributes": {
"field": "m_hdr",
"name": "MessageValidationError",
"reason": "embedded message failed validation"
},
"correlation_id": "285ff2f83bbc47119bbb10f7a4bd94a6",
"cause": {
"namespace": "pkg/errors",
"name": "validation",
"message_format": "invalid `{field}`: {reason}",
"attributes": {
"field": "major",
"name": "MHDRValidationError",
"reason": "value must be one of the defined enum values"
},
"correlation_id": "04023f10ffc34f0d836f492b5ce73b63",
"code": 3
},
"code": 3
},