linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mgmt-api: Add information about endianness
@ 2012-01-19  9:52 Szymon Janc
  2012-01-19 10:41 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Szymon Janc @ 2012-01-19  9:52 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: kanak.gupta, Szymon Janc

Management interface use little-endian byte order and this should be
clearly stated in documentation.
---
 doc/mgmt-api.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 8fe7c94..9627f25 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -23,6 +23,8 @@ Packet Structures
 	+-------------------+-------------------+-------------------+
 	|                                                           |
 
+All fields are in little-endian byte order (least significant byte first).
+
 Controller Index can have a special value <non-controller> to indicate that
 command or event is not related to any controller. Possible values:
 
-- 
on behalf of ST-Ericsson


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mgmt-api: Add information about endianness
  2012-01-19  9:52 [PATCH] mgmt-api: Add information about endianness Szymon Janc
@ 2012-01-19 10:41 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-01-19 10:41 UTC (permalink / raw)
  To: Szymon Janc; +Cc: linux-bluetooth, kanak.gupta

Hi Szymon,

On Thu, Jan 19, 2012, Szymon Janc wrote:
> Management interface use little-endian byte order and this should be
> clearly stated in documentation.
> ---
>  doc/mgmt-api.txt |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-19 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19  9:52 [PATCH] mgmt-api: Add information about endianness Szymon Janc
2012-01-19 10:41 ` Johan Hedberg

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).