Replies: 3 comments 2 replies
-
I am thinking something like this. What do you think.
|
Beta Was this translation helpful? Give feedback.
-
Disregard. Figured out my issue with empty signals. User error. Still going to have to copy to a temp buffer to do other decoder work. |
Beta Was this translation helpful? Give feedback.
-
At the moment yes, it's not really meant to be interfaced with directly. The main issue I see is that Actually, looking at the implementation now, it's a bit dodgy - |
Beta Was this translation helpful? Give feedback.
-
Please ignore the disjointed nature of this post, I am not quite sure exactly how to get at what I am looking for but figured you guys might have some ideas.
While working on my project which uses direct mode, I have noticed that I get a lot of blank signals "00000" etc when using carriersense with promiscuous no syncword and direct mode (actual signals are also coming through with my test remote so all good this is just about efficiency). So I passed bytes from read() to a buffer I created, then check the entirety of the signal to see if it is all blank discarding and resetting my buffer if it is.
I still get some noise eg "FFFFFFF" etc but I no longer get blanks so it cuts down on the displayed undesired noise substantially. The inefficiency I can see is there was already a buffer that could have been parsed that I have now recreated taking both time and memory.
Do I need god mode to interact directly with the direct mode buffer in Physical Layer? Any concepts to make this more efficient?
I am currently looking at read() and available() to see if there is some way I can discard blank buffers there before it hits the end user (shouldn't be any issues with that as even a single bit would no longer be a blank buffer and would be returned)
Beta Was this translation helpful? Give feedback.
All reactions