contact display with 15 characters

Post Reply
User avatar
Ik0nwg
Posts: 164
Joined: Sat Nov 16, 2019 7:23 am
Location: JN61VG

contact display with 15 characters

Post by Ik0nwg » Mon Jul 13, 2020 2:34 pm

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
Sal jn61vg Italy

VK3KYY
Posts: 3036
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: contact display with 15 characters

Post by VK3KYY » Mon Jul 13, 2020 9:24 pm

Sounds like a similar bug to the Last Heard bug.

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

VK3KYY
Posts: 3036
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia
Contact:

Re: contact display with 15 characters

Post by VK3KYY » Mon Jul 13, 2020 11:18 pm

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)

User avatar
Ik0nwg
Posts: 164
Joined: Sat Nov 16, 2019 7:23 am
Location: JN61VG

Re: contact display with 15 characters

Post by Ik0nwg » Tue Jul 14, 2020 2:11 am

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
Sal jn61vg Italy

Post Reply