updated PSK lua test script

This commit is contained in:
iceman1001 2020-09-08 08:57:28 +02:00
commit bdae1bc2a3

View file

@ -9,7 +9,7 @@ local floor = math.floor
copyright = '' copyright = ''
author = "Iceman" author = "Iceman"
version = 'v1.0.3' version = 'v1.0.4'
desc =[[ desc =[[
This script will program a T55x7 TAG with a configuration and four blocks of data. This script will program a T55x7 TAG with a configuration and four blocks of data.
It will then try to detect and read back those block data and compare if read data matches the expected data. It will then try to detect and read back those block data and compare if read data matches the expected data.
@ -106,6 +106,7 @@ local function GetConfigs( modulation )
local t = {} local t = {}
t['PSK1'] = { t['PSK1'] = {
-- Rf2
[1] = '00001040', [1] = '00001040',
[2] = '00041040', [2] = '00041040',
[3] = '00081040', [3] = '00081040',
@ -114,9 +115,28 @@ local function GetConfigs( modulation )
[6] = '00141040', [6] = '00141040',
[7] = '00181040', [7] = '00181040',
[8] = '001c1040', [8] = '001c1040',
-- Rf4
[9] = '00001440',
[10] = '00041440',
[11] = '00081440',
[12] = '000c1440',
[13] = '00101440',
[14] = '00141440',
[15] = '00181440',
[16] = '001c1440',
-- Rf8
[17] = '00001840',
[18] = '00041840',
[19] = '00081840',
[20] = '000c1840',
[21] = '00101840',
[22] = '00141840',
[23] = '00181840',
[24] = '001c1840',
} }
t['PSK2'] = { t['PSK2'] = {
-- Rf2
[1] = '00002040', [1] = '00002040',
[2] = '00042040', [2] = '00042040',
[3] = '00082040', [3] = '00082040',
@ -125,9 +145,28 @@ local function GetConfigs( modulation )
[6] = '00142040', [6] = '00142040',
[7] = '00182040', [7] = '00182040',
[8] = '001c2040', [8] = '001c2040',
-- Rf4
[9] = '00002440',
[10] = '00042440',
[11] = '00082440',
[12] = '000c2440',
[13] = '00102440',
[14] = '00142440',
[15] = '00182440',
[16] = '001c2440',
-- Rf8
[17] = '00002840',
[18] = '00042840',
[19] = '00082840',
[20] = '000c2840',
[21] = '00102840',
[22] = '00142840',
[23] = '00182840',
[24] = '001c2840',
} }
t['PSK3'] = { t['PSK3'] = {
-- Rf2
[1] = '00003040', [1] = '00003040',
[2] = '00043040', [2] = '00043040',
[3] = '00083040', [3] = '00083040',
@ -136,6 +175,24 @@ local function GetConfigs( modulation )
[6] = '00143040', [6] = '00143040',
[7] = '00183040', [7] = '00183040',
[8] = '001c3040', [8] = '001c3040',
-- Rf4
[1] = '00003440',
[2] = '00043440',
[3] = '00083440',
[4] = '000c3440',
[5] = '00103440',
[6] = '00143440',
[7] = '00183440',
[8] = '001c3440',
-- Rf2
[1] = '00003840',
[2] = '00043840',
[3] = '00083840',
[4] = '000c3840',
[5] = '00103840',
[6] = '00143840',
[7] = '00183840',
[8] = '001c3840',
} }
t['FSK1'] = { t['FSK1'] = {