<div>Thanks for the clarification. I'm developing in an unencrypted private network so it did not strike me!</div><div><br></div><div>>>If you want to save the cleartext decoded burst, use tcpdump or wireshark.<br>
<div class="im"><br></div></div><div class="im">I would like to extract only the SMS messages sent to me and save the text only automatically from within my modified ccch_scan, without using external monitoring tools like wireshark.</div>
<div class="im"><br></div><div class="im">1. From what I have figured out so far, I need to catch the L2 packets at the point where they are sent on gsmtap_send(), and then apply my own decode to filter out SMS messages and extract data. Is this correct so far?</div>
<div class="im"><br></div><div class="im">2. What reference material would you recommend for L2 packet formats? I checked the 3gpp website, but there are so many versions of all specs that I cannot figure what to use, and could not figure out where the format definitions are given. Is there a better site generally for GSM specs? Or should I be able to figure this out from the mobile app code alone? (I tried that but kind of got lost in the call setup process. I will try again anyway!)</div>
<div class="im"><br></div><div class="im">Thanks for your prompt guidance.</div><div class="im"><br></div><div class="im">B.</div><br><br><div class="gmail_quote">On Sun, Dec 30, 2012 at 6:06 PM, Sylvain Munaut <span dir="ltr"><<a href="mailto:246tnt@gmail.com" target="_blank">246tnt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
<br>
> Would it not be more useful to save burst data after local_burst_decode?<br>
<br>
</div>After  local_burst_decode they are not bursts anymore, they are L2<br>
packets and that call only works if either it's unciphered or if you<br>
know the key.<br>
<br>
If you want to save the cleartext decoded burst, use tcpdump or wireshark.<br>
<div class="im"><br>
<br>
> Is there some utility in storing it in its raw form? Looks like I am missing<br>
> something?<br>
<br>
</div>They're stored by by ccch_scan ... but there are no utility to use<br>
those data, you have to write an utility to use those data in any way<br>
you'd like.<br>
<br>
<br>
Cheers,<br>
<br>
      Sylvain<br>
</blockquote></div><br>