Closed jmlich closed 5 months ago
Build size and comparison to main: | Section | Size | Difference |
---|---|---|---|
text | 369544B | -16B | |
data | 940B | 0B | |
bss | 63516B | 0B |
I don't think the 3rd byte is ignored though? It'll still be copied into the notification string, and thus the max message size is practically 1 char smaller when using a header of 3 bytes.
You are right. It seems the 3rd byte should be send only in case when Category CustomHuami is used:
I will update my pull request according to that.
In my opinion the implementation should be fixed to comply with specification. The extra byte is just skipped