Open
Description
EmonTxV3, the OpenEnergyMonitor transmitter, is now shipping with a new firmware that changes the protocol:
Note: This firmware uses data whitening to improve the reliability of the data transmission. A standard pattern of 1s and 0s is overlayed on the underlying data, this prevents sync issues that result from too many zero values in a packet. When the packet is received it is decoded by emonhub. The 'whitening = 1' is required to tell emonhub to decode the packet correctly.
#ifdef RF_WHITENING
byte WHITENING = 0x55;
for (byte i = 0, *p = (byte *)&tmp; i < sizeof tmp; i++, p++)
*p ^= (byte)WHITENING;
#endif
Some samples of the new firmware transmissions can be found in this Google groups thread.
Can you please add support for this as well.