Clocksync in RIOT OS

Hello,

I’m working on implementing a custom clock synchronization protocol on Riot OS.

I saw that the earlier branch having well-known protocols (FTSP, GTSP, etc) implementation was merged to RIOT OS main branch and removed. Is there a separate branch in which these protocols are included now?

https://github.com/RIOT-OS/RIOT/pull/1538

Would it still work if I locally added the old protocol files and to the latest version and test it? Please advise.

Any directions in this regard would be a great help. Awaiting your response. Thanks.

Best Regards,

Nitin.

Research Associate Electrification Suite and Test Lab (ESTL)

TUMCREATE Tel. + 65-93742855

Hi Nitin,

Hello,

I’m working on implementing a custom clock synchronization protocol on Riot OS.

I saw that the earlier branch having well-known protocols (FTSP, GTSP, etc) implementation was merged to RIOT OS main branch and removed. Is there a separate branch in which these protocols are included now?

https://github.com/RIOT-OS/RIOT/pull/1538

Would it still work if I locally added the old protocol files and to the latest version and test it? Please advise.

No that won’t work, sadly. That PR is from a time before netdev [1] and before GNRC [2], the two components we nowadays do most of our networking over.

Any directions in this regard would be a great help. Awaiting your response. Thanks.

You might be able to re-use some code of PR 1537 and rework it to work with GNRC and netdev, but the quality of the PR isn’t up to our current expectations anymore (e.g. desvirt doesn’t really belong in there), so you would need to do a lot of cleanup.

I hope I was able to help.

Best Regards, Martine

[1] http://doc.riot-os.org/group__drivers__netdev__api.html

[2] http://doc.riot-os.org/group__net__gnrc.html