* [PATCH] Documentation: HAL IPC uses 4 octects for socket channel
@ 2015-02-03 8:47 Thomas Zimmermann
2015-02-03 11:35 ` Szymon Janc
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Zimmermann @ 2015-02-03 8:47 UTC (permalink / raw)
To: linux-bluetooth
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
The documentations says that the HAL IPC uses 2 octets for socket
channels, while |struct hal_cmd_socket_{listen,connect}| contain 4
octets. This patch fixes the documentation accordingly.
[-- Attachment #2: 0001-Documentation-HAL-IPC-uses-4-octects-for-socket-chan.patch --]
[-- Type: text/x-patch, Size: 1479 bytes --]
>From 53c14fc8c07bf4196b61b3b7809dbe02313c49a7 Mon Sep 17 00:00:00 2001
From: Thomas Zimmermann <tdz@users.sourceforge.net>
Date: Tue, 3 Feb 2015 09:37:47 +0100
Subject: [PATCH] Documentation: HAL IPC uses 4 octects for socket channel
The documentations says that the HAL IPC uses 2 octets for socket
channels, while |struct hal_cmd_socket_{listen,connect}| contain 4
octets. This patch fixes the documentation accordingly.
Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
---
android/hal-ipc-api.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index f15c12e..515cf4e 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -456,7 +456,7 @@ Commands and responses:
Command parameters: Socket type (1 octet)
Service name (256 octets)
Service UUID (16 octets)
- Channel (2 octets)
+ Channel (4 octets)
Socket flags (1 octet)
Response parameters: File descriptor (inline)
@@ -474,7 +474,7 @@ Commands and responses:
Command parameters: Remote address (6 octets)
Socket type (1 octet)
Service UUID (16 octets)
- Channel (2 octets)
+ Channel (4 octets)
Socket flags (1 octet)
Response parameters: File descriptor (inline)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: HAL IPC uses 4 octects for socket channel
2015-02-03 8:47 [PATCH] Documentation: HAL IPC uses 4 octects for socket channel Thomas Zimmermann
@ 2015-02-03 11:35 ` Szymon Janc
2015-02-03 11:45 ` Thomas Zimmermann
0 siblings, 1 reply; 3+ messages in thread
From: Szymon Janc @ 2015-02-03 11:35 UTC (permalink / raw)
To: Thomas Zimmermann; +Cc: linux-bluetooth
Hi Thomas,
On Tuesday 03 of February 2015 09:47:59 Thomas Zimmermann wrote:
> The documentations says that the HAL IPC uses 2 octets for socket
> channels, while |struct hal_cmd_socket_{listen,connect}| contain 4
> octets. This patch fixes the documentation accordingly.
I've applied the patch, thanks.
Some notes though:
- I've fixed commit message prefix (we try to keep those consistent for
easier history view)
- I've removed SoB line - we don't use it in userspace code
- for any future submissions please send patch inline (ie with git send-email)
instead of attaching it
--
Best regards,
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: HAL IPC uses 4 octects for socket channel
2015-02-03 11:35 ` Szymon Janc
@ 2015-02-03 11:45 ` Thomas Zimmermann
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Zimmermann @ 2015-02-03 11:45 UTC (permalink / raw)
To: Szymon Janc; +Cc: linux-bluetooth
Hi
Am 03.02.2015 um 12:35 schrieb Szymon Janc:
> Hi Thomas,
>
> On Tuesday 03 of February 2015 09:47:59 Thomas Zimmermann wrote:
>> The documentations says that the HAL IPC uses 2 octets for socket
>> channels, while |struct hal_cmd_socket_{listen,connect}| contain 4
>> octets. This patch fixes the documentation accordingly.
> I've applied the patch, thanks.
>
> Some notes though:
> - I've fixed commit message prefix (we try to keep those consistent for
> easier history view)
> - I've removed SoB line - we don't use it in userspace code
> - for any future submissions please send patch inline (ie with git send-email)
> instead of attaching it
Thanks a lot and sorry about the issues. It's my first patch here, I'll
try to do better.
Best regards
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-03 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03 8:47 [PATCH] Documentation: HAL IPC uses 4 octects for socket channel Thomas Zimmermann
2015-02-03 11:35 ` Szymon Janc
2015-02-03 11:45 ` Thomas Zimmermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).