|
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_set_receive_option(EndMarker, EndMarker_None);
i=lrs_get_last_received_buffer_size ("socket0");
lrs_save_searched_string("socket0", "buf1","notice","LB/BIN=serialid","RB/BIN=serialid",1,10,80);
lr_output_message("notice is %s",lr_eval_string("<notice>"));
data.ws里的值为"<serialid>6637</serialid>\n"
无论我怎么修改lrs_save_searched_string的参数,总是提示:
vuser_init.c(27): lrs_save_searched_string(socket0, buf1, notice, LB/BIN=, RB/BIN=, 1, 10, 80)
vuser_init.c(27): lrs_save_searched_string: Can't use both size and right boundary
vuser_init.c(27): Error : lrs_save_searched_string : parameter is invalid. Error code : 9005.
要怎么修改呢? |
|