init ems server code

This commit is contained in:
simonzhangsz committed 2024-09-27 15:39:34 +08:00
1 parent 9d4009aaca
commit 9930e4e58f
1551 files changed
+110216 -102864

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include "headfile.txt"
test 1 sctp<iua data>
SCTP.Set remote_ip=RE_IP;
SCTP.Set remote_port=RE_PORT;
SCTP.Set local_port=LO_PORT;
SCTP.Set STREAM_ID=1
50 SCTP.Set server
0 SCTP.Send <data>
01 00 05 01 00 00 00 20 //common message header(version,spare,message class,message type,message length(ËùÓеij¤¶È))
00 01 00 08 00 00 00 00 //iua message header(tag,length,interface id)
00 05 00 08 00 00 00 00 //iua message header(tag,length,DLCI)
00 0E 00 08 //iua message(tag,length(ÕûÌõiua messageµÄ³¤¶È))
FF 01 F0 02; //iua message(protocol data)
1000 SCTP.Recv <asp up ack>
?? //common message header