arduino-lmic icon indicating copy to clipboard operation
arduino-lmic copied to clipboard

Asian LoraWan module

Open tcpipchip opened this issue 3 years ago • 6 comments

Describe your question or issue

I am porting the MCCI to some asian modules.

// Pin mapping const lmic_pinmap lmic_pins = { .nss = RADIO_NSS, .rxtx = LMIC_UNUSED_PIN, .rst = RADIO_RESET, .dio = {RADIO_DIO_0, RADIO_DIO_1, RADIO_DIO_2}, };

Please give a clear and concise description of the problem you're facing and what you'd like help with.

Only to know the meaning for this message, becasue the message reach the server, but...looks that MCCI is waiting for something

EV_TXCOMPLETE (includes waiting for RX windows)

image

Environment

This information is very important; it's hard to help without a complete set of answers.

  • Version of LMIC being used. If using the latest github mainline, let us know, otherwise state the version. Updated verson!
  • Version of Arduino IDE being used: Updated!
  • Network provider (The Things Network, Swisscom, ChirpStack, etc.) TTN
  • Region (EU868, US915, etc.) AU915
  • Board (MCCI Catena, Adafruit Feather M0, Heltec Wi-Fi LoRa 32 v2, etc.) ASIA BOARD
  • Radio (HopeRF, SX1276, etc.) SX1276

tcpipchip avatar Jun 26 '21 13:06 tcpipchip

getting progress here! image How can i ask to make and confirmation in my uplink data payload ?

tcpipchip avatar Jun 27 '21 13:06 tcpipchip

is this right ? image

tcpipchip avatar Jun 27 '21 13:06 tcpipchip

Getting more and more progress here :)

tcpipchip avatar Jun 27 '21 22:06 tcpipchip

Hi, my port to Asia Module (LOM204) looks that is working! I can make uplink and downlink but...

But i have a question

Packet queued 58445192: EV_TXCOMPLETE (includes waiting for RX windows) 59386563: EV_TXSTART Temperature: 13 Humidity 55 Packet queued 59541443: EV_TXCOMPLETE (includes waiting for RX windows)

After the EV_TXCOMPLETE message, should i receive the "Received ack" message ?

if (LMIC.txrxFlags & TXRX_ACK) Serial.println(F("Received ack"));

Must i config something else ?

tcpipchip avatar Jun 29 '21 12:06 tcpipchip

Finally got the ACK! LMIC_setTxData2(1, mydata, sizeof(mydata)-1, true); //ask for ack (true) Running 100% on LOM204 :) Next step is to find out why consumptions is 8mA

tcpipchip avatar Jun 30 '21 11:06 tcpipchip

Ported now to VISUINO

https://lom204-cli-wisol.blogspot.com/2022/01/importante-opcao-nao-oficial-da-wisol.html

tcpipchip avatar Jan 20 '22 11:01 tcpipchip