rgot-org / TheThingsNetwork_esp32

82 stars 24 forks source link

Send confirmedData #14

Open bobhydrm opened 4 years ago

bobhydrm commented 4 years ago

Hi. I am testing TTN_esp32 with TTGO LoRa. I have problem with sending ConfirmedData from node to network.

call "sendBytes( payload, size, fport, true )" still sends unconfirmed message. Seen as UnconfirmedUplink on gateway and on network server.

Everything other works perfectly (sending unconfirmed messages, receiving confirmed and unconfirmed messages from network server).

lrodorigo commented 4 years ago

Same issue here No. My fault. It's correctly working.

I wrote if (ttn.sendBytes(lpp.getBuffer(), lpp.getSize()), 1, 1) {

instead of if (ttn.sendBytes(lpp.getBuffer(), lpp.getSize(), 1, 1)) { :facepalm:

and, obiouvsly, it compiles, but it does not work.

Marcel2508 commented 4 years ago

I'm trying to send data and get a confirmation if it reached the network. I'm sending data with this method-call: ttn.sendBytes(DATA,4,1,true)

Is there any possibility to know if my data got confirmed in the arduino program? Because when I turn off my Gateway the method doesn't return false for not getting an ack.

Any Idea how I could implement something to check whether the packet reached it's destination?