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

Integrate PCB ID into device ident system #148

Merged
merged 2 commits into from
Apr 21, 2024
Merged

Conversation

JosephHewitt
Copy link
Owner

Integrate the board identification byte feature from #147 into the device identification feature and standardize the WiGLE CSV header so we don't need a case for each device brand, specifically;

  • release is now the same as appRelease (firmware release version)
  • device and board is set to wardriver.uk DEVICE_NAME where DEVICE_NAME is the human readable string for the device (eg, rev3 or Mini Wardriver Rev2)
  • brand value is unchanged, but populated dynamically from device identity (eg, JHewitt or CoD_Segfault)

@CoD-Segfault, since this changes the header for your device, please could you review these changes and let me know your thoughts? Thanks.

Copy link
Contributor

@CoD-Segfault CoD-Segfault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we parameterize the entire model/device/board strings rather than just appending to wardriver.uk? It will give a little more flexibility while still being able to have a single header definition.

I do want to see stats on WiGLE for how people are using my boards and I'm afraid that they are just looking for "wardriver.uk" anywhere in the header and calling it a day.

All that and also Tim won't have to lose his name. :)

@JosephHewitt
Copy link
Owner Author

I do want to see stats on WiGLE for how people are using my boards and I'm afraid that they are just looking for "wardriver.uk" anywhere in the header and calling it a day.

Makes sense. When I spoke to the WiGLE team, it seemed they were looking exclusively at brand=JHewitt to identify my device so I don't think the inclusion of wardriver.uk anywhere in the header will cause issues with this. I would like it to be included somewhere so that it is obvious to the WiGLE team what is generating the CSV files for if there is ever a technical issue. It makes more sense for them to reach out to me or open an issue in this repo than to contact whoever made a new hardware variant.

I will change it so the only forced wardriver.uk reference is in release and/or appRelease which the WiGLE stats system almost certainly won't be looking at to decide if the device is mine or not. I will also parameterize the remaining values.

Does this seem like a reasonable implementation to you? Thanks!

@CoD-Segfault
Copy link
Contributor

That sounds great to me. Thanks for the compromise.

@JosephHewitt JosephHewitt merged commit b4d7ec0 into main Apr 21, 2024
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.

2 participants