|
2#
楼主 |
发表于 2009-2-16 10:15:10
|
只看该作者
buffer数据
#include "lrs.h"
Action()
{
lr_start_transaction("建立连接");
lrs_create_socket("socket0", "UDP", LrsLastArg);
lr_end_transaction("建立连接", LR_AUTO);
lr_rendezvous("发送");
lr_start_transaction("发送数据");
lrs_send("socket0", "buf0", "TargetSocket=ADMIN:19527", LrsLastArg);
lr_end_transaction("发送数据", LR_AUTO);
return 0;
}
buffer
;WSRData 2 1
send buf0 42185
"\x00\x05\x00\x01\x00\x00\x00\x00"
" \n " // 需要参数化的数据,采集点ID, 真实的数据应该是“10”,
// 录制成脚本就成“\n”,个人认为是“10”的十六进制(0A)对应的字符;
"\x00"
"v"
"\x01\x00\x00\x00\x01\x06\x05\xff"
"n蹺榻尜H窎,"
"\xd8"
" "
"\xd9"
"#铒x264 - core 49 - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.vi"
"deolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x"
"111 me=hex subme=5 brdo=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x"
"8dct=0 cqm=0 chroma_qp_offset=0 slices=1 nr=0 decimate=1 bframes=0 keyint="
"20 keyint_min=11 scenecut=40 rc=cqp qp=29 ip_ratio=1.40"
"\x00\x80\x00\x05\x00\x01\x01\x00\x00\x00"
"\n"
"\x00\x1b\x00\x00\x00\x00\x01"
"gB"
"\xc0"
"3"
"\xb9\x10"
"(?B"
"\x00\x00\x03\x00\x02\x00\x00\x03\x00"
"e"
"\x1e"
"0e@"
"\x00\x05\x00\x01\x02\x00\x00\x00"
"\n"
"\x00"
"\b"
"\x00\x00\x00\x00\x01"
"h"
"\xce"
"\r"
"\xc8\x00\x05\x00\x10\x03\x00\x00\x00"
"\n"
"\x00\xf4\x01\x00\x00\x00\x01"
"e垇"
"\x00\x1f"
"饉a\b+"
"\x8f\x01\xe6\x00"
"`"
"\x1d"
"0螵("
"\xd3"
"#r叱%"
"\xfa"
"\aA屇\br瑐厇"
"\x7f"
"瘼製"
"\x1f"
"(騬㊣k铤"
"\xef"
",D瑱臚_Q"
"\x11"
"U偤門"
"\xc5\x1b"
"|r"
"\xab"
"-"
"\xa0"
"!qx鸆羮a盘\""
"\x85\x10"
"Fe訢k=k獑Bビ"
"\xeb\x18"
"2讴"
"\xaa"
"\"-囆1J"
"\x10\x15\xa1\x01"
"("
"\x10"
"*鮔弽Ak "
"\xdc"
"\b"
"\x17"
"\f"
"\xee"
".A"
"\xac"
"4\f差"
"\x80"
"粝"
"\x13"
"(辡蘳Z-q}睾慐[Q"
"\x80\x18\xb0\x10\x12\xa3"
"/痆誜k藿"
"\x0e"
"*メ餃D麺C㊣倥}忒"
"\xb7\xff"
"滙譗褮"
"\xad"
"'謩伆"
"\x90"
";爉"
"\xff"
"澼鲞h"
"\xa0\x00\x14"
"J"
"\x1f"
"z"
"\x80"
"燎鄩祌"
"\xf6"应该是
[ 本帖最后由 vx19820 于 2009-2-16 13:56 编辑 ] |
|