Comments (10)
Just a clarification. There can be more devices as long as they are not all connected. If you had information only going one way you could have a device connect, send data, then disconnect. And as long as you don't have too many simultaneous events that cause an overload then it should work.
from umqttbroker.
ESP32 is on my agenda, but currently I am really busy with my other life. This porting is mainly an issue for task and TCP conection handling.
The broker will clearly benefit from the additional RAM.
from umqttbroker.
The broker will clearly benefit from the additional RAM.
That was my thought. I also read that the maximum number of sockets for the ESP32 is 16. If that were the case for the uBroker, it would be able to handle everything I could want to connect.
I wish I had the knowledge to move this forward. My abilities are mainly on hardware design.
from umqttbroker.
@RudyFiero by 16 sockets did you mean 16 clients that the broker would be able to handle at a time on ESP32?
from umqttbroker.
Generally speaking, yes. A client uses a socket.
A network socket is an internal endpoint for sending or receiving data within a node on a computer network.
There are trade-offs. If the message sizes are large then memory can become a limiting factor.
from umqttbroker.
Hello Martin and other devs, I need to use your lib on a ESP32 device and I can try to port the lib. Could you give us any clue about what is causing the crash ?
from umqttbroker.
Three things have to be ported: tasking, TCP connections and IP-addresses:
- the lib uses NONOS SDK's task concept (an internal non-preemtive task, that is actiavted by events). This has to be ported to FreeRTOS task - probably a minor issue.
- the lib uses the "espconn"-routines for network interfacing. On the ESP32 this has been changed to sockets. This is a major issue to change.
- On the ESP8266 all addresses are IPv4 32-bit values. A proper ESP32 implementation should be able to handle IPv6, at least it should be aware of the proper types.
from umqttbroker.
Do you think it will be any easier to port it on Olimex ESP32-POE? We can make use of Ethernet PHY instead of WiFi.
from umqttbroker.
Guess, this doesn't make a major difference for the issues mentioned before.
from umqttbroker.
Hi @martin-ger !
Any news for this feature?
Best regards.
from umqttbroker.
Related Issues (20)
- disconnect and reconnect 6-10 time,the broker will cant't be connected HOT 1
- Client count HOT 8
- How to restart the broker?
- Ignored espconn_send() return (error) value.
- Broker Crashing when wifi disconnects HOT 2
- Accessing via mosquitto_sub/pub. How? HOT 1
- Broker doesn't accept new connections after 24h running? HOT 4
- Locally published topics do not appear to retain
- Compiling Error HOT 1
- ESP32 Port? HOT 1
- CRASH BROKER ((( WHY ?
- Ip address MQTT broker
- Compiling error using uMQTTBroker HOT 1
- Partial message / disconnections HOT 1
- Connection problem
- problem with using lwip:v2
- mqtt no user and pass HOT 1
- Broker cannot be connected after client disconnect
- Cannot send HTTPClient POST with MQTT
- Using ESP8266 as MQTT broker and datalogger HOT 5
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 umqttbroker.