补充tools目录

This commit is contained in:
2024-09-28 14:37:24 +08:00
parent c756587541
commit a96a6fb2ad
434 changed files with 26219 additions and 1 deletions

Binary file not shown.

87
tools/mac_cfg/cmd_cfg.txt Normal file
View File

@@ -0,0 +1,87 @@
cmd_cfg:
{
uint8_t ping_cmd_num = 3;
uint32_t ping_bcn_period = 60; //unit 1ms
uint8_t pong_cmd_num = 3;
uint32_t pong_bcn_period = 60; //unit 1ms
uint8_t st_flag0 = 0;
uint8_t r_flag0 = 0;
uint8_t r_start_flag0 = 0;
uint8_t r_end_flag0 = 0;
uint8_t phase0 = 2;
uint8_t idle_bit0 = 0;
uint8_t req_int0 = 0;
uint8_t rx_rate_mode0 = 0;
uint8_t narrow_band0 = 0;
uint32_t enable_bitmap0 = 1;
uint32_t start_time0 = 0;
uint32_t end_time0 = 20;
uint8_t st_flag1 = 0;
uint8_t r_flag1 = 0;
uint8_t r_start_flag1 = 0;
uint8_t r_end_flag1 = 0;
uint8_t phase1 = 2;
uint8_t idle_bit1 = 0;
uint8_t req_int1 = 0;
uint8_t rx_rate_mode1 = 0;
uint8_t narrow_band1 = 0;
uint32_t enable_bitmap1 = 2;
uint32_t start_time1 = 0;
uint32_t end_time1 = 40;
uint8_t st_flag2 = 0;
uint8_t r_flag2 = 0;
uint8_t r_start_flag2 = 0;
uint8_t r_end_flag2 = 0;
uint8_t phase2 = 2;
uint8_t idle_bit2 = 0;
uint8_t req_int2 = 0;
uint8_t rx_rate_mode2 = 0;
uint8_t narrow_band2 = 0;
uint32_t enable_bitmap2 = 4;
uint32_t start_time2 = 0;
uint32_t end_time2 = 60;
uint8_t st_flag3 = 0;
uint8_t r_flag3 = 0;
uint8_t r_start_flag3 = 0;
uint8_t r_end_flag3 = 0;
uint8_t phase3 = 2;
uint8_t idle_bit3 = 0;
uint8_t req_int3 = 0;
uint8_t rx_rate_mode3 = 0;
uint8_t narrow_band3 = 0;
uint32_t enable_bitmap3 = 1;
uint32_t start_time3 = 0;
uint32_t end_time3 = 20;
uint8_t st_flag4 = 0;
uint8_t r_flag4 = 0;
uint8_t r_start_flag4 = 0;
uint8_t r_end_flag4 = 0;
uint8_t phase4 = 2;
uint8_t idle_bit4 = 0;
uint8_t req_int4 = 0;
uint8_t rx_rate_mode4 = 0;
uint8_t narrow_band4 = 0;
uint32_t enable_bitmap4 = 2;
uint32_t start_time4 = 0;
uint32_t end_time4 = 40;
uint8_t st_flag5 = 0;
uint8_t r_flag5 = 0;
uint8_t r_start_flag5 = 0;
uint8_t r_end_flag5 = 0;
uint8_t phase5 = 2;
uint8_t idle_bit5 = 0;
uint8_t req_int5 = 0;
uint8_t rx_rate_mode5 = 0;
uint8_t narrow_band5 = 0;
uint32_t enable_bitmap5 = 4;
uint32_t start_time5 = 0;
uint32_t end_time5 = 60;
}

12
tools/mac_cfg/crc_cfg.txt Normal file
View File

@@ -0,0 +1,12 @@
crc_cfg:
{
uint8_t fccs_by_sw = 0; //1:by sw, 0:by hw
uint8_t pb_crc_by_sw = 0;
uint8_t bcn_crc_by_sw = 1;
//is verify by sw
uint8_t is_verify_fc = 0;
uint8_t is_verify_pb = 0;
uint8_t is_verify_payload = 0;
}

25
tools/mac_cfg/hwq_cfg.txt Normal file
View File

@@ -0,0 +1,25 @@
hwq_cfg:
{
uint8_t tx_mode=0x11; // plc mode and debug q mode
uint8_t hwqid0=0;
uint8_t qtype0=0;
uint8_t qcap0=0;
uint8_t hwqid1=1;
uint8_t qtype1=0;
uint8_t qcap1=0;
uint8_t hwqid2=2;
uint8_t qtype2=0;
uint8_t qcap2=0;
uint8_t hwqid3=3;
uint8_t qtype3=0;
uint8_t qcap3=0;
uint8_t hwqid4=4;
uint8_t qtype4=0;
uint8_t qcap4=0;
}

View File

@@ -0,0 +1,10 @@
typedef struct _mac_ping_tput{
uint32_t stei = 0x0001;
uint32_t dtei = 0x0002;
uint32_t nid = 0x1;
uint8_t tmi = 0;
uint8_t ext_tmi=0;
uint8_t pb_num =1;
uint32_t cont = 4;
uint8_t ping_or_tput = 0; //0:ping 1:tput
}mac_ping_tput_t;

