2 # SMRSE conformation file
20 #.FN_BODY SMS-Address/address-value/octet-format
21 char *strp,tmpstr[21];
22 guint32 i, start_offset;
27 static char n2a[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
31 /* skip the tag and length */
32 offset=dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
33 offset=dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
39 *strp++=n2a[tvb_get_guint8(tvb, offset)&0x0f];
40 *strp++=n2a[(tvb_get_guint8(tvb, offset)>>4)&0x0f];
45 proto_tree_add_string(tree, hf_smrse_Octet_Format, tvb, start_offset, offset-start_offset, tmpstr);