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

emonPi_CM firmware fixes - Fix receiving in JEELIB_NATIVE mode, Fix transmit in both modes #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alandpearson
Copy link
Contributor

Fix RX print_frame function for loop to start at index 2 when using JEELIB_NATIVE format (otherwise sending node id is incorrectly printed twice on the serial FRAME).

Fix transmitting to match expected CSV format sent from EmonHubOEMInterfacer (also matches how transmission has been done in all other DS firmware versions and works with emonglcd and other devices).

Remove verbose mode and associated Serial.prints to get more room in flash. Verbose mode is spurious as config changes can be verified with 'l' and 'L' options, and was disabled by default. Without removing these there was no room in flash for the code. Consideration could be given in future to make the help more terse and reducing the large amount of Serial.prints throughout the code to gain further space.

Bump version number.

Fix transmitting to match expected format from EmonHubOEMInterfacer
(also matches how transmission has been done before and works with
emonglcd)
Remove verbose mode and associated Serial.prints to get more room in
flash. Verbose mode is spurious as config changes can be verified with
'l' and 'L' options, and was disabled by default. Without removing these
there was no room in flash for the code. Consideration could be given in
future to make the help more terse and reducing the large amount of
Serial.prints uin the code to gain further space
@alandpearson
Copy link
Contributor Author

alandpearson commented May 6, 2024

It would also be nice to have this as compiled firmware available for emonPi users (JEELIB_NATIVE) as I can't be the only one who updated all my RF devices (gmonlcds, emonths, emonpi (x2) and emontx3) to this format when Robert introduced emonLibCM with great fanfare on the forum.. :) I can't do a wholesale convert to LPL due to also having a large number of rf12 devices in my ecosystem too (using jeelib RF69_COMPAT).

@TrystanLea
Copy link
Member

Thanks for this @alandpearson, just acknowledging for now, I haven't had a chance to test this yet but appreciate the pull request.

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.

None yet

2 participants