Skip to content

fix: correct device model name for Heltec Wireless Paper#2407

Merged
liamcottle merged 1 commit intomeshcore-dev:devfrom
jirogit:fix/wireless-paper-device-model
Apr 26, 2026
Merged

fix: correct device model name for Heltec Wireless Paper#2407
liamcottle merged 1 commit intomeshcore-dev:devfrom
jirogit:fix/wireless-paper-device-model

Conversation

@jirogit
Copy link
Copy Markdown
Contributor

@jirogit jirogit commented Apr 26, 2026

Summary

Fixes incorrect device model name displayed in the MeshCore app for Heltec Wireless Paper.

Previously, the app showed "Heltec V3" because target.h and target.cpp used HeltecV3Board directly, which returns "Heltec V3" from getManufacturerName().

This PR introduces HeltecWirelessPaperBoard, a minimal subclass of HeltecV3Board that overrides getManufacturerName() to return "Heltec Wireless Paper".

Changes

  • variants/heltec_wireless_paper/target.h: Added HeltecWirelessPaperBoard subclass; updated extern declaration
  • variants/heltec_wireless_paper/target.cpp: Updated board instance to use HeltecWirelessPaperBoard

Testing

Tested on hardware (Heltec Wireless Paper) with both BLE and USB Companion firmware. Device model now correctly shows "Heltec Wireless Paper" in the MeshCore Android app settings.

This was discovered while testing the USB Companion firmware added in #2315.

@liamcottle
Copy link
Copy Markdown
Member

Looks good, thanks!

@liamcottle liamcottle merged commit cb669a2 into meshcore-dev:dev Apr 26, 2026
21 of 22 checks passed
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