* [PATCH BlueZ 0/1] Mesh HCI interface init scan interval fixed
@ 2020-08-31 16:11 Daan Pape
2020-08-31 16:11 ` [PATCH BlueZ 1/1] " Daan Pape
0 siblings, 1 reply; 3+ messages in thread
From: Daan Pape @ 2020-08-31 16:11 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Daan Pape
The HCI initialization function of bluetooth-meshd was not converting
to the correct byte order when initializing the LE Scan Parameters. This
is now fixed.
Daan Pape (1):
Mesh HCI interface init scan interval fixed
AUTHORS | 1 +
mesh/mesh-io-generic.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH BlueZ 1/1] Mesh HCI interface init scan interval fixed
2020-08-31 16:11 [PATCH BlueZ 0/1] Mesh HCI interface init scan interval fixed Daan Pape
@ 2020-08-31 16:11 ` Daan Pape
2020-08-31 16:22 ` [BlueZ,1/1] " bluez.test.bot
0 siblings, 1 reply; 3+ messages in thread
From: Daan Pape @ 2020-08-31 16:11 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Daan Pape
---
AUTHORS | 1 +
mesh/mesh-io-generic.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/AUTHORS b/AUTHORS
index 291d9b049..fd5d20cb2 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -107,3 +107,4 @@ Michał Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Jakub Witowski <jakub.witowski@silvair.com>
Rafał Gajda <rafal.gajda@silvair.com>
Szymon Czapracki <szymon.czapracki@codecoup.pl>
+Daan Pape <daan@dptechnics.com>
diff --git a/mesh/mesh-io-generic.c b/mesh/mesh-io-generic.c
index 67304d201..e65d87aab 100644
--- a/mesh/mesh-io-generic.c
+++ b/mesh/mesh-io-generic.c
@@ -213,8 +213,8 @@ static void configure_hci(struct mesh_io_private *io)
/* Set scan parameters */
cmd.type = 0x00; /* Passive Scanning. No scanning PDUs shall be sent */
- cmd.interval = 0x0030; /* Scan Interval = N * 0.625ms */
- cmd.window = 0x0030; /* Scan Window = N * 0.625ms */
+ cmd.interval = L_CPU_TO_LE16(0x0010); /* Scan Interval = N * 0.625ms */
+ cmd.window = L_CPU_TO_LE16(0x0010); /* Scan Window = N * 0.625ms */
cmd.own_addr_type = 0x00; /* Public Device Address */
/* Accept all advertising packets except directed advertising packets
* not addressed to this device (default).
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [BlueZ,1/1] Mesh HCI interface init scan interval fixed
2020-08-31 16:11 ` [PATCH BlueZ 1/1] " Daan Pape
@ 2020-08-31 16:22 ` bluez.test.bot
0 siblings, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2020-08-31 16:22 UTC (permalink / raw)
To: linux-bluetooth, daan
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
While we are preparing for reviewing the patches, we found the following
issue/warning.
Test Result:
checkgitlint Failed
Outputs:
3: B6 Body message is missing
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-31 16:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31 16:11 [PATCH BlueZ 0/1] Mesh HCI interface init scan interval fixed Daan Pape
2020-08-31 16:11 ` [PATCH BlueZ 1/1] " Daan Pape
2020-08-31 16:22 ` [BlueZ,1/1] " bluez.test.bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.