tomhow much memory would be needed to implement basic XMPP texting functionality as well as the battery saving (low activity mode) XEP?
tomIs there an existing library I could use out there in C that could run with 16K of ram?
tomthat I could offload cryptography to a dedicated IC
tomover an SPI bus or something
tomI'm not set on 16K and can go up if needed, I just had a particular low power TI microcontroller in mind
guus.der.kinderentom: the only library that I know (which does not mean anything, there might be millions more) of that's used on embedded devices is Gloox. I have no idea about its resource consumption. See https://camaya.net/gloox/
tomc++ not see but thanks
tomthank you guus.der.kinderen this helps a lot
guus.der.kinderenIt's all I have to offer, sorry 😉
jonas’16k sounds really constraining
jonas’I heard that there is a embedded-geared XMPP library which will zero-copy-ish parse the XML stream, but I have forgotten the name
jonas’that was probably five years ago
MattJI used to use libstrophe when I did embedded (it's C)
MattJIt's been unmaintained for a long while, which doesn't mean it won't work
MattJBut it's also very low level (gloox is high level, C++, and likely uses a bunch more resources)
MattJI actively used and contributed to both, and then wrote my own XMPP stack in Lua and never looked back ;)
jonas’isn’t libstrophe used by profanity?
jonas’and there are commits in there
jonas’are you confusing libstrophe and libcouplet?