View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=0;
uint8_t qid=0;
uint8_t bcast=1;
uint8_t delimiter_type=0;
uint32_t nid=0x0;
uint32_t dtei=0xfff;
uint32_t stei=0x00;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=0;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_gp0.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=1;
uint8_t qid=0;
uint8_t bcast=0;
uint8_t delimiter_type=0;
uint32_t snid=0xb;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=2;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt=0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_gp1.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=1;
uint8_t qid=1;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t snid=0xb;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt=0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_gp2.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=1;
uint8_t qid=2;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t snid=0xb;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt=0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_gp3.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=1;
uint8_t qid=3;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t snid=0xb;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt=0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_gp4.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=1;
uint8_t qid=4;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t snid=0xb;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt=0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_sg0.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=0;
uint8_t qid=0;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

25
tools/mac_cfg/pkt_cfg_sg1.txt Executable file
View File

@@ -0,0 +1,25 @@
pkt_cfg:
{
uint8_t proto=0;
uint8_t qid=1;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_sg2.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=0;
uint8_t qid=2;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_sg3.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=0;
uint8_t qid=3;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_sg4.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=0;
uint8_t qid=4;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_spg0.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=3;
uint8_t qid=0;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

25
tools/mac_cfg/pkt_cfg_spg1.txt Executable file
View File

@@ -0,0 +1,25 @@
pkt_cfg:
{
uint8_t proto=3;
uint8_t qid=1;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_spg2.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=3;
uint8_t qid=2;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_spg3.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=3;
uint8_t qid=3;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

24
tools/mac_cfg/pkt_cfg_spg4.txt Executable file
View File

@@ -0,0 +1,24 @@
pkt_cfg:
{
uint8_t proto=3;
uint8_t qid=4;
uint8_t bcast=0;
uint8_t delimiter_type=1;
uint32_t nid=0x1;
uint32_t dtei=0x0002;
uint32_t stei=0x0001;
uint8_t tmi=0;
uint8_t ext_tmi=0;
uint8_t lid=0;
uint8_t pb_num=1;
uint8_t need_ack=1;
uint8_t need_encry = 0;
uint8_t need_decrypt = 0;
uint32_t avln_idx_in_desc = 0;
uint32_t key_table_idx_in_desc = 0;
uint32_t key_idx_in_desc = 0;
uint8_t hw_retry_cnt = 0;
uint8_t phase=0;
uint8_t pkt_idx=0;
}

View File

@@ -0,0 +1,14 @@
pkt_cfg:
{
uint8_t data_num =0;
uint8_t pkt[]={
00 00 58 00 00 02 00 56 80 11 50 03 56 00 00 00
00 7f 11 22 33 44 55 3b 01 00 00 00 00 00 00 00
00 00 01 03 00 00 01 00 ef be ad de 00 12 00 00
00 00 11 05 13 10 09 00 00 00 00 00 ad de 00 23
67 45 bd fe ff 00 11 00 02 00 01 00 00 56 93 80
f9 f4 8e 27 42 cd 00 00 00 e8 03 00 01 b0 01 50
00 00 00 00
};
}

View File

@@ -0,0 +1,15 @@
pkt_cfg:
{
uint8_t data_num =1;
uint8_t pkt[]={
00 00 01 00 00 02 00 56 80 11 50 03 56 00 00 00
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50 51 52 53
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 60 00 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 60 10 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 60 20 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 60 30 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,23 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 56 80 11 50 03 56 30 11 06
00 00 00 40 00 01 00 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50 51 52 53 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 50 ff ff 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 70 00 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 70 10 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 70 20 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 70 30 00 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 40 ff ff 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,13 @@
pkt_cfg:
{
uint8_t data_idx =0;
uint8_t pkt[]={
08 00 ff 5f 00 02 00 30 30 10 50 03 56 30 00 00
11 06 00 00 00 30 ff ff 00 00 00 00 00 00 00 00
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
};
}

View File

@@ -0,0 +1,21 @@
/*rx_cfg*/
typedef struct _rx_cfg
{
uint8_t ring_id = 0;
uint8_t ring_sz = 10; //20 40
uint32_t buf_sz = 584; //200:64+136 584:64+520 136:64+72 328:64+264
uint8_t bufsz_filter_sel=0;
uint8_t filter=0;
//0 rx_desc
uint8_t cfg_type0 = 0; //desc
uint8_t cfg_offset0 = 0;
uint8_t cfg_enable0 = 1;
//1 rx_payload
uint8_t cfg_type1 = 6;
uint8_t cfg_offset1 = 64; //payload offset
uint8_t cfg_enable1 = 1;
uint8_t cert_flag = 0;
}rx_cfg_t;

View File

@@ -0,0 +1,6 @@
send_case_cfg {
uint32_t interval_time=20;//unit 1'ms
uint32_t packe_num=1; // total numbers
uint32_t user_updata_time=1;
}