Marcel Holtmann
5acac4bfa7
lib: Update company identifiers
2015-03-31 13:56:19 -07:00
Luiz Augusto von Dentz
5e36d4e8ed
lib/uuid: Fix bt_uuid_to_le
...
bt_uuid_to_le is currently broken if the src uuid is type 32 bits since
it does the conversion to 128 bits but still uses the original value to
swap instead of the coverted one.
2015-03-30 16:49:54 +03:00
Richard Palethorpe
3d9fc0e100
lib: Fix compilation error in C++ due to inline function
...
This adds explicit typecasts to an inline function to make it C++
compatible. What follows is a sample error message from g++ when
compiling without this patch.
/usr/include/bluetooth/bluetooth.h:
In function 'void bswap_128(const void*, void*)':
/usr/include/bluetooth/bluetooth.h:348:21:
error: invalid conversion from 'const void*' to 'const uint8_t*
{aka const unsigned char*}' [-fpermissive]
const uint8_t *s = src;
2015-03-30 10:14:07 +03:00
Arman Uguray
4e5c00fc57
lib: Add macros for advertising instance flags
...
This patch adds macro definitions for possible advertising instance
flags that can be passed to the "Add Advertising" mgmt command.
2015-03-25 19:27:23 -07:00
Arman Uguray
32c93510e8
lib: Provide data structures for Add/Remove Advertising
...
This patch provides data structures and opcodes for the Add/Remove
Advertising commands and the Advertising Added/Removed events.
2015-03-24 01:47:08 +01:00
Marcel Holtmann
d5e8e85c1b
lib: Add management event strings for advertising added/removed
2015-03-16 16:49:24 -07:00
Marcel Holtmann
8ce5d05363
lib: Add mgmt event for local out-of-band data update notification
2015-03-16 16:02:16 -07:00
Johan Hedberg
0d468ec37c
lib/mgmt: Update mgmt command string-lookup table
2015-03-16 07:47:23 +02:00
Marcel Holtmann
091b1fcb61
lib: Provide data structures for local OOB extended data command
2015-03-14 21:29:24 -07:00
Marcel Holtmann
5726c06f8c
lib: Use single mgmt structure for legacy local OOB data
2015-03-14 21:27:48 -07:00
Marcel Holtmann
f13e9cbd58
lib: Add response structure for advertising features command
2015-03-14 20:28:49 -07:00
Marcel Holtmann
9a9e4313a9
lib: Change field name from class_of_dev to dev_class
2015-03-14 19:10:25 -07:00
Marcel Holtmann
6b1297b402
lib: Add permission denied management error code
2015-03-14 17:57:05 -07:00
Marcel Holtmann
705eacb667
lib: Add controller bus information to extended index command and events
2015-03-14 16:52:44 -07:00
Marcel Holtmann
4c254e5f05
lib: Add missing information for extended index list support
2015-03-14 14:16:27 -07:00
Marcel Holtmann
18a7af6211
lib: Add structure for extended index list mgmt command
2015-03-14 11:32:18 -07:00
Grzegorz Kolodziejczyk
10125a912d
profiles/network: Fix sending command responses
...
Command response can be three bytes long (in case if command is not
understood) 1 byte(packet type) + 1 byte(control type) + 1 byte(unknown
control type). Command response can be also four bytes long if it's
response for setup connection, filter net type and filter multi addr,
1 byte(packet type) + 1 byte(control type) + 2 byte(response message).
2015-03-12 11:08:00 +01:00
Marcel Holtmann
8b436aa4d3
lib: Update company identifiers
2015-03-11 16:15:13 +01:00
Johan Hedberg
a2aaf050cc
lib/mgmt: Add define for 'Already Paired' status
2015-03-11 11:18:59 +02:00
Johan Hedberg
96456910c8
lib/mgmt: Add 'Already Paired' error decoding
2015-03-10 22:38:50 +02:00
Marcel Holtmann
77b1bb7f50
lib: Add constant for MGMT_SETTING_STATIC_ADDRESS
2015-03-06 19:53:06 +01:00
Luiz Augusto von Dentz
232015aeef
lib/uuid: Fix bt_uuid_to_le for 128 Bits
...
The convention is that 128 Bits are always defined in big endian format
therefore the bytes always needs to be swapped.
2015-03-02 14:27:21 +02:00
Johan Hedberg
6271215e3d
mgmt: Update code to match updated New CSRK specification
...
The 'master' parameter was renamed to 'type' and now has two new
possible values.
2015-02-27 10:20:33 +02:00
Marcel Holtmann
90a0d6b53c
lib: Update company identifiers
2015-02-25 07:25:54 +01:00
Marcel Holtmann
357f1bbbec
lib: Use explicit include for lib/bluetooth.h
2015-02-18 06:24:57 +01:00
Marcel Holtmann
6591594843
lib: Update company identifiers
2015-02-16 19:08:06 +01:00
Luiz Augusto von Dentz
82a19daa37
uuid: Add bt_uuid_to_le
...
This adds bt_uuid_to_le and replace the use of put_uuid_le.
2015-02-16 11:21:24 +02:00
Marcel Holtmann
01170be4f0
lib: Update company identifiers
2015-02-02 09:12:58 +01:00
Marcel Holtmann
facc02a0ab
lib: Update company identifiers
2014-12-26 19:41:26 +01:00
Marcel Holtmann
e48a1489ac
lib: Add definitions and functions for handling LE resolving list
2014-12-17 07:02:51 +01:00
Marcel Holtmann
7b3c09e773
lib: Update company identifiers
2014-12-11 22:48:42 +01:00
Michael Janssen
e5af5138b1
lib/uuid: Simplify BT base UUIDs when possible
...
When converting a UUID from string to bt_uuid_t, prefer using
the 16-bit version when possible, which should generate shorter
sequences by increasing the number of 16-bit types.
2014-12-10 09:54:23 +02:00
Szymon Janc
13e787230b
lib: List all enum values in switch
...
As described in coding style M10.
2014-12-08 14:00:28 +01:00
Marcel Holtmann
015aee415f
lib: Use first HCI_UP adapter if non of them have a valid address
2014-12-07 15:51:56 +01:00
Marcel Holtmann
899b06316b
lib: Add check for valid device id to hci_open_dev
2014-12-07 15:41:51 +01:00
Marcel Holtmann
95fa5b26e2
lib: Add string for Start Service Discovery command
2014-12-05 14:26:13 +01:00
Marcel Holtmann
bd4e57bce5
lib: Update company identifiers
2014-12-04 16:05:17 +01:00
Marcel Holtmann
30e3ce212a
lib: Add version information for Bluetooth 4.2
2014-12-04 15:23:29 +01:00
Jakub Pawlowski
ca67344fdd
lib: Add start service discovery
...
This patch adds start service discovery definition for new kernel
method.
2014-12-04 14:12:26 +02:00
Johan Hedberg
0226480ce1
core: Always use extended remote_oob_data parameters
...
This paves the way for the P-256 parameters and sending zero values for
them is equal to using the non-extended version.
2014-11-19 13:33:09 +02:00
Gabriel Souza Franco
cf52a40302
lib: Change bluetooth.h to compile in strict C
2014-11-11 21:49:55 +02:00
Marcel Holtmann
6a9d25d115
lib: Update company identifiers
2014-11-09 21:15:00 +01:00
Marcel Holtmann
f6a27623d0
lib: Update company identifiers
2014-10-30 07:11:46 +01:00
Szymon Janc
784b0e1248
lib/uuid: Add define for GATT PnP ID UUID
2014-10-02 15:48:52 +02:00
Marcel Holtmann
6d6d69e0cb
lib: Update company identifiers
2014-10-02 07:51:01 +02:00
Marcel Holtmann
67656f8ec9
lib: Add function for reading remote LE features
2014-09-29 11:54:36 +02:00
Szymon Janc
b1ed44f5de
lib: Fix compilation error with musl
...
CC lib/hci.lo
In file included from lib/hci.c:39:0:
/usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect
#include <sys/poll.h> to <poll.h> [-Werror=cpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
cc1: all warnings being treated as errors
2014-09-24 21:31:13 +03:00
Marcel Holtmann
57af99eaed
lib: Update company identifiers
2014-09-08 05:03:20 +02:00
Luiz Augusto von Dentz
5f12d7a3da
lib/sdp: Split error handing for length and transaction id
...
This split the handling of invalid PDU length and not matching
transaction id adding proper debug logs.
2014-09-05 15:43:47 +03:00
Jakub Tyszkowski
f9bd117bce
lib/sdp: Fix typo
2014-09-04 11:36:40 +02:00