packet_print_features_ll(pdu->features);
}
+static void conn_param_req(const void *data, uint8_t size)
+{
+ const struct bt_ll_conn_param_req *pdu = data;
+
+ print_field("Interval min: %.2f msec (0x%4.4x)",
+ pdu->interval_min * 1.25, pdu->interval_min);
+ print_field("Interval max: %.2f msec (0x%4.4x)",
+ pdu->interval_max * 1.25, pdu->interval_max);
+ print_field("Latency: %d (0x%4.4x)", pdu->latency, pdu->latency);
+ print_field("Timeout: %d msec (0x%4.4x)", pdu->timeout * 10,
+ pdu->timeout);
+ print_field("Preffered periodicity: %.2f (0x%2.2x)",
+ pdu->pref_period * 1.25, pdu->pref_period);
+ print_field("Reference connection event count: %d (0x%2.2x)",
+ pdu->pref_conn_evt_count, pdu->pref_conn_evt_count);
+ print_field("Offset 0: %.2f msec (0x%2.2x)", pdu->offset_0 * 1.25,
+ pdu->offset_0);
+ print_field("Offset 1: %.2f msec (0x%2.2x)", pdu->offset_1 * 1.25,
+ pdu->offset_1);
+ print_field("Offset 2: %.2f msec (0x%2.2x)", pdu->offset_2 * 1.25,
+ pdu->offset_2);
+ print_field("Offset 3: %.2f msec (0x%2.2x)", pdu->offset_3 * 1.25,
+ pdu->offset_3);
+ print_field("Offset 4: %.2f msec (0x%2.2x)", pdu->offset_4 * 1.25,
+ pdu->offset_4);
+ print_field("Offset 5: %.2f msec (0x%2.2x)", pdu->offset_5 * 1.25,
+ pdu->offset_5);
+}
+
+static void conn_param_rsp(const void *data, uint8_t size)
+{
+ const struct bt_ll_conn_param_rsp *pdu = data;
+
+ print_field("Interval min: %.2f msec (0x%4.4x)",
+ pdu->interval_min * 1.25, pdu->interval_min);
+ print_field("Interval max: %.2f msec (0x%4.4x)",
+ pdu->interval_max * 1.25, pdu->interval_max);
+ print_field("Latency: %d (0x%4.4x)", pdu->latency, pdu->latency);
+ print_field("Timeout: %d msec (0x%4.4x)", pdu->timeout * 10,
+ pdu->timeout);
+ print_field("Preffered periodicity: %.2f (0x%2.2x)",
+ pdu->pref_period * 1.25, pdu->pref_period);
+ print_field("Reference connection event count: %d (0x%2.2x)",
+ pdu->pref_conn_evt_count, pdu->pref_conn_evt_count);
+ print_field("Offset 0: %.2f msec (0x%2.2x)", pdu->offset_0 * 1.25,
+ pdu->offset_0);
+ print_field("Offset 1: %.2f msec (0x%2.2x)", pdu->offset_1 * 1.25,
+ pdu->offset_1);
+ print_field("Offset 2: %.2f msec (0x%2.2x)", pdu->offset_2 * 1.25,
+ pdu->offset_2);
+ print_field("Offset 3: %.2f msec (0x%2.2x)", pdu->offset_3 * 1.25,
+ pdu->offset_3);
+ print_field("Offset 4: %.2f msec (0x%2.2x)", pdu->offset_4 * 1.25,
+ pdu->offset_4);
+ print_field("Offset 5: %.2f msec (0x%2.2x)", pdu->offset_5 * 1.25,
+ pdu->offset_5);
+}
+
static void reject_ind_ext(const void *data, uint8_t size)
{
const struct bt_ll_reject_ind_ext *pdu = data;
{ 0x0c, "LL_VERSION_IND", version_ind, 5, true },
{ 0x0d, "LL_REJECT_IND", reject_ind, 1, true },
{ 0x0e, "LL_PERIPHERAL_FEATURE_REQ", peripheral_feature_req, 8, true },
- { 0x0f, "LL_CONNECTION_PARAM_REQ", NULL, 23, true },
- { 0x10, "LL_CONNECTION_PARAM_RSP", NULL, 23, true },
+ { 0x0f, "LL_CONNECTION_PARAM_REQ", conn_param_req, 23, true },
+ { 0x10, "LL_CONNECTION_PARAM_RSP", conn_param_rsp, 23, true },
{ 0x11, "LL_REJECT_IND_EXT", reject_ind_ext, 2, true },
{ 0x12, "LL_PING_REQ", null_pdu, 0, true },
{ 0x13, "LL_PING_RSP", null_pdu, 0, true },