ifroglab / il-lora1272 Goto Github PK
View Code? Open in Web Editor NEWLoRa Module for Arduino, Raspberry Pi, PC, Mac,
Home Page: http://www.ifroglab.com/
LoRa Module for Arduino, Raspberry Pi, PC, Mac,
Home Page: http://www.ifroglab.com/
docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 07:25:30 2017
OS/Arch: linux/arm
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 07:25:30 2017
OS/Arch: linux/arm
Experimental: false
sudo docker pull ifroglab/loragateway:latest
latest: Pulling from ifroglab/loragateway
Digest: sha256:95b693b37dc807409cfd2c12d041b484a64492cf2248063a5de91731ccf64043
Status: Image is up to date for ifroglab/loragateway:latest
sudo docker run -p 80:80 -p 3306:3306 --device=/dev/ttyACM0 -i -t ifroglab/loragateway:latest /loragateway.sh
standard_init_linux.go:178: exec user process caused "exec format error"
how to set SF?
I can`t find where to set sf and what is default value of sf?
We are using the loop read example python script: ap-Lib-5-lora-LoopRead
, and we're experiencing some problems while receiving the data.
Basically, we are using a iFrogLab LoRa USB Gateway as a receiver and nRF52 Dev Board (with a Semtech LoRa SX1272 transceiver) as a sender. The sender sends data every 1 seconds, while the LoRa USB Gateway is receiving the data. The following is a snippet from the python script:
while True:
data=LoRa.FunLora_6_readPureData()
print ("{%d}" %(len(data)) + ",".join("{:02x}".format(x) for x in data))
time.sleep(1)
In the first iteration of the while loop, we send the respective commands to read from the iFrogLab LoRa USB Gateway device.
0xc1 0x06 0x00 0xc7
The response is as follows (which correspond to the data we send from the nRF52 board):
0xc1 0x86 0x22 0x19 0x63 0x19 0x00 0x00 0x07 0x08 0x0b 0x00 0x00 0x00 0x15 0x0e 0x00 0xe3 0x00 0xe0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x1a
However, for the subsequent iterations of the while loop, we get the following response from the device after sending the commands for reading (0xc1 0x06 0x00 0xc7
):
0xc1 0x86 0x02 0x00 0x00 0x45
If we restart the script again (reseting the iFrogLab LoRa USB Gateway device, configuring the modes, etc) we are able to get just one data packet again. Then, as before, all the subsequent packets are empty.
0xc1 0x86 0x02 0x00 0x00 0x45
We did the test on Windows and also on Linux, and the result is the same. Furthermore, we did a test using two iFrogLab LoRa USB Gateway, one acting as receiver and the other as sender, and everything works with that same script (ap-Lib-5-lora-LoopRead.py
).
Has the iFrogLab LoRa USB Gateway been tested for receiving data from other LoRa compatible devices?
Can anyone give us hand try to solve this issue?
請問ifrog的網站今天上不了,是因為伺服器更新還是其他原因呢?
We use the files in the library you have given
(IL-LORA1272/Samples-Arduino/Ver2/iFrogLabLoRaLibrary/sample03_Read_Broadcast/)
Some questions would like to ask you
Hope you can give me reply, Thanks
I purchased your USB Lora SX1272 device and am looking at your source code. Based on either the Arduino or Python examples I don't see anything more than just send/receiving test datasets in there. The ifroglab.py Python library has root functions for sending/receiving and actually it just appears to be reading/writing to the UART serial port.
Where is the source code or API for actually setting parameters in the device? For example, I am in the USA so I need to set the Lora frequency to be 915.0 MHz. An Arduino shield I have on another host has those types of settings in their library, as well as setting transmit power and other things.
From what I see, the source code for IL-LORA1272 just appears to be a test wrapper over the standard UART serial functionality...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.