????????????????t3tri_template.c??????????triSAReset??????triExecuteTestcase??????triEndTestcase??????triMap????????????TRI_OK??
??????????triSend?????????м??? ???
????triEnqueueMsg(tsiPortId?? sutAddress?? componentId?? sendMessage);
???????踐????TRI_OK?????????????????????????????????????С?
??????????????????????????????
????????????У?????????????????????м?????1????‘ABCD’O????TTCN-3????????????????????????????????У?2????????????????????????3???????????????????????????????TTCN-3?????????4??????????ж????????????
??????????????TTCN-3??????????????????????????????????TTCN-3?в??????????????????????????octetstring???????????
??????????binary_string.h??binary_string.c??codec_plugin.c?????????????????????????????е?ttcn3tciCD?????????????
????codec_plugin.c ???????????????????????????
????binary_string.h??????????????????????弰????????????????????????????????
????????????????????tci_codec.c???
????????????????????£?
????????*************************
????BinaryString tciEncode(TciValue value) //????????????????ζ?ttcn-3???????????????е???
????void encode(MyBinaryString *msg?? TciValue value) // ??????????????????????????t??庯?????????б???
????void encode_octetstring(MyBinaryString *msg?? String str) // ?????????????ú?????octetstring??????б???
?????????? // ?????????????????????????????????????????
????????*************************
??????????????????????????????????????????????????????????????
?????????????????????????
//??octetstring???????????б???
void encode_octetstring(MyBinaryString *msg?? String str)
{
unsigned char * binstr;
unsigned char binvalue;
unsigned long len;
int i??k;
printf(" In function encode_octetstring() ");
//???????????к????????????O???????????
len = strlen(str);
for(i=0;i<len-3;i++)
str[i]=str[i+1];
str[i]='