Topic

FAQ
Login Register
ESB_GetRxDataSource() pipe id issue - TLSR8278 Dev Kit - 827x_2_4g_proprietary_sdk : SDKv3.3.0 -
Aug 14, 2021 21:15

/

A

/A



Hello, 


I am currently experiencing an issue when calling the sdk function : ESB_GetRxDataSource()


When I modify the esb_prx example as bellow :

if(1 == rx_flag)    {            

             rx_flag = 0;             

            length_pip_ret = ESB_ReadRxPayload(&rx_data);             Rx_interval_us = (ESB_GetTimestamp() - Timestamp_value) >> 4;             Timestamp_value = ESB_GetTimestamp();             

            Rssi_value = ESB_GetRxRssiValue();             

            pipe_rx = ESB_GetRxDataSource();

            [.....]


(pipe_rx as a volatile unsigned char, just adding the reading of data source to the example)


pipe_rx value when a message is received is correct the first 3 times when is wrong.

In my case : it indicates message received on pipe 0 for the first 3 messages (correct pipe) then it indicates pipe 3 (wrong pipe).


First screenshot after the first message received on Pipe 0 :



After several message receiving (rx without issue) the pipe_rx is 3. I noticed but I don't know ifit is related it is when rx_buf seems to be full that the issue appear.



Thanks for your help.


I can provide more data if required.


Best regards


No reply yet