We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff3e60 commit 24e4726Copy full SHA for 24e4726
services/ble/Gap.cpp
@@ -1,12 +1,11 @@
1
#include "services/ble/Gap.hpp"
2
#include "infra/util/BoundedString.hpp"
3
-#include "infra/util/Endian.hpp"
4
#include "infra/util/MemoryRange.hpp"
5
#include "infra/util/Optional.hpp"
6
7
namespace
8
{
9
- void AddHeader(infra::BoundedVector<uint8_t>& payload, uint8_t length, services::GapAdvertisementDataType type)
+ void AddHeader(infra::BoundedVector<uint8_t>& payload, std::size_t length, services::GapAdvertisementDataType type)
10
11
payload.push_back(length + 1);
12
payload.push_back(static_cast<uint8_t>(type));
0 commit comments