Skip to content

guidance : how to implement a simple low latency protocol? #1658

Answered by crankyoldgit
LeSuedois asked this question in Q&A
Discussion options

You must be logged in to vote

But I have problems identifying the raw data. Is there a guide to implement a new protocol somewhere?

Yes. See: https://github.com/crankyoldgit/IRremoteESP8266/wiki/Adding-support-for-a-new-IR-protocol

My raw data looks like this:
uint16_t rawData[7] = {2500, 1500, 650, 550, 650, 1650, 450};
and is sent every 50ms.

Sending it every 50ms will be a significant issue with the default configuration.
You will need to lower how long the library waits for a there to be no more incoming IR signal. That's how the library determines when a message is finished.
See:

// How long (ms) before we give up wait for more data?
// D…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LeSuedois
Comment options

@LeSuedois
Comment options

@crankyoldgit
Comment options

Answer selected by crankyoldgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants