This commit is contained in:
zhangsz
2025-03-03 11:01:26 +08:00
parent 5f1710dc22
commit dae6fc93f7
1057 changed files with 519829 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#include "headfile.txt"
test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP
//0 send <Release>
//A5 00 03 00 02 00
//
//10 send <Disable>
//A5 00 03 00 06 00
10 send <Enable>
A5 00 03 00 07 00
100 send <Establish>
A5 00 03 00 01 00
10 send <data>
05 00 03 FF 01 F0
1000 recv <data>
??
10 send <data>
05 00 03 FF 01 F1
1000 recv <data>
??
100 send <Release>
A5 00 03 00 02 00
50 send <Disable>
A5 00 03 00 06 00

View File

@@ -0,0 +1,52 @@
#include "headfile.txt"
test 1 sctp<SCTP>
SCTP.SET REMOTE_IP=MSC_IP
SCTP.SET REMOTE_PORT=IUA_CPORT
SCTP.SET LOCAL_PORT=IUA_PORT
SCTP.SET STREAM_ID=1
50 SCTP.SET server
1000 SCTP.RECV <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 ?? ?? ?? ??
0 SCTP.send <asp up ack>
01 00 03 04 00 00 00 08
0 SCTP.send <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 02
1000 SCTP.FLTR <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 ?? ?? ?? ??
1000 SCTP.RECV <asp active>
01 00 04 01 00 00 00 18 00 0B 00 08 00 00 00 01 00 01 00 08 00 00 00 00
0 SCTP.send <asp active ack>
01 00 04 03 00 00 00 10 00 0B 00 08 00 00 00 01
0 SCTP.send <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 03
1000 SCTP.RECV <Establish req>
01 00 05 05 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00
0 SCTP.send <Establish cnf>
01 00 05 06 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00
1000 SCTP.RECV <Data>
??
0 SCTP.SEND <Data Indication>
01 00 05 02 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0E 00 07 FF 01 F1 00
1000 SCTP.RECV <Data>
??
0 SCTP.SEND <Data Indication>
01 00 05 02 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0E 00 07 FF 01 F0 00
//1 SCTP.SEND <Release Indication>
//01 00 05 0A 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00
1000 SCTP.RECV <Release req>
01 00 05 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00

View File

@@ -0,0 +1,33 @@
#include "headfile.txt"
test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP
0 send <Release>
A6 02 03 00 02 00
10 send <Disable>
A6 02 03 00 06 00
10 send <Enable>
A6 02 03 00 07 00
100 send <Establish>
A6 02 03 00 01 00
10 send <data>
06 02 03 FF 01 F0
1000 recv <data>
??
10 send <data>
06 02 03 FF 01 F1
1000 recv <data>
??
100 send <Release>
A6 02 03 00 02 00
50 send <Disable>
A6 02 03 00 06 00

View File

@@ -0,0 +1,61 @@
#include "headfile.txt"
test 1 sctp<SCTP>
SCTP.SET REMOTE_IP=MSC_IP
SCTP.SET REMOTE_PORT=M2UA_CPORT
SCTP.SET LOCAL_PORT=M2UA_PORT
SCTP.SET STREAM_ID=1
50 SCTP.SET server
1000 SCTP.RECV <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 ?? ?? ?? ??
//ip
0 SCTP.send <asp up ack>
01 00 03 04 00 00 00 08
0 SCTP.send <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 02
1000 SCTP.FLTR <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 ?? ?? ?? ??
//ip 3
1000 SCTP.RECV <asp active>
01 00 04 01 00 00 00 18 00 0B 00 08 00 00 00 01 00 01 00 08 00 00 00 00
0 SCTP.send <asp active ack>
01 00 04 03 00 00 00 10 00 0B 00 08 00 00 00 01
0 SCTP.send <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 03
1000 SCTP.RECV <Establish req>
01 00 06 02 00 00 00 10 00 01 00 08 00 00 00 00
0 SCTP.send <Establish cnf>
01 00 06 03 00 00 00 10 00 01 00 08 00 00 00 00
1000 SCTP.RECV <Data>
??
0 SCTP.SEND <Data Indication>
01 00 06 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F0 00
1000 SCTP.RECV <Data>
??
0 SCTP.SEND <Data Indication>
01 00 06 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F1 00
// 1 SCTP.SEND <Release Indication>
// 01 00 06 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F0 00
1000 SCTP.RECV <Release req>
01 00 06 04 00 00 00 10 00 01 00 08 00 00 00 00
//stop
0 SCTP.send <Release cnf>
01 00 06 05 00 00 00 10 00 01 00 08 00 00 00 00
1000 SCTP.RECV <Release req>
?

View File

