The old cut is here... https://github.com/mcrossley/VPTools/tree/master/Examples/RelayRxTx
The VP Tools base class works fine as a Receiver, or a Transmitter, but I've had to tweak the base class a bit to make it do both at the same time reliably. On Wednesday, 22 March 2017 16:49:52 UTC, Alec Bennett wrote: > > Would it be possible to send the link to the current code? I have some > time to work on it today. > > > > > On Wed, Mar 22, 2017 at 9:47 AM, Mark Crossley <[email protected] > <javascript:>> wrote: > >> I have the code on GitHub, the latest version hasn't been uploaded yet - >> I have made a few changes around timing for my current version... >> >> I have found the VP2 console quite sensitive to timing, if the >> transmissions vary by more than about 5 ms it can miss them and lose sync. >> My latest version uses two clock driven interrupts, one for receiving and >> one for transmitting. The transmitting has to have priority over receiving >> if you want good reception stats on the console. Currently my console runs >> about 99.7-99.8% reception with zero resyncs. The missed packets are nearly >> all CRC errors - which as I am sharing(!) some of the frequencies with 3G >> mobile phones isn't bad. The longest packet reception "streaks" are now >> normally running in the thousands. >> >> Strangely I have an old "test" console running ancient VP2 firmware, that >> is *much* more tolerant of timing, so it looks like Davis reduced the >> reception window on later versions - possibly to extend battery life? >> >> So when I have the code tidied up I push the latest version up to GitHub. >> for you. >> >> On 22 March 2017 at 16:21, Alec Bennett <[email protected] <javascript:>> >> wrote: >> >>> Nice! >>> >>> I have a Moteino too. Could you post your script? Or email it over? If >>> email, might want to go directly since I'm not sure how the google group >>> handles attachments. >>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/CnfOOu_OE48/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
