Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
#include <logging/cs_Logger.h>
#include <presence/cs_PresenceCondition.h>
#include <presence/cs_PresencePredicate.h>
#include <time/cs_TimeOfDay.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <typeinfo>
Go to the source code of this file.
Namespaces | |
namespace | WireFormat |
Macros | |
#define | LOGWireFormat(...) LOGnone(__VA_ARGS__) |
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Sep 24, 2019 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) More... | |
Functions | |
template<class T > | |
T::SerializedDataType | WireFormat::serialize (T &obj) |
template<class T > | |
constexpr size_t | WireFormat::size (T *=nullptr) |
template<class T > | |
T | WireFormat::deserialize (uint8_t *data, size_t len) |
data will be copied as few times as possible, but the constructed object is not emplaced over the [data] pointer passed as parameter. More... | |
std::array< uint8_t, 1 > | WireFormat::serialize (const uint8_t &obj) |
std::array< uint8_t, 4 > | WireFormat::serialize (const uint32_t &obj) |
std::array< uint8_t, 4 > | WireFormat::serialize (const int32_t &obj) |
std::array< uint8_t, 8 > | WireFormat::serialize (const uint64_t &obj) |
template<> | |
constexpr size_t | WireFormat::size< uint8_t > (uint8_t *) |
template<> | |
constexpr size_t | WireFormat::size< int32_t > (int32_t *) |
template<> | |
constexpr size_t | WireFormat::size< uint32_t > (uint32_t *) |
template<> | |
constexpr size_t | WireFormat::size< uint64_t > (uint64_t *) |
template<> | |
constexpr size_t | WireFormat::size< const uint8_t > (const uint8_t *) |
template<> | |
constexpr size_t | WireFormat::size< const int32_t > (const int32_t *) |
template<> | |
constexpr size_t | WireFormat::size< const uint32_t > (const uint32_t *) |
template<> | |
constexpr size_t | WireFormat::size< const uint64_t > (const uint64_t *) |
#define LOGWireFormat | ( | ... | ) | LOGnone(__VA_ARGS__) |
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Sep 24, 2019 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)