Skip to content

Commit

Permalink
upper limit for latency is 499
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenRobitzki committed Oct 3, 2023
1 parent b231237 commit 0e5fe0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bluetoe/link_layer/include/bluetoe/ll_options.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ namespace link_layer
{
static constexpr std::uint16_t interval_minimum = 5u;
static constexpr std::uint16_t interval_maximum = 3200u;
static constexpr std::uint16_t latency_maximum = 500u;
static constexpr std::uint16_t latency_maximum = 499u;

const std::uint8_t* const body = Layout::body( request ).first;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE( Accepting_Connection_Parameter_Request__illegal_p
0x0F, // LL_CONNECTION_PARAM_REQ
5, 0x00, // min interval
10, 0x00, // max interval
0xf5, 0x01, // latency 501
0xf4, 0x01, // latency 500
(3 * 20 * 4) & 0xff, (4 * 20 * 4) >> 8, // timeout
0x00, // prefered periodicity (none)
0xff, 0xff, // ReferenceConnEventCount
Expand Down

0 comments on commit 0e5fe0d

Please sign in to comment.