jonasbjurel

Results 13 comments of jonasbjurel

How is payload_d and length_d defined?

> Yes, its getting defined by my callback function: > > ``` > void callback(char* topic, byte* payload, unsigned int length) { > Serial.print("Message arrived ["); > Serial.print(topic); > Serial.print("]...

> > Yes, its getting defined by my callback function: > > ``` > > void callback(char* topic, byte* payload, unsigned int length) { > > Serial.print("Message arrived ["); >...

> The problem is, that I am consuming The payload_d slowly over time There is no magic, you cannot use the buffer that pubSub will re-circulate or free once you...

> > The problem is, that I am consuming The payload_d slowly over time > > There is no magic, you cannot use the buffer that pubSub will re-circulate or...

> This is all stuff you can do in code already Could you just give a hint on how? For instance understand if the addresses where provided as static addresses...

A small codesnip: ` if (networkConfig.staticIp = wifiManager.isStaticIp()) { wifiManager.getStaticIp(&networkConfig.ipAddr); wifiManager.getStaticSn(&networkConfig.ipMask); wifiManager.getStaticGw(&networkConfig.gatewayIpAddr); wifiManager.getStaticDns(&networkConfig.dnsIpAddr); } else { networkConfig.ipAddr = WiFi.localIP(); networkConfig.ipMask = WiFi.subnetMask(); networkConfig.gatewayIpAddr = WiFi.gatewayIP(); networkConfig.dnsIpAddr = WiFi.dnsIP(); }`

> Static configs are not stored in flash, so user code has to store and recall them. So no need for wm specific wrappers That is exactly why I want...

> I am assuming this only works right after you save wifi ? Correct, after having saved WiFi, I use these method to check if a static address was configured,...

Hi again, what is the status, will my proposed changes be merged? I'm approaching a release of one of my projects which rely on WiFi manager, if these changes are...