Coder Social home page Coder Social logo

Comments (6)

hexfet avatar hexfet commented on July 17, 2024 1

What transmitter are you using?
What radio module are you using?
Can you please give an example of a device name that causes the failure?

I only have a Crossfire radio and it doesn't seem to have this problem. The device name is "XF Transmitter" which is 14 characters and works correctly.

You can try reducing the constant CRSF_MAX_NAME_LEN to see if the behavior changes.

from deviation.

howels avatar howels commented on July 17, 2024

What transmitter are you using? What radio module are you using? Can you please give an example of a device name that causes the failure?

Jumper T8SGv2
ExpressLRS TX (various)
"BetaFPV Micro TX" or "HappyModel ES24TX"

I only have a Crossfire radio and it doesn't seem to have this problem. The device name is "XF Transmitter" which is 14 characters and works correctly.

You can try reducing the constant CRSF_MAX_NAME_LEN to see if the behavior changes.

This happens with ExpressLRS devices. We can for instance see the RX which has a shorter name but the TX is not visible with the default name "BetaFPV Micro TX"
I experimented a lot trying to shorten the length of strings but nothing seemed to work, Deviation would show a blank line when the input string was too long - it would be strongly desirable to truncate the string instead of showing a blank line.

Issue is reported by numerous other users trying out ExpressLRS, and is only resolved when they manually edit the ExpressLRS code to decrease the length of the device name. These device names are working fine under OpenTX and the CRSF protocol supports them but in DeviationTX they are shown as blank lines in the CRSF device page.

Regarding 14 character names - you may be right but the limit is either 12 or 14 characters and anything past that is rendered blank.

from deviation.

howels avatar howels commented on July 17, 2024

FYI I have tried a custom build with CRSF_MAX_NAME_LEN increased to 40 characters and the 14 character limit still applies.

from deviation.

hexfet avatar hexfet commented on July 17, 2024

Thanks for the pointer in the right direction. Should be fixed by #1020. Please give it a try.

from deviation.

howels avatar howels commented on July 17, 2024

Thanks for the pointer in the right direction. Should be fixed by #1020. Please give it a try.

Thanks, I'll give it a go tomorrow. Really appreciate you looking at this!

from deviation.

howels avatar howels commented on July 17, 2024

BTW this is now fixed as of 458a87e

from deviation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.