SX1276/77/78/79 LoRa docs

Posted on
  • Hi 👋!

    I'm playing around with the SX1276/77/78/79 LoRa module--which works very nicely by the way--and it contains a Reference section with a list of prototype functions. Is there anywhere I can find more information about these?

    More specifically I'm trying to switch between TX and RX mode on the fly, and my first guess was that the setOpMode-function had something to do with that, but as I said, I can't find any information on how to use it.

    Thanks!

    /RJ

  • Oh, I solved my issue, so never mind the docs 😁.

  • Take a look at the source code, might help: https://github.com/espruino/EspruinoDocs­/blob/master/devices/SX127x.js
    IIRC it's just sx.tx(...), and sx.rx(...), but could be wrong...
    If you have the time to add some more docs / tutorial, just send a PR :)

  • Thanks :). Would love to contribute some day!

  • Glad you got it sorted!

    Just for future, most module pages (eg http://www.espruino.com/SX127x) say something like:

    Espruino's SX127x (About Modules) module ...

    If you click on SX127x it'll take you to the source - which is generally what the reference section is generated from anyway.

  • Wonderful--good to know 👍!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

SX1276/77/78/79 LoRa docs

Posted by Avatar for user114366 @user114366

Actions