Comments (19)
Compilation error (.literal._Z7freeMemv+0x0): undefined reference to __brkval'
, (.literal._Z7freeMemv+0x4): undefined reference to __heap_start'
could be resolved changing freeMem()
function to
int freeMem() {
return ESP.getFreeHeap();
}
from lora-mesh.
RadioHead implements the mesh networking. It sends route discovery messages to determine how nodes are connected. If you want to understand mesh networking, study the RadioHead library.
from lora-mesh.
hello I also have the same mistake you could solve it
from lora-mesh.
Hi I had this problem too with the ESP32
from lora-mesh.
@pablocaol / @fmc5046 i got the same error, i had to remove the freemem function completely from the code to get it compiled. But after compilation i have my ESPs have a kernel panic (GuruMeditation). It happens as soon as the updateRoutingTable function is called. if i remove the call to UpdateRoutingTable function then the loop() runns OK, obviously not worth anything because routing table not displayed...
from lora-mesh.
@prlombaard did you ever manage to rectify this problem? I have the same issue. The exact function that it fails on is routes[n-1] = route->next_hop
I cant seem to find where this pointer is referencing, which is possibly why its crashing. If you did rectify it I would love to know.
Thanks
from lora-mesh.
I'm also getting this same issue. I'm attempting to use this on a TTGO T-Beam which is ESP32 based. I have hardcoded the nodeId as 2 on one of my boards to test. It appears that the line "manager = new RHMesh(rf95, nodeId);" isn't initialising as I'm getting the "init Failed" warning. Could this be part of the issue?
from lora-mesh.
#elif RH_TEST_NETWORK==3
where we put this command?
from lora-mesh.
how does the board create a table in the first stage?
from lora-mesh.
If you want to use a test network, define the constant in your code so that the Radiohead library knows which network topology to use.
#define RH_TEST_NETWORK 3
Please study the code and Radiohead before you post comments here. These are not defects in my project. Github issues lists are not a help forum.
from lora-mesh.
@badaniels I also cannot get it to work. Removing the line routes[n-1] = route->next_hop
prints the table but table does not update. Have you resolved this issue? Would appreciate some help here. Thanks!
from lora-mesh.
when we transfer the message from one node to another node how to send that message using this mesh code?. I don't see the message any message send code in the mesh code.
from lora-mesh.
This code demonstrates the mesh networking implemented in RadioHead. This code does not implement mesh networking. To send a message through the mesh, use sendToWait, just like this demo shows.
from lora-mesh.
what kind of algorithm did you use to get the routing table?
from lora-mesh.
Hello, when I execute this on ESP32 TTGO, I have the next problem:
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
initializing node done
RF95 ready
mem = 354672
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x400d1051 PS : 0x00060f30 A0 : 0x800d1176 A1 : 0x3ffb1f40
A2 : 0x00000002 A3 : 0x3ffc038d A4 : 0x3ffc0386 A5 : 0x3ffc0250
A6 : 0x00000001 A7 : 0x00000000 A8 : 0x00000002 A9 : 0x00000001
A10 : 0x00000000 A11 : 0x00000002 A12 : 0x0000000a A13 : 0x00e4c000
A14 : 0x7ff00000 A15 : 0x7ffc9800 SAR : 0x0000000e EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000001 LBEG : 0x400ed53c LEND : 0x400ed559 LCOUNT : 0x00000000
Backtrace: 0x400d1051:0x3ffb1f40 0x400d1173:0x3ffb1f60 0x400d571d:0x3ffb1fb0 0x40088db5:0x3ffb1fd0
Someone know how to fix?
from lora-mesh.
@prlombaard did you ever manage to rectify this problem? I have the same issue. The exact function that it fails on is
routes[n-1] = route->next_hop
I cant seem to find where this pointer is referencing, which is possibly why its crashing. If you did rectify it I would love to know.
Thanks
Not sure if you had any luck again, sorry i dropped this project, life happened, will have to fire up the things again to have a look. Maybe the latest release of RadioHead fixes this issue.
from lora-mesh.
Hello, when I execute this on ESP32 TTGO, I have the next problem:
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5816 entry 0x400806ac initializing node done RF95 ready mem = 354672 Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x400d1051 PS : 0x00060f30 A0 : 0x800d1176 A1 : 0x3ffb1f40 A2 : 0x00000002 A3 : 0x3ffc038d A4 : 0x3ffc0386 A5 : 0x3ffc0250 A6 : 0x00000001 A7 : 0x00000000 A8 : 0x00000002 A9 : 0x00000001 A10 : 0x00000000 A11 : 0x00000002 A12 : 0x0000000a A13 : 0x00e4c000 A14 : 0x7ff00000 A15 : 0x7ffc9800 SAR : 0x0000000e EXCCAUSE: 0x0000001c EXCVADDR: 0x00000001 LBEG : 0x400ed53c LEND : 0x400ed559 LCOUNT : 0x00000000
Backtrace: 0x400d1051:0x3ffb1f40 0x400d1173:0x3ffb1f60 0x400d571d:0x3ffb1fb0 0x40088db5:0x3ffb1fd0
Someone know how to fix?
Yes... Check if (route == NULL) and (route->next_hop == NULL) before attempting to access them. If they are NULL, then do something sensible :-)
from lora-mesh.
Has anyone managed to compile the LoraMesh ino file on ESP32 successfully?
from lora-mesh.
Hope not to sound inappropriate... but if you want a 'super basic' example of the radiohead mesh library usage for esp32 you can follow this example: https://www.hackster.io/davidefa/esp32-lora-mesh-1-the-basics-3a0920 ( for ttgo/heltec lora boards )
from lora-mesh.
Related Issues (16)
- Arduino Nano stuck in sendtoWait()!
- Not getting signal strength of nodes HOT 1
- Example with arduino-LoRa lib
- am also getting the same output NO ROUTE is found. Did you solved it ? any one can help me?
- lom204 (stm32l072+sx1276) HOT 3
- Few questions max nodes max hops
- mesh server node limit HOT 2
- Runtime Error in ESP8266 NodeMCU + RFM95 LoRa Module for Mesh Networking
- Limited amount of nodes in mesh network? HOT 2
- In both places it says "N_NODES" should I replace it with the max number of nodes in the network? HOT 1
- Great Project!
- Security of Lora Mesh Network HOT 1
- Is Lora Mesh Will Follow Duty Cycle Regulations HOT 1
- Lora mesh HOT 2
- diagram of esp32 with lora HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lora-mesh.