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

Add function to catch DM's to the receiver #27

Merged
merged 6 commits into from
Dec 8, 2024

Conversation

pdxlocations
Copy link
Member

This PR:

  • Adds set_directed_text_message_callback modeled from set_text_message_callback with the addition of the to property.
  • Modifies SendReceiveClient.ino to use the new function and call out a DM to the receiver.

@caveman99
Copy link
Member

i think you can replace the original function instead of making a new one, and check for TO to equal 0xffffffff which is NODENUM_BROADCAST or a channel message.

@caveman99 caveman99 merged commit d1282c6 into meshtastic:master Dec 8, 2024
2 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.

3 participants