init ems server code
This commit is contained in:
19
plat/isdn/ut/code/iua data.txt
Normal file
19
plat/isdn/ut/code/iua data.txt
Normal 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(<28><><EFBFBD>еij<D0B5><C4B3><EFBFBD>))
|
||||
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(<28><><EFBFBD><EFBFBD>iua message<67>ij<EFBFBD><C4B3><EFBFBD>))
|
||||
FF 01 F0 02; //iua message(protocol data)
|
||||
|
||||
1000 SCTP.Recv <asp up ack>
|
||||
?? //common message header
|
||||
|
||||
Reference in New Issue
Block a user