This is my first contribution to this forum.
I managed to control RF switches with the N+2. There have been only samples available for Arduino, that's why I ported them to C#. The main problem was, that the RC switches are expecing pulses with a length of 250µs, which cannot be done with Thread.Sleep in NetMF.
Therefore I wrote a loop using the ticks of the prcessor and running in a hih priorized thread. This works well, but blocks the processor. To acheave this, I also found a way using SPI to produce the necessary pulses.
Currently I only have tested it with RF switches from InterTechno using the EasyHome codes. Several other codes are only adopted from the Arduino library but not yet tested with real RF switches.
The EasyHome codes are allowing not only switching but also dimming. Since I do not have dimmable switches, I didn't implement these codes yet.
If someone is interested in this library, please contact me in a private mail. I will give you the sources with the wish of any feedback. Until it s not stable tested I will not publish this library somewhere else.