#include <protocol.hpp>
|
| | TimeSync () |
| |
| | TimeSync (uint32_t fromID, uint32_t destID) |
| |
| | TimeSync (uint32_t fromID, uint32_t destID, uint32_t t0) |
| |
| | TimeSync (uint32_t fromID, uint32_t destID, uint32_t t0, uint32_t t1) |
| |
| | TimeSync (uint32_t fromID, uint32_t destID, uint32_t t0, uint32_t t1, uint32_t t2) |
| |
| | TimeSync (JsonObject jsonObj) |
| |
| JsonObject | addTo (JsonObject &&jsonObj) const |
| |
| void | reply (uint32_t newT0) |
| |
| void | reply (uint32_t newT1, uint32_t newT2) |
| |
| size_t | jsonObjectSize () const |
| |
| virtual | ~PackageInterface ()=default |
| |
◆ TimeSync() [1/6]
| painlessmesh::protocol::TimeSync::TimeSync |
( |
| ) |
|
|
inline |
◆ TimeSync() [2/6]
| painlessmesh::protocol::TimeSync::TimeSync |
( |
uint32_t |
fromID, |
|
|
uint32_t |
destID |
|
) |
| |
|
inline |
◆ TimeSync() [3/6]
| painlessmesh::protocol::TimeSync::TimeSync |
( |
uint32_t |
fromID, |
|
|
uint32_t |
destID, |
|
|
uint32_t |
t0 |
|
) |
| |
|
inline |
◆ TimeSync() [4/6]
| painlessmesh::protocol::TimeSync::TimeSync |
( |
uint32_t |
fromID, |
|
|
uint32_t |
destID, |
|
|
uint32_t |
t0, |
|
|
uint32_t |
t1 |
|
) |
| |
|
inline |
◆ TimeSync() [5/6]
| painlessmesh::protocol::TimeSync::TimeSync |
( |
uint32_t |
fromID, |
|
|
uint32_t |
destID, |
|
|
uint32_t |
t0, |
|
|
uint32_t |
t1, |
|
|
uint32_t |
t2 |
|
) |
| |
|
inline |
◆ TimeSync() [6/6]
| painlessmesh::protocol::TimeSync::TimeSync |
( |
JsonObject |
jsonObj | ) |
|
|
inline |
◆ addTo()
| JsonObject painlessmesh::protocol::TimeSync::addTo |
( |
JsonObject && |
jsonObj | ) |
const |
|
inlinevirtual |
◆ jsonObjectSize()
| size_t painlessmesh::protocol::TimeSync::jsonObjectSize |
( |
| ) |
const |
|
inlinevirtual |
◆ reply() [1/2]
| void painlessmesh::protocol::TimeSync::reply |
( |
uint32_t |
newT0 | ) |
|
|
inline |
Create a reply to the current message with the new time set
◆ reply() [2/2]
| void painlessmesh::protocol::TimeSync::reply |
( |
uint32_t |
newT1, |
|
|
uint32_t |
newT2 |
|
) |
| |
|
inline |
Create a reply to the current message with the new time set
◆ dest
| uint32_t painlessmesh::protocol::TimeSync::dest = 0 |
◆ from
| uint32_t painlessmesh::protocol::TimeSync::from = 0 |
◆ msg
◆ type
| int painlessmesh::protocol::TimeSync::type = TIME_SYNC |
The documentation for this class was generated from the following file: