PDA

View Full Version : Searching Layer3 message decoder library



AlexSSS
2012-06-07, 12:07 AM
Searching Layer3 SM decoder library, for example I want to decode GSM Layer3 message recived as binary string: "0615B73701BF621A365FC0D5C68EC0BD3890" ?
Maybe exist related free lib or source code?

ninjafine
2012-06-07, 04:53 AM
Searching Layer3 SM decoder library, for example I want to decode GSM Layer3 message recived as binary string: "0615B73701BF621A365FC0D5C68EC0BD3890" ?
Maybe exist related free lib or source code?

Hi! Just an example how to start with decoding. Your string starting with 06 15 meaning Protocol discriminator = 06 (Radio resources management messages) and Message type = 15 (Measurement Report).
All you need is 3GPP TS 04.18. According to it 0615B73701... means

Protocol discriminator : (6) Radio resources management messages
Message type : (21) Measurement Report
BA USED : 1
DTX USED : (0) DTX is not used
RxLev Full Serving Cell : 55
3G BA USED : 0
MEAS VALID : (0) The measurement results are valid
RxLev Sub Serving Cell : 55
RxQual Full Serving Cell : 0
RxQual Sub Serving Cell : 0
Neighbour cell measurements
RxLev BSIC BCCH-INDEX :
...




Thanks and reps are appreciated.

AlexSSS
2012-06-07, 01:50 PM
Yes ninjafine, Iam know about 3GPP TS 04.18, but my question is: do you know any llib (.dll) or source code (C++,C#,java...) to do this action (decode L3SM)?


Hi! Just an example how to start with decoding. Your string starting with 06 15 meaning Protocol discriminator = 06 (Radio resources management messages) and Message type = 15 (Measurement Report).
All you need is 3GPP TS 04.18. According to it 0615B73701... means

Protocol discriminator : (6) Radio resources management messages
Message type : (21) Measurement Report
BA USED : 1
DTX USED : (0) DTX is not used
RxLev Full Serving Cell : 55
3G BA USED : 0
MEAS VALID : (0) The measurement results are valid
RxLev Sub Serving Cell : 55
RxQual Full Serving Cell : 0
RxQual Sub Serving Cell : 0
Neighbour cell measurements
RxLev BSIC BCCH-INDEX :
...




Thanks and reps are appreciated.

ninjafine
2012-06-08, 03:24 AM
Yes ninjafine, Iam know about 3GPP TS 04.18, but my question is: do you know any llib (.dll) or source code (C++,C#,java...) to do this action (decode L3SM)?


Hi! Please check this project.
PS. The source code for wireshark is available on their official website.

http://3gppdecoder.free.fr/?q=node/1

3GPP decoder
Decoder is a simple application using Wireshark to decode messages. It can decode most of the 3GPP messages:
- GSM
- WCDMA
- LTE
It can be used to decode as well protocols from the IP protocol suite.
You first need to install Wireshark 1.1.3 or later from www.wireshark.org (http://www.wireshark.org).

Thanks and reps are appreciated.

zaebolll
2012-06-15, 07:03 PM
thanks, i just tried for GSM part but i am only getting results when there is no any capital letter or blanks in message dump(HEX).