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

Update remote.cpp to allow parsing JSON over ESP NOW #4084

Open
wants to merge 3 commits into
base: 0_15
Choose a base branch
from

Conversation

insane2subro
Copy link

This little change has allowed me to send a JSON over ESPNow and it works well.

{
  "command":{
  "on": true,
  "bri": 100,
  "seg": [
    {
      "col": [[128, 0, 128]],
      "fx": 0
    }
  ]
  },
}

I am not very mature with codes and need someone to peer review the change.

Copy link
Collaborator

@blazoncek blazoncek left a comment

Choose a reason for hiding this comment

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

You should be using 0_15 branch as 0.14 is almost obsolete and much has been done about ESP-NOW there.

uint8_t byte11; // Unknown, maybe checksum
uint8_t byte12; // Unknown, maybe checksum
uint8_t byte13; // Unknown, maybe checksum
uint8_t program;
Copy link
Collaborator

Choose a reason for hiding this comment

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

why did you remove helpful comments?

@insane2subro insane2subro changed the base branch from main to 0_15 August 2, 2024 14:32
@softhack007 softhack007 added the usermod usermod related label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usermod usermod related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants