[srsran-users] R: srsran-users Digest, Vol 88, Issue 3

Alessandro Amici A.Amici at outlook.it
Fri Jun 3 15:15:48 UTC 2022


Ty very much for your help!
Yes i confirm that the data lenght should be :

1 + (pdsch_cfg.grant.tb[tb].tbs - 1) / 8

Ty again for your help!
________________________________
Da: srsran-users <srsran-users-bounces at lists.srsran.com> per conto di srsran-users-request at lists.srsran.com <srsran-users-request at lists.srsran.com>
Inviato: venerdì 3 giugno 2022 05:00
A: srsran-users at lists.srsran.com <srsran-users at lists.srsran.com>
Oggetto: srsran-users Digest, Vol 88, Issue 3

Send srsran-users mailing list submissions to
        srsran-users at lists.srsran.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.srsran.com/mailman/listinfo/srsran-users
or, via email, send a message with subject or body 'help' to
        srsran-users-request at lists.srsran.com

You can reach the person managing the list at
        srsran-users-owner at lists.srsran.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of srsran-users digest..."


Today's Topics:

   1. Re: Paging Sniffer Help (Robert Falkenberg)


----------------------------------------------------------------------

Message: 1
Date: Thu, 2 Jun 2022 21:32:06 +0200
From: Robert Falkenberg <robert.falkenberg at srs.io>
To: srsran-users at lists.srsran.com
Subject: Re: [srsran-users] Paging Sniffer Help
Message-ID: <d6fb0650-cab7-0b5b-ec97-83afd6e5552c at srs.io>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi Alessandro,

take a look at the following lines in |pdsch_ue.c|. This should give you
an example on how to the decoded data can be accessed.

|for (uint32_t tb = 0; tb < SRSRAN_MAX_CODEWORDS; tb++) { if
(pdsch_cfg.grant.tb[tb].enabled) { srsran_netsink_write(&net_sink,
data[tb], 1 + (pdsch_cfg.grant.tb[tb].tbs - 1) / 8); } } |

Best regards,
Robert

On 01.06.22 13:29, Alessandro Amici wrote:

> Hi all guys!
>
> Sorry to bother you, I was trying to implement a sniffer for paging
> messages and have made some progress but I am not sure i'm doing it
> right: is it correct to say that the paging information is contained
> within the file /lib/examples/pdsch_ue.c inside thestruct data[0] ? Is
> it correct to try to print the uint8_t as a hexadecimal using the line
> of code:
>
>
> for (int i=0; i<len; i++){
> ? ? fprintf(output_file, " %02x", data[0][i]);
> ? }
>
> Where len should be the size of data[0].
>
> And finally is there any variable that indicates the length of the
> message you want to decode, so the size of data[0] in this case?
>
> Sorry again for the trouble and thanks for the help!
>
> Alessandro
>
> _______________________________________________srsran-users mailinglistsrsran-users at lists.srsran.comhttps://lists.srsran.com/mailman/listinfo/srsran-users

?
--


      RobertFalkenberg

Senior Engineer

Software Radio Systems






        robert at srs.io <mailto:robert at srs.io>

        www.srs.io <//www.srs.io>

        Dortmund, Germany





twitter <https://twitter.com/srssystems>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220602/debdd8c8/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
srsran-users mailing list
srsran-users at lists.srsran.com
https://lists.srsran.com/mailman/listinfo/srsran-users


------------------------------

End of srsran-users Digest, Vol 88, Issue 3
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220603/a772cdee/attachment-0001.htm>


More information about the srsran-users mailing list