Added support for Heltec Mesh Pocket#87
Added support for Heltec Mesh Pocket#87TheBeadster wants to merge 14 commits intoliberatedsystems:masterfrom
Conversation
…-and-undefined-reference-errors Fix header guard issues and add Bluetooth globals
merged both works
…-and-undefined-reference-errors Codex/fix narrowing conversion and undefined reference errors
…name-a-type-error Fix missing Arduino include in Bluetooth header
changed sleeping screen message.
Removed the hardcoded Board model so it now compiles with Arduino CLI using 'compiler.cpp.extra_flags=-DBOARD_MODEL=BOARD_HELTEC_MESHP' `
jacobeva
left a comment
There was a problem hiding this comment.
Lots of random whitespace and carriage return changes here. Also debug statements that are left in. Please cleanup if possible.
|
Jacobeva , I think I have manage to do what you requested, please review. I compiled my modified code and tried ti on the mesh pocket it works OK |
|
This is looking better, but the code is still quite messy. Please can you look at my comments again and clean up where necessary. Lots of whitespace changes where they aren't necessary at all. Also, you have custom code for the sleep mode which adds things to the display when going into sleep mode. Please remove this. I know it has an e-ink display but this menu / graphic is non-standard in the rest of the repo. |
|
I have noticed quite a few areas where you have marked my comments as resolved but made no change. Please go back through all my comments again and make the changes. |
| 41, // pin_miso | ||
| 15, // pin_busy | ||
| 16, // pin_dio | ||
| 12 // pin_reset |
There was a problem hiding this comment.
shouldn't there be a comma here after 12?
|
Hi, I've tried to compile and apply your build. Firmware flashes successfully but freezes on e-ink display initialization. Device stops responding after flashing. Could you provide a pre-compiled binary for MeshPocket 10000mAh (868 MHz)?" |
|
Hi, I will send you a binary hopefully very soon |
|
|
I am looking forward to this. I have a MeshPocket 10,000 mAh US915 |
|
Screen is working, I am just fighting some bluetooth issues. bd |
|
I am working on the 10,000 mAh version. I am not sure what the Lora side difference there is with the smaller battery , I presume just the battery indicator. |
|
Btw, is it possible to get interim build from you? in uc2 format. |
|
This is my latest build
remember this is work in progress and SWMBO is wagging her finger about family time :-) bd |
|
|
Hi, Could you please help me to understand how it should be flashed? P.S. P.P.S. |
|
I used the Arduino CLI to flash it, Claude should help you do that. |
|
I've tried to apply your FW by arduino-cli, but finally got the same issue : Would you please either provide exact instructions (commands) for flashing or share uf2-file instead? |
|
This file works on both my Meshpocket 10000mAh devices. bd |
|
Thank you! |
|
:-) sorry for the talking down. I am still fighting a BLE issue and ran out of time, then my rpi3 that I am using to test messages decided it's had enough of the real world, and a SSD hdd on my PC joined into the protest so I have to spent some time with hopefully will get back on the meshpocket later in the week. bd |
|
@AlexSkorni you do realize the zip file contains a uf2, right? You can just extract it. |
|
@shortwavesurfer2009 ,
I had to come back to Meshtastic FW |
|
@AlexSkorni okay, just had to be sure. I know in a lot of cases, OTA things require the zip file, and direct installs from a computer require the UF2, and so I wasn't certain if you were trying to install the zip directly. |
|
I am also assuming that you are using a flash erase uf2 first such as the one provided by meshtastic or meshcore. |
|
Right, it half worked for me. meshPocket 10,000 mAh (HT-n5262) I did the following:
However, I can't get any farther than this as when I scan for an Rnode on Columba it does not show anything. |
|
@shortwavesurfer2009 , oh, I skipped the step with erasing as I did't know abt that. |
|
@TheBeadster , @shortwavesurfer2009 , myself along with Claude have managed to flash the FW, provided @TheBeadster. Thank you all for your valuable help ! |
Could you not have saved it out as a PDF or some other file format that's not some proprietary crapware? |
|
Here it is However, radio is not initialized. Seems I've missed some specific parameters. |
|
@TheBeadster , @shortwavesurfer2009 , we with Claude have managed to fix all issues and upload firmware. New guide is also attached Thank you very much ! |
|
Hi Alex config : I have been so deep in this and other stuff I forgot about the need for configuring it like other rnodes, did you find the device ID etc I set? radio problems : yes, the version you have is midway in my fix for this issue, i tried to optimize the radio and broke it. bd |
Yes, I've got it from begin of this topic and fed it to Claude. It provided me the config :-) |
|
@TheBeadster Please commit your changes once you've completed the new version. Looking forward to it, good work so far! |
|
Done lot more work and now have it at a place I think is OK. please test. I have been using it with Columba, however Columba does have some minor BLE issues which I have raised with Torlando. so bear that in mind. |
|
The screen is also at a very low refresh rate, don't expect OLED type scrolling of the waterfall. be patient. the phone app give the best up to date info |




I have used these ID's
#define PRODUCT_HELTEC_MESHP 0xD2 // Heltec Mesh Node MeshPocket with a T114
#define BOARD_HELTEC_MESHP 0x46
#define MODEL_CD 0xCD // Heltec Mesh Node MeshPocket, 470-510 MHz
#define MODEL_CE 0xCE // Heltec Mesh Node MeshPocket, 863-928 MHz
I added them to my local Rnodeconf so that it can detect the board correctly.