Re: [EXT] Re: Re: socket CAN timestamp missing

2025-03-07 Thread Javier Casas Marin
ssion. > > Feel free to send in a PR I'll review it. > > Yours sincerely, > > Peter van der Perk > > -Original Message- > From: Javier Casas Marin > Sent: Thursday, March 6, 2025 5:25 PM > To: dev@nuttx.apache.org > Subject: Re: Re: socket CAN timestamp mi

RE: [EXT] Re: Re: socket CAN timestamp missing

2025-03-06 Thread Peter van der Perk
, March 6, 2025 5:25 PM To: dev@nuttx.apache.org Subject: Re: Re: socket CAN timestamp missing Hi Peter, I was thinking about that, the thing is that we are using Nuttx as a submodule in our system and we haven't updated it in a while so right now we are using a quite older version and I&#

Re: Re: socket CAN timestamp missing

2025-03-06 Thread Javier Casas Marin
sincerely, > > Peter van der Perk > > -Original Message- > From: Javier Casas Marin > Sent: Thursday, March 6, 2025 2:59 PM > To: dev@nuttx.apache.org > Subject: Re: socket CAN timestamp missing > > Caution: This is an external email. Please take care when clicking

RE: Re: socket CAN timestamp missing

2025-03-06 Thread Peter van der Perk
2BcVzdMZPrTpl1GcKUUfszm9 > tDf1Oi1K%2FN%2F6kqF4%3D&reserved=0 > > I think moving the code up would fix it. > > Yours sincerely, > > Peter van der Perk > > -Original Message----- > From: Javier Casas Marin > Sent: Wednesday, March 5, 2025 2:27 PM >

Re: socket CAN timestamp missing

2025-03-06 Thread Javier Casas Marin
f57863b880d723aa83c56/net/can/can_callback.c#L123-136 > > I think moving the code up would fix it. > > Yours sincerely, > > Peter van der Perk > > -Original Message- > From: Javier Casas Marin > Sent: Wednesday, March 5, 2025 2:27 PM > To: dev@nuttx.apache.org

RE: socket CAN timestamp missing

2025-03-05 Thread Peter van der Perk
g the code up would fix it. Yours sincerely, Peter van der Perk -Original Message- From: Javier Casas Marin Sent: Wednesday, March 5, 2025 2:27 PM To: dev@nuttx.apache.org Subject: socket CAN timestamp missing Hi Nuttxaddicts, After configuring the CAN socket with SO_TIMESTAMP

socket CAN timestamp missing

2025-03-05 Thread Javier Casas Marin
Hi Nuttxaddicts, After configuring the CAN socket with SO_TIMESTAMP, the application reading the socket is sometimes getting an empty timestamp in some situations. I've been debugging this issue and I this is what I found: There are two paths when receiving a CAN frame from the interrupt, if ther