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

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

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

(25 Jul '14, 04:59) sagar

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

(25 Jul '14, 05:01) sagar
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×637
×36

question asked: 25 Jul '14, 04:58

question was seen: 4,114 times

last updated: 25 Jul '14, 15:55

p​o​w​e​r​e​d by O​S​Q​A