pimatic / RFControl

433mhz rf sniffer and receiver
GNU General Public License v3.0
117 stars 34 forks source link

New verification system. #4

Closed Icesory closed 9 years ago

Icesory commented 9 years ago

In the simulation it works fine.

sweetpi commented 9 years ago

Looks very interesting. Could you please explain how it works? Best would be a state diagram, but a (german) explanation would be ok, too.

Icesory commented 9 years ago

It is not perfect but it should show the main feature. rfcontrol interrup handler

Icesory commented 9 years ago

@incmve can you pls make a test on your arduino? I dont have the Alecto Weatherstation

sweetpi commented 9 years ago

It is not perfect but it should show the main feature.

Thank you, have to think a little about it :)

Icesory commented 9 years ago

@sweetpi do you need more information? I can explain it in German. I have it now on two arduinos and it runs very well since 24 hours.

Icesory commented 9 years ago

@sweetpi do you had some time to look at this?

sweetpi commented 9 years ago

Looks really promising, but had no time to test yet. I would like to minimize the code size like you tried with the single verify function. I will have more time after Christmas (hopefully) to merge the changes / so some tests.

sweetpi commented 9 years ago

@Icesory What is exactly the problem with the generic verify function?

Icesory commented 9 years ago

What do you think to verify the packages in pimatic? So we can create easier verify functions.

sweetpi commented 9 years ago

What do you think to verify the packages in pimatic? So we can create easier verify functions.

Yes I wanted to do this too. I would have no problem to skip the verification at all, if we find a way to detect start and end of a package without verify.

I'm open for ideas or implementations. I tested your new verification and it works very well, but maybe there is a simpler solution for the whole problem.

Icesory commented 9 years ago

With a nice algorithm we can detect the a running transmission and save this as a package. The algorithm can make a failure correction and improves the signal quality. I have some ideas for this but in 2 weeks starts my studies examinations.

sweetpi commented 9 years ago

I have some ideas for this but in 2 weeks starts my studies examinations.

No worries, looking forward to hear it. I'm most productive at this times :D. Try to keep focused on your exams ;)