-
Notifications
You must be signed in to change notification settings - Fork 137
WIP:T1000E some ideas for power usage improvements #596
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
base: main
Are you sure you want to change the base?
Conversation
Have you seen the testing being done on discord? |
Yes, but I do not have time to participate unfortunately. Posted my ideas here - might be worth integrating ... or not. Feel free to cheery-pick the changes if it makes sense. |
If I can chime in, none of the improvements so far have made significant improvements, I'm on the dev branch and the battery still does not last nearly as long as on MT. So I'll gladly take any attempt at further improvement
…---- On Sun, 10 Aug 2025 00:16:06 +0300 Ded ***@***.***> wrote ----
446564 left a comment #596 (comment)
Have you seen the testing being done on discord?
—
Reply to this email directly, #596 (comment) , or https://github.com/notifications/unsubscribe-auth/ABNC2746WGC6274VCUNCZPD3MZQJNAVCNFSM6AAAAACDQK6BMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZSGEYDGNRZGU .
You are receiving this because you are subscribed to this thread.
|
seems ok to me, I'm giving it a try on a device and will merge if ok edit: Some good ideas, but doesn't compile straight away, device is acting really weird ... I'll need some time to work on this (power optim for t1000 are on my todo ...) |
@@ -87,6 +88,9 @@ class T1000eBoard : public mesh::MainBoard { | |||
#ifdef LED_PIN | |||
digitalWrite(LED_PIN, LOW); | |||
#endif | |||
|
|||
radio.sleep(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my platformio setup, it won't compile if I let this ... don't know about radio on board
There are a few things that can be optimized from a security, performance, memory perspective. Adding some improvements here -- @prusnak feel free to pick/choose whatever makes sense - providing as a zip (I don't want to push anything since you are making a lot of great changes!) modified: src/helpers/nrf52/SerialBLEInterface.cpp Key Issues Identified1. Security Issues
2. Performance Bottlenecks
3. Memory/CPU Usage Issues
Implemented Optimizations1. Security Enhancements
2. Power & Performance Optimizations
3. Memory & CPU Optimizations
4. Code Quality Improvements
Implementation DetailsThe optimizations were implemented in two main files:
|
Various T1000-E power usage improvements
This hasn't been tested on real hardware yet and is posted as a draft to discuss things