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

UI/UX: Display delivered message on incoming ACK. #2739

Merged
merged 8 commits into from
Dec 11, 2023
Merged

Conversation

caveman99
Copy link
Member

Needs more work, see comments.

src/modules/CannedMessageModule.h Show resolved Hide resolved
src/modules/CannedMessageModule.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2023

🤖 Pull request artifacts

file commit
pr2739-firmware-2.2.16.b181ec0.zip b181ec0

@caveman99 caveman99 force-pushed the delivery-report branch 2 times, most recently from 5e70fb9 to b181ec0 Compare December 3, 2023 12:10
thebentern added a commit to meshtastic/artifacts that referenced this pull request Dec 3, 2023
jp-bennett pushed a commit to meshtastic/artifacts that referenced this pull request Dec 11, 2023
- only works if we don't have a phone connected, but that is probably dsired
- this will send a copy of device-originating text messgaes to a connected phone. Breaking change.
- this will iterate the tophone queue by deconstructing and reconstructing it every time we look for an ID. Probably also mangles the queue oder since it aborts when a ID is found.
- Can we navigate the packet pool instead? If so, how?
- Let's keep this in draft state for now
the memory pool can NOT be iterated easily, since it's not a linear object.
@caveman99 caveman99 requested a review from GUVWAF December 11, 2023 14:45
@caveman99 caveman99 marked this pull request as ready for review December 11, 2023 14:45
Copy link
Member

@GUVWAF GUVWAF left a comment

Choose a reason for hiding this comment

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

Looks good to me.
I think we can eventually get rid of this special FreeRTOS queue for the ToPhoneQueue (seems this was actually the plan) to handle persistent storage for message history on standalone devices. If we can replace it by a MeshPacketQueue, which is actually a std::vector, we can more easily cycle through it and reorder packets.

@caveman99
Copy link
Member Author

@GUVWAF at least it would be easier to interate over something that is not handled by freeRTOS. Question is if the ISR variety of these commands are used at all. We need to handle blocking carefully if the are.

@caveman99 caveman99 merged commit 3593839 into master Dec 11, 2023
63 checks passed
@caveman99
Copy link
Member Author

i pushed the current state to master, let's keep this branch open to refine this further. I'll push canned messaging to secondary channels next.

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.

4 participants