xiaotailang commented on issue #10887:
URL: https://github.com/apache/nuttx/issues/10887#issuecomment-1909663383

   Hi@ PetteriAimonen, I am currently conducting a test with two STM32 boards 
where one is set as the master and the other as the slave. Upon re-examining 
the PTPd-related code in Nuttx 12.4, if I have these two STM32 boards connected 
directly via an Ethernet cable, how can I configure which board should act as 
the slave and which as the master? I noticed that when the PTPD_SERVER macro is 
enabled, it enables the board to send announce messages, indicating its 
capability to serve as a master clock. However, if this macro is enabled on 
both boards, how does the system determine which board becomes the master and 
which one becomes the slave?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to