it means that no padding is used to align struct field on word boundaries.
This is a normal way to do things when a struct is to be written in a file or
any other data stream.
Regards
Sebastien
Le 10/12/2012 14:46, g.roelant(a)telenet.be a écrit :
Is this the structure of the dat files?
struct l1ctl_burst_ind {
uint32_t frame_nr;
uint16_t band_arfcn; /* ARFCN + band + ul indicator */
uint8_t chan_nr; /* GSM 08.58 channel number (9.3.1) */
uint8_t flags; /* BI_FLG_xxx + burst_id = 2LSBs */
uint8_t rx_level; /* 0 .. 63 in typical GSM notation (dBm+110) */
uint8_t snr; /* Reported SNR >> 8 (0-255) */
uint8_t bits[15]; /* 114 bits + 2 steal bits. Filled MSB first */
} __attribute__((packed));
what does packed mean?
--------------------------------------------------------------------------------
*Van: *"g roelant" <g.roelant(a)telenet.be>
*Aan: *"osmocomBB" <baseband-devel(a)lists.osmocom.org>
*Verzonden: *Maandag 10 december 2012 12:36:49
*Onderwerp: *bursts dat files
Hi,
I'm using the sylvain/burst_ind branch and ccch_scan.
this produces bursts files.
with which application can i view them? what is the format of these dat files?
i cannot open them with wireshark...
any hints?
kind regards