Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataRef string limited to 58 characters #8

Open
PaulStoffregen opened this issue Feb 11, 2018 · 1 comment
Open

DataRef string limited to 58 characters #8

PaulStoffregen opened this issue Feb 11, 2018 · 1 comment

Comments

@PaulStoffregen
Copy link
Owner

Communication between this plugin and a Teensy uses 64 byte packets. The first 6 bytes describe the data within the rest of the packet. Teensy sends the dataref names in those remaining 58 bytes.

Some time ago, FlightSimClass::xmit_big_packet was contributed on the Teensy side. It tries to send a larger message as multiple 64 byte packets. The problem is this plugin doesn't recognize and parse the multi-packet message.

I'm not really working on this plugin anymore. In fact, I no longer have any computer with xplane installed, much less the dev setup to compile and test the plugin. Help wanted from any Xplane enthusiast on this plugin....

@JDeeth
Copy link
Collaborator

JDeeth commented Mar 29, 2018

A workaround from ages ago - use a plugin to create shorter aliases for those datarefs.
https://github.com/JDeeth/InterfaceDataref
It doesn't depend on any libraries other than the X-Plane SDK so it's no harder than Hello World to compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants