srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.45k stars 1.14k forks source link

How to decode npdsch.pcap? #1173

Closed liuwei-network closed 1 year ago

liuwei-network commented 1 year ago

Issue Description

Hi! I followed this tutorial (https://docs.srsran.com/projects/4g/en/latest/app_notes/source/nbiot/source/index.html) to set up a NB-IoT testbed. But I cannot decode npdsch.pcap with wireshark. I found this pcap is with DLT 147, but this tutorial(https://docs.srsran.com/projects/4g/en/latest/usermanuals/source/srsue/source/2_ue_getstarted.html?highlight=pcap#observing-results) didn't cover 147. How should I config my wireshark to decode the pcap? This is an example pcap. And I confirmed that it worked well with srsGUI.

Screenshot from 2023-05-23 03-56-17

Thanks in advance!

brendan-mcauliffe commented 1 year ago

Hi @VLiu7,

If you go _Preferences > Protocols > DLTUSER

You can add an entry with the following details for DLT=147 to correctly decode the pcap:

image

(See the highlighted line)

liuwei-network commented 1 year ago

It works! Thanks a lot!