MPT1327 - adds sync pattern for French variant of MPT1327. Channel decode configuration editor now contains a combo box that allows selection of normal or French variant.

This commit is contained in:
dennis.sheirer
2014-08-04 00:06:00 +00:00
parent 44faeb9351
commit 63de9c6d7d
6 changed files with 108 additions and 9 deletions

View File

@@ -68,18 +68,32 @@ public enum SyncPattern
MPT1327_CONTROL( new boolean[]
{
true, false, true, false, //Includes 4 of 16 rev bits
// false, true, false, true, //Includes 4 of 16 rev bits
true, true, false, false, //1100 0xA
false, true, false, false, //0100 0x4
true, true, false, true, //1101 0xD
false, true, true, true //0111 0x7
}),
/**
* French variant of MPT-1327. This variant uses the following reversal
* pattern and sync pattern:
*
* REV: 0101 0101 0100 1011
* SYNC: 1100 1100 0111 1111
*/
MPT1327_CONTROL_FRENCH( new boolean[]
{
true, false, true, true, //Includes final 4 of 16 rev bits
true, true, false, false, //1100 0xA
true, true, false, false, //1100 0xA
false, true, true, true, //0111 0x7
true, true, true, true, //1111 0xF
}),
/* Revs (0xA) and Sync(0x3B28) = 1010 0011101100101000 */
MPT1327_TRAFFIC( new boolean[]
{
true, false, true, false, //1010 Includes 4 of 16 rev bits
// false, true, false, true, //1010 Includes 4 of 16 rev bits
false, false, true, true, //0011 0x3
true, false, true, true, //1011 0xB
false, false, true, false, //0010 0x2