gotthardp / lorawan-server

Compact server for private LoRaWAN networks
https://gotthardp.github.io/lorawan-server
MIT License
951 stars 327 forks source link

Unexpected mtype 3 #352

Closed psgenn closed 6 years ago

psgenn commented 6 years ago

Hi, I'm trying to send confirmation messages and the server gives an error "Unexpected mtype 3". What am I doing wrong?

Apr 01 09:13:10 raspberrypi lorawan-server[13150]: 09:13:10.249 [error] <<"11111111">> Unexpected mtype 3

image image image

gotthardp commented 6 years ago

How do you send the mtype 3 messages?

psgenn commented 6 years ago

I do not do anything for this. I'm using the firmware version from the http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/i-cube-lrwan.html

gotthardp commented 6 years ago

MType=3 is "unconfirmed downlink". This is sent by the server, so if your device sends MType=3, it is apparently malfunctioning.