log:
[root@tkgw:/]# ./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: no configuration for LBT
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
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 5A1DFCFFFEAD243C
INFO: server hostname or IP address is configured to “127.0.0.1”
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: Auto-quit after 6 non-acknowledged PULL_DATA
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 5A1DFCFFFEAD243C
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=(617900806s:668745?¦Ìs) - drift=617900806668745?¦Ìs
INFO: Enabling GPS mode for concentrator’s counter.
1989-07-31 15:07:19 GMT
[UPSTREAM]
RF packets received by concentrator: 0
CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
RF packets forwarded: 0 (0 bytes)
PUSH_DATA datagrams sent: 0 (0 bytes)
PUSH_DATA acknowledged: 0.00%
[DOWNSTREAM]
PULL_DATA sent: 3 (0.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): 2817426
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
[GPS]
GPS sync is disabled
END
JSON up: {“stat”:{“time”:“1989-07-31 15:07:19 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
INFO: Disabling GPS mode for concentrator’s counter…
INFO: host/sx1301 time offset=(617900806s:670041?¦Ìs) - drift=1296?¦Ìs
INFO: Enabling GPS mode for concentrator’s counter.
1989-07-31 15:07:49 GMT
[UPSTREAM]
RF packets received by concentrator: 0
CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
RF packets forwarded: 0 (0 bytes)
PUSH_DATA datagrams sent: 1 (111 bytes)
PUSH_DATA acknowledged: 0.00%
[DOWNSTREAM]
PULL_DATA sent: 3 (0.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): 62829512
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
[GPS]
GPS sync is disabled
END
JSON up: {“stat”:{“time”:“1989-07-31 15:07:49 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
INFO: [down] the last 6 PULL_DATA were not ACKed, exiting application
INFO: End of downstream thread
INFO: End of upstream thread
1989-07-31 15:08:19 GMT
[UPSTREAM]
RF packets received by concentrator: 0
CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
RF packets forwarded: 0 (0 bytes)
PUSH_DATA datagrams sent: 1 (111 bytes)
PUSH_DATA acknowledged: 0.00%
[DOWNSTREAM]
PULL_DATA sent: 0 (0.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): 62829512
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
[GPS]
GPS sync is disabled
END
INFO: concentrator stopped successfully
INFO: Exiting packet forwarder program
这是运行成功了吗?配置又要如何修改?收发数据又要如何操作?运行环境是在简易版linux的开发板,无法直接按照文档直接操作?希望有大佬帮忙解答!!!