@@ -0,0 +1,80 @@
#include "headfile.txt"
test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP
0 send <IUA_QPTM_MSG Disable>
A5 01 03 00 06 00
10 send <IUA_QPTM_MSG Enable>
A5 01 03 00 07 00
test 2<sctp>
SCTP.SET REMOTE_IP=MSC_IP
SCTP.SET REMOTE_PORT=IUA_PORT
SCTP.SET LOCAL_PORT=IUA_CPORT
SCTP.SET STREAM_ID=0
5 SCTP.SET CLIENT
50 SCTP.SEND <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 AC 36 F0 A0 //ip
1000 SCTP.RECV <asp up ack>
01 00 03 04 00 00 00 08
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 02
0 SCTP.SEND <asp active>
01 00 04 01 00 00 00 10 00 0B 00 08 00 00 00 01
1000 SCTP.RECV <asp active ack>
01 00 04 03 00 00 00 10 00 0B 00 08 00 00 00 01
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 03
0 SCTP.SEND <Establish>
01 00 05 05 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00
1000 SCTP.RECV <Establish cnf>
01 00 05 06 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00
1 SCTP.SEND <version error>
02 00 05 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 01
1 SCTP.SEND <class error>
01 00 99 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 03
1 SCTP.SEND <type error>
01 00 05 99 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 04
0 SCTP.SEND <Data>
01 00 05 01 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0E 00 07 FF 01 F1 00
1000 SCTP.RECV <Data Indication>
??
0 SCTP.SEND <Data>
01 00 05 01 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0E 00 07 FF 01 F0 00
1000 SCTP.RECV <Data Indication>
??
1 SCTP.SEND <rel>
01 00 05 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00
1000 SCTP.RECV <rel cnf>
01 00 05 09 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00
1 SCTP.SEND <Inactive>
01 00 04 02 00 00 00 10
1000 SCTP.RECV <Inactive ack>
01 00 04 04 00 00 00 08
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 04
1 SCTP.SEND <Down>
01 00 03 02 00 00 00 10
1000 SCTP.RECV <Down ack>
01 00 03 05 00 00 00 08
test 3<sctp>
100 SCTP.SET ABORT

View File

@@ -0,0 +1,16 @@
#include "headfile.txt"
test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP
1000 recv <data>
??
10 send <data>
05 01 03 FF 01 F0
1000 recv <data>
??
10 send <data>
05 01 03 FF 01 F1

View File

@@ -0,0 +1,79 @@
#include "headfile.txt"
test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP
0 send <IUA_QPTM_MSG Disable>
A6 03 03 00 06 00
10 send <IUA_QPTM_MSG Enable>
A6 03 03 00 07 00
test 2<sctp>
SCTP.SET REMOTE_IP=MSC_IP
SCTP.SET REMOTE_PORT=M2UA_PORT
SCTP.SET LOCAL_PORT=M2UA_CPORT
SCTP.SET STREAM_ID=0
5 SCTP.SET CLIENT
100 SCTP.SEND <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 ?? ?? ?? ?? //ip
1000 SCTP.RECV <asp up ack>
01 00 03 04 00 00 00 08
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 02
0 SCTP.SEND <asp active>
01 00 04 01 00 00 00 10 00 0B 00 08 00 00 00 01
1000 SCTP.RECV <asp active ack>
01 00 04 03 00 00 00 10 00 0B 00 08 00 00 00 01
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 03
0 SCTP.SEND <Establish>
01 00 06 02 00 00 00 10 00 01 00 08 00 00 00 00
1000 SCTP.RECV <Establish cnf>
01 00 06 03 00 00 00 10 00 01 00 08 00 00 00 00
1 SCTP.SEND <version error>
02 00 06 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F0 00
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 01
1 SCTP.SEND <class error>
01 00 99 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F0 00
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 03
1 SCTP.SEND <type error>
01 00 06 99 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F0 00
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 04
0 SCTP.SEND <Data>
01 00 06 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F0 00
1000 SCTP.RECV <Data Indication>
??
0 SCTP.SEND <Data>
01 00 06 01 00 00 00 18 00 01 00 08 00 00 00 00 03 00 00 07 FF 01 F1 00
1000 SCTP.RECV <Data Indication>
??
1 SCTP.SEND <rel>
01 00 06 04 00 00 00 10 00 01 00 08 00 00 00 00
1000 SCTP.RECV <rel cnf>
??
1 SCTP.SEND <Inactive>
01 00 04 02 00 00 00 10
1000 SCTP.RECV <Inactive ack>
01 00 04 04 00 00 00 08
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 04
1 SCTP.SEND <Down>
01 00 03 02 00 00 00 10
1000 SCTP.RECV <Down ack>
01 00 03 05 00 00 00 08
test 3<sctp>
100 SCTP.SET ABORT

View File

@@ -0,0 +1,15 @@
#include "headfile.txt"
test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP
1000 recv <data>
??
10 send <data>
06 03 03 FF 01 F0
1000 recv <data>
??
10 send <data>
06 03 03 FF 01 F1

View File

@@ -0,0 +1,6 @@
#define MSC_IP 172.54.245.133
#define MSG_PORT 4955
#define IUA_PORT 9900
#define IUA_CPORT 19900
#define M2UA_PORT 2904
#define M2UA_CPORT 12904