Finally found it.
surfed in this page https://www.loraserver.io/guides/troubleshooting/gateway/
my global_conf.json had
“serv_port_down”: 1680,
“serv_port_up”: 1680,
“server_address”: “localhost”,
but what i needed was
“serv_port_down”: 1700,
“serv_port_up”: 1700,
“server_address”: “localhost”,
If i run ./lora_pkt_fwd now means my frames are acknowldged.
root@raspberrypi:/home/packet_forwarder/lora_pkt_fwd# ./lora_pkt_fwd
*** Beacon Packet Forwarder for Lora Gateway ***
Version: 4.0.1
*** Lora concentrator HAL library version info ***
Version: 5.0.1;
INFO: Little endian host
INFO: found global configuration file global_conf.json, parsing it
INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
INFO: lorawan_public 1, clksrc 1
INFO: LBT is disabled
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 904300000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
INFO: radio 1 enabled (type SX1257), center frequency 905000000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 4> radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 5> radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 6> radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 7> radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000000
INFO: server hostname or IP address is configured to “localhost”
INFO: upstream port is configured to “1700”
INFO: downstream port is configured to “1700”
INFO: downstream keep-alive interval is configured to 10 seconds
INFO: statistics display interval is configured to 30 seconds
INFO: upstream PUSH_DATA time-out is configured to 100 ms
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: found local configuration file local_conf.json, parsing it
INFO: redefined parameters will overwrite global parameters
INFO: local_conf.json does not contain a JSON object named SX1301_conf
INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000101
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: [main] concentrator started, packet can now be received
INFO: Disabling GPS mode for concentrator’s counter…
INFO: host/sx1301 time offset=(1571740877s:920135µs) - drift=1890916231µs
INFO: Enabling GPS mode for concentrator’s counter.
INFO: [down] PULL_ACK received in 1 ms
INFO: Received pkt from mote: 01D9AAF5 (fcnt=327)
JSON up: {“rxpk”:[{“tmst”:4601764,“chan”:6,“rfch”:1,“freq”:905.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“lsnr”:12.5,“rssi”:-27,“size”:23,“data”:“QPWq2QGARwEIxhva6TFIwjdScBoNQIE=”}]}
INFO: [up] PUSH_ACK received in 1 ms
INFO: [down] PULL_ACK received in 0 ms
INFO: Received pkt from mote: 01D9AAF5 (fcnt=328)
JSON up: {“rxpk”:[{“tmst”:14634556,“chan”:5,“rfch”:1,“freq”:904.900000,“stat”:1,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“lsnr”:13.2,“rssi”:-30,“size”:23,“data”:“QPWq2QGASAEI1UIfRZj2ZgP/k9SEra4=”}]}
INFO: [up] PUSH_ACK received in 0 ms
INFO: [down] PULL_ACK received in 0 ms
INFO: Received pkt from mote: 01D9AAF5 (fcnt=329)
JSON up: {“rxpk”:[{“tmst”:24667212,“chan”:3,“rfch”:0,“freq”:904.500000,“stat”:1,“modu”:“LORA”,“datr”:“SF10BW125”,“codr”:“4/5”,“lsnr”:11.2,“rssi”:-28,“size”:23,“data”:“QPWq2QGASQEI+r1dG5qXNmHGhM24O/E=”}]}
INFO: [up] PUSH_ACK received in 1 ms
2019-10-22 10:41:50 GMT
[UPSTREAM]
RF packets received by concentrator: 3
CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
RF packets forwarded: 3 (69 bytes)
PUSH_DATA datagrams sent: 3 (617 bytes)
PUSH_DATA acknowledged: 100.00%
[DOWNSTREAM]
PULL_DATA sent: 3 (100.00% acknowledged)
PULL_RESP(onse) datagrams received: 0 (0 bytes)
RF packets sent to concentrator: 0 (0 bytes)
TX errors: 0
BEACON queued: 0
BEACON sent so far: 0
BEACON rejected: 0
[JIT]
SX1301 time (PPS): 2433364
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
[GPS]
GPS sync is disabled
END