Kyle Zhang
Forum Replies Created
-
AuthorPosts
-
Kyle Zhang
ParticipantHi,
Thanks for your info.Here is my configuration file:
{"udp": {"appPortUp": 1784, "appPortDown": 1786, "downstreamPort": 1782, "upstreamPort": 1780}, "log": {"syslog": true, "path": "", "console": true, "level": 100}, "whitelist": {"enabled": false, "devices": []}, "addressRange": {"start": "00:00:00:01", "end": "FF:FF:FF:FE"}, "db": "/var/run/lora/lora-net-server.db", "mqtt": {"host": "127.0.0.1", "enabled": true, "port": 1883}, "lora": {"rx1DatarateOffset": 0, "frequencyBand": 868, "nodeQueueSize": 16, "enabled": true, "rx2Datarate": 12, "frequencySubBand": 1, "maxTxPower": 26, "frequencyEU": 869500000}, "network": {"key": "00-11-22-33-44-55-66-77-88-99-AA-BB-CC-DD-EE-FF", "leasetime": 86400, "eui": "1122334455667788", "public": true}}
And I login to gateway via ssh. There are two commands run in different console
1. tail -f /var/log/lora-pkt-fwd.log And I get:
##### 2015-10-26 13:53:27 GMT #####
### [UPSTREAM] ###
# RF packets received by concentrator: 1
# CRC_OK: 0.00%, CRC_FAIL: lgw_receive:1428: FIFO content: Pkts: 1 62 0 Stat: 5 Size: 17
lgw_receive:1443: [0 17]
Note: LoRa packet
lgw_send:1696: DEBUG: Tx pow_index 9, rf_power 14
59.6.66.dc.cf.fa.17.9.0.97.21.10.0.8.0.0.20.7c.90.d3.d6.40.bc.aa.99.fd.96.86.cb.96.cf.23.bb.68.88.33.65.1d.ea.9f.40.17.c.5e.4f.a7.4a.3a.d0.end
I seems already received and sent a reply back.
2. mosquitto_sub -t lora/+/+ -v And I get:
lora/00:04:a3:0b:00:1b:95:19/joined (null)But still the RN2483 otaa join request get the result denied
What’s the format of the lgw_send message? What could be the error?
Thanks,
Kyle Zhang
ParticipantHi,
Here is my lora-network-server.conf configuration:
{ "udp": {"appPortUp": 1784, "appPortDown": 1786, "downstreamPort": 1782, "upstreamPort": 1780}, "log": {"syslog": true, "path": "", "console": true, "level": 100}, "whitelist": {"enabled": false, "devices": []}, "addressRange": {"start": "00:00:00:01", "end": "FF:FF:FF:FE"}, "db": "/var/run/lora/lora-net-server.db", "mqtt": {"host": "127.0.0.1", "enabled": true, "port": 1883}, "lora": {"rx1DatarateOffset": 0, "frequencyBand": 868, "nodeQueueSize": 16, "enabled": true, "rx2Datarate": 12, "frequencySubBand": 1, "maxTxPower": 26, "frequencyEU": 869500000}, "network": {"key": "", "leasetime": 86400, "name": "GATEWAY1", "passphrase": "lorapass", "eui": "1122334455667788", "public": true}, "msg": {"chan": 5, "datr": "SF7BW125", "freq": "868", "lsnr": "85", "modu": "LORA", "eui": "00:11:22:33:44:55:66:77", "payload": "hi rn2483"} }
I set the appeui as “1122334455667788” and deveui as “0011223344556677” and the otaa join is always denied. What is wrong with this setting?
Is this network eui means appeui as mentioned in the protocol specification?
Thanks,
-
This reply was modified 9 years, 5 months ago by
Kyle Zhang.
-
This reply was modified 9 years, 5 months ago by
Kyle Zhang.
-
This reply was modified 9 years, 5 months ago by
-
AuthorPosts