Git Product home page Git Product logo

lora-node's Introduction

# Using the toolchain mbed-cli for development
source: https://github.com/ARMmbed/mbed-cli#using-mbed-cli

How to use:
    mbed deploy //Download libraries into project folder
    mbed compile //Compilation of project
    mbed detect // show available targets and toolchains to use

Updating

Serial Communication with a PC:
    Windows - Look under the "Ports" section in "Device Manager" (''Start -> Control Panel -> System -> Hardware -> Device Manager''). The name will be ''mbed Serial Port (COMx)'', where ''x'' is the number of the COM port allocated.
    Mac OS X - Use the command ls /dev/tty.usbmodem*
    Linux - Use the command ls /dev/ttyACM*
    source: https://developer.mbed.org/handbook/SerialPC

    settings: vt100, 115200 baud, flow control=none
    --> F3 for view

Semtech SX1272 library & examples
    source: https://developer.mbed.org/components/SX1272MB2xAS/
    - LoRaWAN-demo-72:
        Device EUI:         1122334455667788
        Application EUI:    0000000000000000
        Application key:    2b7e151628aed2a6abf7158809cf4f3c
        source: https://developer.mbed.org/teams/Semtech/code/LoRaWAN-demo-72/
        
        data:
        {"reference": "abcd1234","confirmed": true,"devEUI": "0202020202020202","fPort": 10,"data": "...."}

        Command line mosquitto clien:
        Listen packet (rx):
            mosquitto_sub -t "application/1/node/+/rx" -v -d
            source: https://docs.loraserver.io/loraserver/receiving-data/
        Send packet (tx):
            mosquitto_pub -t "application/1/node/1122334455667788/tx" -m "{ \"reference\" : \"0754bf86\" , \"confirmed\" : true, \"devEUI\" : \"1122334455667788\", \"fPort\" : 15 , \"data\": \"PING\"}" -d
            source: https://docs.loraserver.io/loraserver/sending-data/

            { "reference": "abcd1234", "confirmed": false, "devEUI": "1122334455667788", "fPort": 1}
Other LoRa implementations
- EMCU
    source: http://www.emcu.eu/lora/

REMARKS:
- Own program not sending packets over LoRa network
    solution: custom led indicator interfering with communication with LoRa shield(SX1272MB2xAS)
    pin PA_5 is used for LED1 as well as for SPI interface LoRa shield

- Crypto additions in libs:
    solution: LoRaMac.cpp, if fPort is 255 then HeComm crypto is used (line 3041 & 1257)

lora-node's People

Contributors

joriwind avatar

Watchers

James Cloos avatar  avatar

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.