Giter Club home page Giter Club logo

il-lora1272's People

Contributors

powenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

il-lora1272's Issues

standard_init_linux.go:178: exec user process caused "exec format error"

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?

how to set SF?
I can`t find where to set sf and what is default value of sf?

Data lost when receiving (just getting the first packet all other are getting lost)

We are using the loop read example python script: ap-Lib-5-lora-LoopRead, and we're experiencing some problems while receiving the data.

  1. We are only able to receive the first the transmission, after that all the subsequent packets are empty.
  2. We have to reset the device iFrogLab LoRa USB Gateway to receive more data. But as before, we only are able to get the one packet and the subsequent packets are empty.

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?

Arduino & IL-LORA1272 receive problem

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

  1. Sometimes the information received will be lost
  2. Received data will be retained, can not be cleared (try by reset & using memset can not), can only re-
    plug the power to clear
    3.error message appears frequently on Serial Monitor(Arduino)

Hope you can give me reply, Thanks

Demo Source Code Validity

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.