I am trying to send downlink messages to some LoRaWAN nodes.
Is it possible to use the http integration in order to send a message?
I looked for the source code of lora app server and I found that the following function (defined in internal/integration/http/http.go) return null.
func (i *Integration) DataDownChan() chan integration.DataDownPayload {
return nil
}
is there a way to add a message in the device queue using this function?
The Integrator is an interface which any real intergration must implement, such as mqtt intergration(internal/integration/mqtt/mqtt.go), but as it is http intergration, DataDownChan() is designed to be null because http intergration do notification job only, to use http to schedule a downlink queue, i think you can use POST device-queue RESTful.
I also need to send Downlink message towards end device from thingsboard to disable the alarm siren.
Can you please share some idea how this can be done using HTTP integration ?
Even, I am searching for the same thing. I already have downlink via MQTT Integration (through MQTT Broker).
Now I have implemented Uplink via Device Access Token (without MQTT), But I want to send Downlink command (Base 64 encoded) from thingsboard Dashboard over HTTP Integration to end-device (LoRa-Server > device Queue). For that we need to set HTTP Integration parameters such as Base URL or HTTP endpoint URL in Thingsboard > Integration. I think it should be set to Request URL of specific device queue in LoRa app Server i.e. http://localhost:8080/api/devices/deviceEUI/queue
Hi @thangaraj_m.d , did you solve it? Iâm in the same situation as your explanation. I can receive telemetry from end-device to thingsboard (my end device is RAK7431). However, Iâm unable to send downlink msg through thingsboard. Can you share some insights? Thanks.