<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
it means that no padding is used to align struct field on word
boundaries.<br>
This is a normal way to do things when a struct is to be written in
a file or any other data stream.<br>
<br>
Regards<br>
Sebastien<br>
<br>
<div class="moz-cite-prefix">Le 10/12/2012 14:46, <a
class="moz-txt-link-abbreviated"
href="mailto:g.roelant@telenet.be">g.roelant@telenet.be</a> a
écrit :<br>
</div>
<blockquote
cite="mid:ce5e1160-1bc9-4a7f-943d-6c76bf0206c9@chipo.telenet-ops.be"
type="cite">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: arial,helvetica,sans-serif; font-size:
10pt; color: #000000">
<p>Is this the structure of the dat files?</p>
<p> </p>
<p>struct l1ctl_burst_ind {<br>
uint32_t frame_nr;<br>
uint16_t band_arfcn; /* ARFCN + band + ul
indicator */<br>
uint8_t chan_nr; /* GSM 08.58 channel number
(9.3.1) */<br>
uint8_t flags; /* BI_FLG_xxx + burst_id =
2LSBs */<br>
uint8_t rx_level; /* 0 .. 63 in typical GSM notation
(dBm+110) */<br>
uint8_t snr; /* Reported SNR >> 8
(0-255) */<br>
uint8_t bits[15]; /* 114 bits + 2 steal bits. Filled MSB
first */<br>
} __attribute__((packed));<br>
</p>
<p>what does packed mean?<br>
<br>
</p>
<p> </p>
<hr id="zwchr">
<div style="FONT-STYLE: normal; FONT-FAMILY:
Helvetica,Arial,sans-serif; COLOR: #000; FONT-SIZE: 12pt;
FONT-WEIGHT: normal; TEXT-DECORATION: none"><b>Van: </b>"g
roelant" <a class="moz-txt-link-rfc2396E"
href="mailto:g.roelant@telenet.be"><g.roelant@telenet.be></a><br>
<b>Aan: </b>"osmocomBB" <a class="moz-txt-link-rfc2396E"
href="mailto:baseband-devel@lists.osmocom.org"><baseband-devel@lists.osmocom.org></a><br>
<b>Verzonden: </b>Maandag 10 december 2012 12:36:49<br>
<b>Onderwerp: </b>bursts dat files<br>
<br>
<style>p { margin: 0; }</style>
<div style="FONT-FAMILY: arial,helvetica,sans-serif; COLOR:
#000000; FONT-SIZE: 10pt">
<p><br>
Hi,</p>
<p> </p>
<p>I'm using the sylvain/burst_ind branch and ccch_scan.</p>
<p>this produces bursts files.</p>
<p> </p>
<p>with which application can i view them? what is the
format of these dat files?</p>
<p> </p>
<p>i cannot open them with wireshark...</p>
<p> </p>
<p>any hints?</p>
<p> </p>
<p>kind regards</p>
<p> </p>
</div>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>