<div dir="ltr"><div dir="ltr">Thanks MIchael, that helps.</div><div dir="ltr"><br></div><div>Any thoughts on moving to wolfmqqt with alias support?</div><div><br></div><div>//.ichael </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 13 Feb 2024 at 04:45, Michael Balzer <<a href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Michael,<br>
<br>
I think you'll find all our PRs/commits to Mongoose here: <br>
<a href="https://github.com/cesanta/mongoose/pull/894" rel="noreferrer" target="_blank">https://github.com/cesanta/mongoose/pull/894</a><br>
<br>
I have no idea which have finally been merged or reimplemented by them, <br>
they more or less ignored us until their code base was too far off.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
Am 11.02.24 um 09:58 schrieb Michael Geddes:<br>
> I've been looking at the work of Ludovic in updating OVMS to the new <br>
> framework. I've even put up a few pull-requests where this work has <br>
> uncovered bugs due to improvements in the compiler.<br>
><br>
> Ludovic did a great job in also updating the Mongoose library. For <br>
> those unaware, the big issue is that there was a massive reworking of <br>
> the library just after the point where ovms forked the library. I <br>
> suspect some/many? of the changes that were made in our fork are no <br>
> longer required.<br>
><br>
> There was a lot done in moving some of the work that had to be done in <br>
> the callers (ovms) code into the mongoose code which is great - and <br>
> Ludovic has done that conversion - there are just a few more things <br>
> that needed to be done on top of that.<br>
><br>
> One of the things they did was remove mg_locals.h which allowed us to <br>
> configure mongoose from our own custom include.<br>
><br>
> The other really annoying thing they did was to remove the use of <br>
> MG_ALLOC, MG_CALLOC in place of malloc( calloc( etc. The problem with <br>
> this is for freertos they define<br>
> #define calloc(a, b) mg_calloc(a, b)<br>
> #define free(a) vPortFree(a)<br>
> #define malloc(a) pvPortMalloc(a)<br>
> without any further condition. Tihs means we don't have a way of <br>
> defining these to our own versions which is what we originally did... <br>
> well not without forking the mongoose (which maybe we do anyway).<br>
> It also means that any of our files that include mongoose.h will have <br>
> these redefined away from our own versions of these. Fortunately it <br>
> seems we don't use those much.<br>
><br>
> I also noticed that even the latest Mongoose MQTT doesn't appear to <br>
> support aliases (and therefore optimising the amount of data used by a <br>
> v3 server).. but it appears that wolfmqtt does - so should we be using <br>
> that instead as a mqtt client??<br>
><br>
> Does anybody else have some further input on this??<br>
><br>
> //.<br>
><br>
><br>
><br>
> _______________________________________________<br>
> OvmsDev mailing list<br>
> <a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
> <a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
<br>
-- <br>
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<br>
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<br>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div></div>