Page 1 of 1

contact display with 15 characters

Posted: Mon Jul 13, 2020 2:34 pm
by Ik0nwg
when storing a TG in contacts it accepts 16 characters ..... but when it is then shown on the display when someone speaks on that TG it only shows 15.
firmware version third unstable variant of 12 July.
thank you
ciao

Re: contact display with 15 characters

Posted: Mon Jul 13, 2020 9:24 pm
by VK3KYY
Sounds like a similar bug to the Last Heard bug.

Probably some text length set to maximum 15 when it should be 16

Re: contact display with 15 characters

Posted: Mon Jul 13, 2020 11:18 pm
by VK3KYY
Umm

Not sure why its only displaying 15 chars

The code has this

if (len <= 16)
{
ucPrintCentered(y, text, FONT_SIZE_3);
}

So if its 16 or less, it should display it on one line.

If its > 16 characters it will split on the space character rather than wrapping the text, (which would be hard to read)

Re: contact display with 15 characters

Posted: Tue Jul 14, 2020 2:11 am
by Ik0nwg
it only does it when it receives ... if instead you set that TG to go to Tx it is correctly visualized on the display ..... yes you're right it seems a bug similar to the last listened that you and Daniel have solved
ciao Roger