This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

wireshark-xml-dissector

0

Hi currently i'm writing xml and dissecting the xml through wireshark,but i'm facing with one issue if anybody help me

i need to modify the below logic:

nas_system_information_gsm_map = octet(1+ val(len_nas_system_information_gsm_map),

the code for this logic in attachment 1 please verify the attachment-1 ,it contains xml code it is showing in wireshark in the below written way:

len_nas_system_information_gsm_map = 111 bit (3) = 7 
nas_system_information_gsm_map = 0000 0001 bit (8) = 1

but i need to implement the logic in this form :

nas_system_information_gsm_map = octet(1+ val(len_nas_system_information_gsm_map)

it means,this field nas_system_information_gsm_map has to repeat up to 8 times and it has to decode 8 bits for each iteration can any body help me how to write this logic in xml..

asked 25 Jul '14, 04:58

sagar's gravatar image

sagar
11445
accept rate: 0%

edited 25 Jul '14, 15:55

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196

https://osqa-ask.wireshark.org/upfiles/sample_2.png ==> see the image in this link it contains xml code

(25 Jul '14, 04:59) sagar

https://osqa-ask.wireshark.org/upfiles/sample2_1.png ==> displaying my code snapshot in this link

(25 Jul '14, 05:01) sagar