gotthardp / lorawan-server

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

MQTT multicast problem #585

Open amc2505 opened 5 years ago

amc2505 commented 5 years ago

hello,

I try to initiate a downlink message using MQTT. This is working with devices. But when I try to send a multicast message using the multicast device, this doesn't work, I got a message in the log ... invalid device or something like this ... Is it by design or is it a bug ? thanks. Regards.

gotthardp commented 5 years ago

Hello. That should work, so it's an error if it doesn't.

amc2505 commented 5 years ago

Yes I think so, the log says that my multicast devaddr is unknown. When I use websocket instead it is ok.

Regards.

De : Petr Gotthard notifications@github.com Répondre à : gotthardp/lorawan-server reply@reply.github.com Date : mardi 29 janvier 2019 à 21:55 À : gotthardp/lorawan-server lorawan-server@noreply.github.com Cc : Alain-michel CIETERS am.cieters@noolitic.com, Author author@noreply.github.com Objet : Re: [gotthardp/lorawan-server] MQTT multicast problem (#585)

Hello. That should work, so it's an error if it doesn't.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gotthardp/lorawan-server/issues/585#issuecomment-458703193, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABa5XgtNSTbYqbmEwUN-owB6kWTuWBAjks5vILU3gaJpZM4aMjBz.

gotthardp commented 5 years ago

The code for both cases is identical. It may be due to a misconfiguration. What is your connector configuration?

amc2505 commented 5 years ago

MQTT When I choose a device which is in my device list this is OK.

When I choose the device which is created in my multicast list it says that the device is unknown.

[cid:image001.png@01D4B88C.BE041DA0]

De : Petr Gotthard notifications@github.com Répondre à : gotthardp/lorawan-server reply@reply.github.com Date : mercredi 30 janvier 2019 à 10:36 À : gotthardp/lorawan-server lorawan-server@noreply.github.com Cc : Alain-michel CIETERS am.cieters@noolitic.com, Author author@noreply.github.com Objet : Re: [gotthardp/lorawan-server] MQTT multicast problem (#585)

The code for both cases is identical. It may be due to a misconfiguration. What is your connector configuration?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gotthardp/lorawan-server/issues/585#issuecomment-458875995, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABa5XjbhtGv1Pvuyzl_6FkV8_Jom1n0mks5vIWeZgaJpZM4aMjBz.

amc2505 commented 5 years ago

Is the same configuration, publish uplink is ok.

Publish event is not ok.

De : Alain-michel CIETERS am.cieters@noolitic.com Date : mercredi 30 janvier 2019 à 11:12 À : gotthardp/lorawan-server reply@reply.github.com Objet : Re: [gotthardp/lorawan-server] MQTT multicast problem (#585)

MQTT When I choose a device which is in my device list this is OK.

When I choose the device which is created in my multicast list it says that the device is unknown.

[cid:image001.png@01D4B88C.BE041DA0]

De : Petr Gotthard notifications@github.com Répondre à : gotthardp/lorawan-server reply@reply.github.com Date : mercredi 30 janvier 2019 à 10:36 À : gotthardp/lorawan-server lorawan-server@noreply.github.com Cc : Alain-michel CIETERS am.cieters@noolitic.com, Author author@noreply.github.com Objet : Re: [gotthardp/lorawan-server] MQTT multicast problem (#585)

The code for both cases is identical. It may be due to a misconfiguration. What is your connector configuration?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gotthardp/lorawan-server/issues/585#issuecomment-458875995, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABa5XjbhtGv1Pvuyzl_6FkV8_Jom1n0mks5vIWeZgaJpZM4aMjBz.