Comments (2)
I'm not sure this is suitable to have in the library itself. There is no requirement that you must be passing strings over MQTT. But I suppose so long as len
is not changed this shouldn't affect anything.
from esp_mqtt.
Exactly. If you're sending string data then the zero termination means you save a copy from the buffer. If you're not, you would be using len to work out how much data you have anyway.
from esp_mqtt.
Related Issues (20)
- program stack in function BOOL ICACHE_FLASH_ATTR MQTT_InitClient HOT 1
- free(outbound_message->data) wrong? HOT 2
- i have problem with WiFiClientSecure :(
- Problems building for "user/user_main.c" example.. HOT 4
- platformio support?
- Can use this ESP_MQTT to "iot.eclipse.org" , but can't for "test.mosquitto.org" . Why ?
- Support of SSL different algorithms HOT 1
- How disable automatic connect Wi-Fi network? HOT 1
- event->msg_id always 0 in MQTT_EVENT_DATA
- null check client pointer before deref
- Queue never getempty HOT 1
- compiling with esp8266 latest SDK version using virtual machine
- getting incorrect packet id for MQTT_MSG_TYPE_UNSUBSCRIBE from mqtt_get_id function in mqtt_msg.c since its type is not listed in switch case. HOT 1
- Why use of while in MQTT_* functions? HOT 2
- re-queue on error sending
- publish callback in wrong place for QOS > 0 HOT 3
- Race condition in all commands that expect a reply (sub/unsub/publish w QoS >0) HOT 7
- building user_main.c
- Unable to use ssl mode
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 esp_mqtt.