Skip to content

Sending deviceID for outputs instead of pin number#1886

Closed
elral wants to merge 5 commits intoMobiFlight:mainfrom
elral:outputs_device_id
Closed

Sending deviceID for outputs instead of pin number#1886
elral wants to merge 5 commits intoMobiFlight:mainfrom
elral:outputs_device_id

Conversation

@elral
Copy link
Contributor

@elral elral commented Dec 23, 2024

Instead of sending a pin number for outputs the deviceID is send like for all other devices. This is for harmaonization and possible future extensions.
PR MobiFlight/MobiFlight-FirmwareSource#346 must be merged at the same time.
Fixes #1885

@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

@neilenns
Copy link
Contributor

Is this not a breaking change correct? Everything continue to work properly if users don't upgrade their firmware and continue to use older firmware with newer desktop app?

@elral
Copy link
Contributor Author

elral commented Dec 23, 2024

Yes, correct.
Tested it in all combinations (OK, not so much).

@DocMoebiuz
Copy link
Collaborator

I think it would be cleaner to have a deprecated class which uses the old logic, and the new class which does it the new way. overriding just the set method.

@github-actions
Copy link

github-actions bot commented Jan 6, 2025

Build for this pull request:
MobiFlightConnector.zip

@elral
Copy link
Contributor Author

elral commented Jan 7, 2025

A new PR will be issued which includes the proposed changes.

The branch is already set up from @DocMoebiuz , see branch

The changes are already tested successful.

@elral elral closed this Jan 7, 2025
@elral elral deleted the outputs_device_id branch February 23, 2025 05:41
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

Successfully merging this pull request may close these issues.

Command for outputs should have deviceID and not pin number

3 participants