James Coleman
Forum Replies Created
-
AuthorPosts
-
James Coleman
ParticipantBrandon,
I changed the ip address and gateway on my Conduit so I could connect to my work network through a wireless Linksys router. I am able to connect to the Conduit via ssh and ping the Conduit across my network. Also able to send data packet from the LoRA mdot to the Conduit.
I loaded the sample Node.js application. Now I don’t see a data packet coming back from Conduit to LoRA mdot.
Any idea why the Node.js application is not working across my work network?
Thanks,
James
James Coleman
ParticipantBrandon,
I need some clarification on sending packets from the Conduit to the mDot LoRA.
When I issue the following Conduit command (root@mtcdt:/home# mosquitto_pub -t lora/00:80:00:00:00:00:9c:c7/down -m ‘{ “data”:”aGVsbG8gd29ybGQ=” }’ to send data to the mDot LoRA, what data should I see on the mDot LoRA console and what do I do to see the data sent from Conduit?After I send a packet from mDot LoRA to Conduit, I have been entering the command at+recv on mDot LoRA platform and I receive the following information.
at+recv
hello worldOK
Is “hello world” the data that is being transmitted from Conduit to mDot LoRA?
Thanks,
James
James Coleman
ParticipantBrandon,
I am now seeing the packets that I send from the mDoT LoRA to the Conduit when using the mosquitto utility. Information that I am receiving is shown below.
root@mtcdt:/# mosquitto_sub -t lora/+/up
{“chan”:2,”cls”:0,”codr”:”4/5″,”data”:”aGVsbG8gd29ybGQ=”,”datr”:”SF9BW125″,”freq”:”912.3″,”lsnr”:”14″,”modu”:”LORA”,”rfch”:0,”rssi”:-21,”seqn”:6,”size”:16,”timestamp”:”2015-10-02T10:42:24Z”,”tmst”:1378025308}{“chan”:2,”cls”:0,”codr”:”4/5″,”data”:”amFtZXMgY29sZW1hbg==”,”datr”:”SF9BW125″,”freq”:”912.3″,”lsnr”:”-0.2″,”modu”:”LORA”,”rfch”:0,”rssi”:-75,”seqn”:7,”size”:20,”timestamp”:”2015-10-02T10:42:55Z”,”tmst”:1408365068}
{“chan”:7,”cls”:0,”codr”:”4/5″,”data”:”ZGVib3JhaCBjb2xlbWFu”,”datr”:”SF9BW125″,”freq”:”913.3″,”lsnr”:”13″,”modu”:”LORA”,”rfch”:1,”rssi”:-23,”seqn”:8,”size”:20,”timestamp”:”2015-10-02T10:43:33Z”,”tmst”:1447168164}
James Coleman
ParticipantBrandon,
Thanks for the information.
I executed the command: tail -f /var/log/lora-network-server.log in
the Conduit ssh command window.I then executed the command below in the mDoT LoRA command shell to send the packe “hello world” to the Conduit.
at+send=hello world
OK
The following information was displayed in Conduit ssh shell. It appears that the Conduit is receiving the packet from the mDoT LoRA based on information provided below. I do so at end of the output shown below that I am getting
Recv’D Frame failed CRC check
Why am I getting this failure message??My mDot LoRA has the following firmware and libm software versions installed.
ati
MultiTech mDot
Firmware: 0.1.4
Library : 0.0.9The Conduit has the following firmware installed.
root@mtcdt:/# opkg list | grep lora
lora-network-server – 0.0.8-r0.0
lora-packet-forwarder – 1.4.1-r8.16
lora-query – 0.0.1-r0.0The Conduit has the following mlinux version installed.
root@mtcdt:/# cat /etc/mlinux-version
mLinux 3.1.0
Built from branch: (detachedfrom4fd069b)
Revision: 4fd069b97a2354995920b52f731d661f0bacb39aBased on this version information, should mosquitto be working properly?
Are these software versions compatible?10:22:7:16|INFO| Transmit message 179 bytes
10:22:37:901|INFO| Parsing 1 rx packets
10:22:37:902|WARNING| Recv’d frame failed CRC check
10:22:6:112|INFO| Addr: 00:00:00:01 MIC Check: passed
10:22:6:125|INFO| Packet accepted from Node 00:00:00:01 GW 00:80:00:00:00:00:9b:cc (127.0.0.1) Seq# 5 ADR disabled SF9BW125
10:22:6:125|INFO| Schedule TX Time on air: 150 ms
10:22:6:127|INFO| SeqNo: beec2930 PrevSeqNo: 00000005 Duplicate: yes10:22:6:127|INFO| Addr: 00:00:00:01 MIC Check: passed
10:22:6:128|INFO| Duplicate Packet accepted from Node 00:00:00:01 GW 00:80:00:00:00:00:9b:cc (127.0.0.1) Seq# 5 ADR disabled SF9BW125
10:22:6:128|INFO| Schedule TX Time on air: 150 ms
10:22:6:128|INFO| Using RX window 2 : 00:00:00:01
10:22:7:10|INFO| Frame transmitted to 00:00:00:01 via GW (00:80:00:00:00:00:9b:cc Chan LC5 127.0.0.1:49940) Seq# 6
10:22:7:16|INFO| Transmit message 179 bytes
10:22:37:901|INFO| Parsing 1 rx packets
10:22:37:902|WARNING| Recv’d frame failed CRC checkJames Coleman
ParticipantBrandon and Jason,
Thanks for your help. I am now able to join the network from my mDot Lora card.
James
James Coleman
ParticipantBrandon,
I figured out how to do it. I download Winscp and used this utility to copy the files over to the Conduit.
Thanks,
James
James Coleman
ParticipantJason or Brandon,
I have one additional question for you. I am using a windows 7 professional computer and not a linux computer. I downloaded the most recent lora-packet-forwarder and lora-network-server files from the Downloads page.
They are stored in a directory on my Windows PC. How do I use the linux SCP command to copy both of the packages to the Conduit?
Thanks,
James
-
This reply was modified 9 years, 7 months ago by
James Coleman.
James Coleman
ParticipantJason,
Thanks for the information you provided. Provided below are the version numbers for the lora-network-server, lora-packet-forwarder and lora-query.
lora-network-server – 0.0.3-r0.0
lora-packet-forwarder – 1.4.1-r7.0
lora-query – 0.0.1-r0.0Based on this information, am I not able to join the network with my mDot because I don’t have the correct versions of the lora-network-server and lora-packet-forwarder installed?
Thanks,
James
-
This reply was modified 9 years, 7 months ago by
-
AuthorPosts