Hi,
I’m using for the first time the “class c”, so i’m try to send data from my app backend to “lora app” and i want to ask you if these are the steps that must be done :
just publishing topic like this :
application/1/node/70b3d5fffe297207/tx {
“reference”: “actd1238888”,
“confirmed”: true,
“fPort”: 10,
“data”: "AAAA
}
i have to nothing to modify in the file lora-app-server.toml ? or there is somthing else to do in the app server ?
this is my publish python script exemple :
import paho.mqtt.client as paho
broker="127.0.0.1"
port=1883
def on_publish(client,userdata,result): #create function for callback
print("data published \n")
client1= paho.Client("control1") #create client object
client1.on_publish = on_publish #assign function to callback
client1.connect(broker,port,60) #establish connection
ret= client1.publish("application/5/SENSOR_AT_COM/3131353873378a18/tx","data:jaja")
client1.loop_forever()