Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

network_time_protocol::network_time_protocol

Signature: network_time_protocol::network_time_protocol(udp_socket* socket)
Attributes: undefined
Description: Constructor for the network time protocol class

Parameters:

network_time_protocol::on_udp_message

Signature: void network_time_protocol::on_udp_message(udp_socket *socket, uint8_t* data, size_t size)
Description: Handles a UDP message

Parameters:

Return: void

network_time_protocol::time

Signature: driver::clock_device::clock_result_t network_time_protocol::time()
Description: Gets the time

Return: driver::clock_device::clock_result_t

Show file on GitHub