Reception problem

Home Forums Conduit: AEP Model Reception problem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19239
    Alex Fernandes
    Participant

    Hello,

    I’m running an LoRaWAN application, I’m using a LoRaWAN module (RN2483) with a Raspberry Pi3, so I’m using the UART liaison to communicate.

    I’m triyng to communicate with a LoRaWAN Gateway, the MultiConnect Conduit – Application Execution Platform _ MTCDT-210A Firmware 1.4.1, but when I send a little “Hello World” with the RN2483 module I saw on the gateway logs : “May 22 15:37:51 mtcdt user.warn lora-network-server: GW:00:80:00:00:00:00:c2:fa|FRAME-RX|REJECTED|REASON: Frame too short VALUE: 58”. I’m sending the message with the command “radio tx 48656c6c6f20776f726c64”, 48656c6c6f20776f726c64 means “Hello world” in hex.
    I didn’t know where this problem come from.

    If someone can help me, it will be appreciated.

    Thanks for your replies.

    A.F

    #19243
    Jason Reiss
    Keymaster

    radio tx bypasses the LoRaWAN mac layer and is preforming a raw TX of the data provided using LoRa modulation.

    When the data is received it is not in LoRaWAN protocol format. Minimum size of a LoRaWAN packet is 12 bytes, hence the error “Frame too short”.

    Use the “mac tx” command instead after performing OTA or ABP activation to communicate with the gateway.

    #19267
    Alex Fernandes
    Participant

    Hello,

    Thanks to you for this replie.

    I have one more question, I have 3 fields in the mac tx command, and what is the portno filed ? The gateway didn’t listening on all channels ?
    This information is a bit blurring for me..

    And when I send something like a “Hello wolrd”, the gateway replied to me :

    mac tx uncnf 1 48656c6c6f20776f726c642030
    ok
    mac_tx_ok
    mac tx cnf 1 48656c6c6f20776f726c642030
    ok
    mac_err

    I have tried with few portno but I got already the replies..

    This is my initialisation :

    config.append("sys reset\r\n")
    config.append("radio set mod lora\r\n")
    config.append("radio set pwr 14\r\n")
    config.append("radio set sf sf12\r\n")
    config.append("radio set afcbw 125\r\n")
    config.append("radio set fdev 5000\r\n")
    config.append("radio set prlen 8\r\n")
    config.append("radio set crc on\r\n")
    config.append("radio set cr 4/5\r\n")
    config.append("radio set wdt 0\r\n")
    config.append("radio set sync 12\r\n")
    config.append("radio set bw 250\r\n")
    config.append("mac reset 868\r\n")
    config.append("mac set pwridx 5\r\n")
    config.append("mac set dr 5\r\n")
    config.append("mac set adr off\r\n")
    config.append("mac set deveui 7766554433221100\r\n")
    config.append("mac set appeui 0011223344556677\r\n")
    config.append("mac set nwkskey 00112233445566777766554433221100\r\n")
    config.append("mac set appskey 77665544332211007766554433221100\r\n")
    config.append("mac set devaddr " + devaddr + "\r\n")
    
    config.append("mac set ch freq 3 869100000\r\n")
    config.append("mac set ch freq 4 869300000\r\n")
    config.append("mac set ch freq 5 869500000\r\n")
    config.append("mac set ch freq 6 869700000\r\n")
    config.append("mac set ch freq 7 869900000\r\n")
    config.append("mac set ch dcycle 3 302\r\n")
    config.append("mac set ch dcycle 4 302\r\n")
    config.append("mac set ch dcycle 5 302\r\n")
    config.append("mac set ch dcycle 6 302\r\n")
    config.append("mac set ch dcycle 7 302\r\n")
    config.append("mac set ch drrange 3 0 5\r\n")
    config.append("mac set ch drrange 4 0 5\r\n")
    config.append("mac set ch drrange 5 0 5\r\n")
    config.append("mac set ch drrange 6 0 5\r\n")
    config.append("mac set ch drrange 7 0 5\r\n")
    config.append("mac set ch status 3 on\r\n")
    config.append("mac set ch status 4 on\r\n")
    config.append("mac set ch status 5 on\r\n")
    config.append("mac set ch status 6 on\r\n")
    config.append("mac set ch status 7 on\r\n")
    config.append("mac save\r\n")
    
    config.append("mac join abp\r\n")

    And this is my gateway configuration :
    Gateway Configuration

    I am working in EU region.

    I didn’t know what is my problem..

    Thanks for your replies.

    A.F

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.