-
tom
how much memory would be needed to implement basic XMPP texting functionality as well as the battery saving (low activity mode) XEP?
-
tom
Is there an existing library I could use out there in C that could run with 16K of ram?
-
tom
that I could offload cryptography to a dedicated IC
-
tom
over an SPI bus or something
-
tom
I'm not set on 16K and can go up if needed, I just had a particular low power TI microcontroller in mind
-
guus.der.kinderen
tom: 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/
-
tom
c++ not see but thanks
-
tom
thank you guus.der.kinderen this helps a lot
-
guus.der.kinderen
It'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
-
MattJ
I used to use libstrophe when I did embedded (it's C)
-
MattJ
It's been unmaintained for a long while, which doesn't mean it won't work
-
MattJ
But it's also very low level (gloox is high level, C++, and likely uses a bunch more resources)
-
MattJ
I 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?
-
MattJ
Is it? That's nice
-
jonas’
https://github.com/strophe/libstrophe
-
MattJ
That's great news :)
-
MattJ
docs/ was last touched 12 years ago :)
-
jonas’
https://github.com/profanity-im/profanity/blob/master/configure.ac#L127
-
jonas’
https://github.com/profanity-im/libmesode
-
zinid
I just read about advancing vcard4 to draft
-
zinid
does anyone have an idea why we need vcard4?
-
Link Mauve
zinid, permissions is the main argument AFAIK.
-
Link Mauve
Being based on PubSub, etc.
-
zinid
ah, it's PEP based?
-
zinid
which can be done with vcard-temp
-
zinid
but we like to break everything, yeah
-
Link Mauve
Also it’s based on a standard for vCard serialisation to XML.
-
Link Mauve
So might be easier for interoperability with software outside of XMPP.
-
zinid
🙂
-
zinid
no comments 😀
-
zinid
breaking backward compatibility with such moot arguments... *shrugs*
-
Link Mauve
There is no backwards compatibility once you change the protocol anyway.
-
Link Mauve
Not with the previous protocol I mean.
-
zinid
> The Last Call ends on 2019-02-19 lol 😉
-
zinid
Link Mauve, a server still has to maintain both versions
-
Link Mauve
Or convert on the fly.
-
Link Mauve
Same for bookmarks2, or 0084/0153 avatar.
-
lovetox
can a jid be case sensitive?
-
lovetox
like A@domain.com != a@domain.com?
-
Zash
No
-
lovetox
ok thanks, i assumed, but i didnt found the part in the rfc
-
Zash
It's in an RFC of its own
-
Zash
Or three
-
lovetox
ah the precis profile does the case mapping to lower case
-
Zash
In theory it would be possible to only do the normalization for comparisons, but leave the casing as-is on the wire.
-
Zash
Probably not something we want to do tho