148 questions
0
votes
0
answers
65
views
OTAA join fails for ESP32 node using RadioLib (IN865)
I’m trying to connect an ESP32 + SX1262 node to my ChirpStack 1.1 server in IN865 region using RadioLib (LoRaWAN 1.1 OTAA), but OTAA fails with error -1116 (RADIOLIB_ERR_NO_JOIN_ACCEPT).
Setup
ESP32 ...
0
votes
0
answers
20
views
Azure IoT Hub FUOTA
I have a following setup, an end-device communicating via LoRaWAN with a gateway that is connected over Wi-Fi/Ethernet/Cellular to The Things Network that is aciting as a Network Server (managing ...
0
votes
1
answer
73
views
B-L072Z-LRWAN1 SX1276 DIO pins mapping - Need verification
Problem Description
I'm working with the B-L072Z-LRWAN1 development board and trying to configure the SX1276 LoRa transceiver DIO pins manually (without using ST's HAL middleware). I want to use an ...
0
votes
1
answer
66
views
Microchip WLR089 ASF LoRaWAN library initialization
I'm trying to implement a minimal LoRaWAN setup for my WLR089 Xplained PRO. I've set up a simple project using the ASF wizard in Microchip studio 7. I have all the necessary libraries included for my ...
2
votes
0
answers
60
views
ESP32 + 9DOF+ RFM95W + Deep Sleep with LoRaWan
I have developed a LoRaWAN sensor that transmits its data to TTN. The hardware is based on an ESP board. The software for the sensor is written using the Arduino IDE and is based on the LMIC library.
...
3
votes
1
answer
280
views
Class C LoRaWAN implementation
I am trying to create code for message exchange via LoRaWAN using a Raspberry Pi Pico with an SX1262 hat link. Initially, the project only involved sending messages at regular intervals without the ...
0
votes
1
answer
94
views
How to change default device_eui, epp_eui, app_key from the program?
I have my custom project on the LoRa RAK3172 module.
To set the DevEui, JoinEui & Appkey I have to set default as
uint8_t default_dev_eui[8] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
...
0
votes
0
answers
145
views
Issue with Writing to Flash Memory on STM32WLE5 After Receiving LoRa Data
I’m working with an STM32WLE5 microcontroller, using code generated by STM CubeMX. My project incorporates LoRaWAN modules, follows the EndNode skeleton, and utilizes FreeRTOS (CMSIS V2.0). The common ...
0
votes
0
answers
71
views
Esp32-SE transmitter Lo-Fi (LoRaWan)
I have an "ESP32-SE Lo-Fi"
I need to use the internal antenna of this ESP to send data to a database (LoRaWan)
The database is not made by me but I'm sure it works.
I have tried to use this ...
0
votes
1
answer
67
views
How can I manipulate the syntax of an AT command and assign a method value in Python?
print(bytes(npArray))
print(bytes(npArray).hex())
ser.write(b'AT+DTRX=0,2,16,00003f0101007a00\r')
response = ser.read(100)
print(response.decode())
I have the above snippet in Python, which delivers ...
0
votes
0
answers
236
views
How do I decode the LoRaWAN payload in AWS IoT Core sent by RadioLib?
I am sending a 3-byte payload from LoRa ESP32 using Arduino to program the MCU. I am successfully connecting to AWS IoT Core for LoRaWAN and publishing my uplink payloads to a topic. However, when I ...
0
votes
1
answer
139
views
Custom Join request on LoRaWAN End Node STM32L0
I want to make my end node send join requests to the gateway continuously.
My goal is to send join requests continuously until the end node connected to the gateway, and if the connection is broken ...
1
vote
0
answers
536
views
Waveshare SX1262 LoRaWAN Hat
Does anyone know a Python library to communicate with a Waveshare SX1262 LoRaWAN Node Module?
My goal is to communicate over LoRa(WAN?) from one to another Raspberry Pi. As those hats do have an SPI ...
1
vote
1
answer
160
views
Deployment Issue with ChirpStack and Helium: GRPC Permission Denied Error
I am currently encountering an issue while deploying ChirpStack and Helium using the repository provided by disk91 (https://github.com/disk91/helium-chirpstack-community). During the deployment, I ...
0
votes
0
answers
235
views
SX126x Get RX payload size
I am using the SX1262 for receiving packets with EXPLICIT_HEADER_MODE enabled (the header is present). I have the latest libraries from Semtech (link). The problem is that when I receive data, the ...
1
vote
0
answers
58
views
How can I capture packets on devices with OneShotSenderHelper (signetlabdei / LoRaWAN module) application installed in ns3?
I'm trying to capture and save LoRaWAN packets into a pcap file. But I can't seem to get it to capture the packets. I am very new to ns3 and to the open source LoRaWAN module for ns3.
I want to ...
0
votes
1
answer
239
views
What is the tenant ID for The Thing Network au1 region?
I have created an application in my TTN account. The region is Australia 1(Sydney).
I want to integrate this application with AWS iOT core for LoraWan. Following TTN integration guide, I was ...
0
votes
1
answer
379
views
LoRa ESP32 V2 board ("Core 1 panic'ed")
I just received 2 LoRa ESP32 boards that I ordered just for fun testing. However, one of them has a weird issue. Having the "factory-example" the board comes with, one of them works just ...
-2
votes
1
answer
75
views
The Things Stack | LoRaWAN AppEUI [closed]
I'm try to set up an end device on (The Things Stack) and I'm not sure about the AppEUI.
Now I have a problem: where to get that AppEUI? Should it be common to each end node (I guess it should)? ...
0
votes
1
answer
395
views
I want to send data to Azure IoT hub through Chirpstack
I want to send the data to Azure IoT hub through Chirpstack.
https://www.chirpstack.io
Gateway->MQTT->Chirpstack->Azure IoT Hub
It's not compulsory to use Chirpstack MQTT Forwader, we're ...
-1
votes
1
answer
166
views
Decode payload sent from TN via Cocoa MQTT library
I'm learning and trying to design a simple app that gets data from The Things Network, but I'm having trouble trying to decode the payload retrieved from message.payload in
func mqtt(_ mqtt: CocoaMQTT,...
0
votes
1
answer
152
views
Problem receiving join requests and connection status from LoraWAN gateway inside AWS IOT Core LPWAN
I'm using AWS IOT Core to receive LoraWAN packets with a RAK7289 LoraWAN gateway.
I was able to configure the gateway, the device, the device profile and the device destination through an MQTT topic ...
1
vote
0
answers
192
views
Olimex Lora-STM32WL-devkit + STM32CubeIDE = "Could not verify ST device!" How to check if device is genuine?
Devkit is not recognized as a genuine ST Device!
OpenOCD gives:
openocd -f interface/cmsis-dap.cfg -c "cmsis_dap_vid_pid 0x15ba 0x0044" -c "transport select swd" -c "adapter ...
0
votes
1
answer
268
views
Decoder with LMIC and Chirpstack
I'm having a problem with the decoder I'm using. Using my ESP32 I'm encoding my value with the following code:
float Energia;
int sensorValue = Energia *100;
Serial.println("Reading is:" );
...
1
vote
0
answers
84
views
LoRa and LoRaWAN simulator
Which simulator is suitable for energy harvesting in LoRaWAN? Is it possible to use LoRaSIM to simulate energy harvesting aided LoRa?
I tried to use LoRaSIM but I couldn’t find anything related to ...
0
votes
1
answer
79
views
Long Range Mesh for Embedded Devices
I have a project where I need to deploy a cluster of 20 embedded devices. Each device has an embedded microcontrollerr (nRF52840) with a 64MHz Cortex M4 processor. The devices will be spaced 100 - ...
-1
votes
1
answer
205
views
Run a program on XIAO SAMD21 + LoRa-E5 via serial with external power supply
I need to send data through LoRaWAN and I'm using the excellent LoRa-E5 module for this:
https://wiki.seeedstudio.com/LoRa_E5_mini/
I can send data to my public network by typing a couple of AT ...
0
votes
1
answer
326
views
LoRa Dragino hat packet sniffer
I have a LoRa gateway and an end-device connected on Chirpstack. I am trying to sniff the packets sent from the end-device to the gateway. I am using a Dragino LoRa hat with a Raspberry Pi. I tried to ...
0
votes
1
answer
142
views
Properly Create a Device Template from a Live Device in Azure IOT Central
I have LoRaWAN IoT devices from the TTN network, which I have brought to Azure IoT Central. I would like to get specific data inside the JSON in order to make alert rules. Here is a sample of the JSON ...
0
votes
1
answer
147
views
FiPy gateway not receiving uplinks from Raspberry Pi Pico with sx1262 module LoRa node
I'm trying a setup for LoRa with a FiPy board as a gateway/forwarder and a Raspberry Pi Pico with the Waveshare sx1262-686m hat for LoRa.
The FiPy is listening on the 868.1 Mhz frequency (EU868) and ...
2
votes
1
answer
1k
views
Lora packet data is encoded as hex string but decoding to ASCII is showing nonsense
I am using 2 LHT65N sensors, a Wisgate Edge Lite 2 Gateway, forwarding the payload to a Mosquitto broker, and to display data I am using mqtt.js.
I am receiving packets from the sensors and the data I ...
0
votes
2
answers
395
views
AWS IoT Core for Lambda event missing data
I have a TEKTELIC smart room sensor connected to AWS IoT Core for Lambda. The destination publishes to a topic. In the MQTT test client I get a nicely formed message:
{
"WirelessDeviceId": ...
1
vote
0
answers
499
views
How to get the device uplink data in golang using Chirpstack application server API?
I want to get the LoRaWAN uplink data from my local side. I use the Chirpstack API to achieve that. But I can only see the downlink FCnt from the example code. Can any one give me a hand?
This is the ...
0
votes
1
answer
203
views
What LoRa port do I use to send downlinks to an Eastron SDM630 LoRaWan meter?
I have an Eastron SDM630 LoRaWan meter where the AppEUI, DevEUI, and AppKey have been correctly entered, and where the meter read-out confirms that it is linked to my gateway.
I've been given a link ...
1
vote
2
answers
1k
views
How to connect LoRaWAN gateway to Azure IoT (Edge) Hub?
I'm trying to build a LoRaWAN Infrastructure using the Azure IoT Hub. For that I have set up an Azure IoT Edge on a virtual machine.
I want to connect gateways to that IoT Edge. How can I achieve this?...
1
vote
2
answers
115
views
Node red result data
I have a simple question :
Using node-red, I have a result in this format: [{}], but I want it like this {}.
Could you please help me?
Thanks in advance.
1
vote
1
answer
2k
views
Create a LoRaWAN gateway server [closed]
I'm looking for a solution to create my own LoRaWAN gateway that can also be the server.
I would like to get data from any classic LoRaWAN sensor to my own gateway, decrypt and store them locally ...
1
vote
1
answer
2k
views
How to decode LoRaWAN payload?
I am currently connecting to Wanesy Management Center.
Every device provides me data with a payload.
I can access data such as:
device EUI A81758FFFE0463D4
device addr 021C4EC6
application EUI ...
0
votes
0
answers
491
views
TTN V3 (MQTT JSON) -> Telegraf -> Grafana / Sensor data from Dragino LSE01 does not apear
I have a problem with Telegraf. I have a Dragino LSE01-8 sensor which is registered on TTN v3. I can check the decoded payload by subscribing to the topic "v3/lse01-8@ttn/devices/+/up".
But ...
0
votes
1
answer
503
views
How to read the WhoAmI register of an ST-sensor during both initialization of the program (works) and repeatedly during LoRaWAN duty cycle (doesn't)?
I have been trying to program an STM32WL55JC1 microcontroller on a LoRa-E5-Mini from Seeed studio to be a LoRaWAN endnode and relay airpressure data from an ST LPS22HH sensor to The Things Network.
I ...
0
votes
1
answer
762
views
Encode LoRaWAN packet
I have a system based on the LoRaWAN network. It gets the information from the Base64 encoded gateway. I need to decode it from NwkSKey and AppSKey into a valid HEX package. It is not about the simple ...
0
votes
1
answer
540
views
Python LoRa MQTT with Paho Mqtt NameError: name 'payload' is not defined
I created a packet-forwarding script on my Raspberry Pi LoRa gateway to forward packets to a broker through MQTT using the Paho mqtt Python library. I managed to do the packet forwarding using my own ...
0
votes
1
answer
504
views
Can't set the application port to run LoRaWAN certification tests
I'm trying to run LoRaWAN 1.0.4 certification tests on my mDot using LCTT Pre-testing Tool.
I use the latest Dot-AT-Firmware and libmDot v4.0.1.
Looking at the source code (line 918), I added ...
0
votes
1
answer
582
views
Why can't I integrate the CubeMX USB MSC code into the default end-node I-CUBE-LRWAN project?
I want to add USB MSC (Mass Storage Class, so USB storage drive) functionality to my Murata B-L072Z-LRWAN1 board. For this I have used the most recent I-CUBE-LRWAN end-node project and generated USB ...
0
votes
0
answers
523
views
Send a downlink message to TTN via thingsboard
I have integrated thingsboard and ttn to view uplink messages and creating dashboards. I'm interested in sending downlink messages as well. The examples I read ,take input from the uplink and add it ...
-1
votes
1
answer
1k
views
Javascript: Hex to String without converting to ascii, int or xyz
I have a byte array.
sensor_id = [bytes[36],bytes[35],bytes[34],bytes[33]]
It holds the following hexadecimal values:
0x69, 0x72, 0x33, 0x88
I need to merge 69 72 33 88 into a string value without ...
1
vote
1
answer
250
views
LoRaWAN OTAA TTN Timedout with Gateway capturing the message
I try to set up an end node in LoRaWAN.
I use the board b_l072z_lrwan1 from ST Microelectronics with Zephyr OS.
I use PlatformIO on VSCode.
I use the code available on GitHub at https://github.com/...
0
votes
1
answer
1k
views
Decoding LoRaWAN packets (Join-Accept)
I am trying to understand how the join-accept message is handled on the microcontroller side. In the image below the captured packet from the network server to the LoRaWAn sensor. The incoming message ...
0
votes
3
answers
258
views
Can cellular SIM be part of a LoRa network?
I am doing my FYP and for this I need some information:
Is it possible to connect a mobile with a LoRa Network via cellular SIM?
Actually, I want to build a mobile software that will operate with a ...
0
votes
1
answer
564
views
I use a LoRa-SX1278 on attiny44 (A) and my SPI connection is unstable. Sometimes the node sends the frames, and other times it doesn't
I used different new components and it did not change anything.
I also added a 16 Mhz crystal to have a more precise clock. it made things a little better.
Maybe it's a question of power? The lora is ...