| 49199f79 |
Add support for creating devices from the stored LTK's |
Vinicius Costa Gomes |
14 years ago |
1 file, +106, -3 |
| f78ed180 |
proximity-api: Add Link Loss Alert for Proximity Reporter API
PropertyChanged signal for LinkLossAlertLevel property is emitted when a
given remote device writes a new value for the Alert Level
characteristic in the local Link Loss service. Each platform is free to
define the actions for the detected signal. |
Claudio Takahasi |
14 years ago |
1 file, +6, -0 |
| 5261599a |
proximity-api: Add Proximity Reporter API
Adds API for Immediate Alert Service(IAS) abstraction. IAS is used
by Proximity Monitors and Find Me Locators to notify the user that
reporter/target has been found. This new interface combines Proximity
Reporter and Find Me Target in the same API providing the flexibility
to implement external applications to control alerts(including per
device alerts).
This abstraction allows the development of platform specific
applications to control Immediate Alert coming from Proximity Monitor
and Find Me Locator. This provides flexibility to define different level
and tone for each device. Use case: watch finding a mobile phone. |
Claudio Takahasi |
14 years ago |
1 file, +32, -2 |
| e9a6ba3c |
Remove dead code from device_create_bonding
bonding_request_new always return valid pointer so there is not need
to check for NULL as this will never happen. |
Szymon Janc |
14 years ago |
1 file, +0, -4 |
| 3bc506ab |
Remove dead code from bonding_request_new
agent_create always return valid pointer so there is not need to check
for NULL as this will never happen. |
Szymon Janc |
14 years ago |
1 file, +1, -8 |
| 10c62883 |
mgmt-api: Add information about endianness
Management interface use little-endian byte order and this should be
clearly stated in documentation. |
Szymon Janc |
14 years ago |
1 file, +2, -0 |
| 65c4088a |
Add support for sending the Load Long Term Keys commands
Also this adds another method to the adapter_ops method table,
this method allows LTKs to be loaded to the kernel. |
Vinicius Costa Gomes |
14 years ago |
3 files, +72, -0 |
| 3c3169a1 |
Add support for handling the New LTK mgmt event
This event would cause this key to be permanently stored. |
Vinicius Costa Gomes |
14 years ago |
1 file, +35, -0 |
| 5cd155a5 |
Add support for storing a LTK when it enters bluetoothd |
Vinicius Costa Gomes |
14 years ago |
2 files, +78, -0 |
| a17977d3 |
Fix using "magic" values for the key types |
Vinicius Costa Gomes |
14 years ago |
1 file, +6, -4 |
| d9835e13 |
Add macros for the possible link key types |
Vinicius Costa Gomes |
14 years ago |
1 file, +10, -0 |
| 80c54f79 |
Add storage functions to handle SMP keys
For now, only the Long Term Key (LTK) is stored. |
Vinicius Costa Gomes |
14 years ago |
2 files, +34, -0 |
| 3baac3fd |
Add messages to the mgmt interface to handle SMP key storage
The SMP keys are to be communicated to/from userspace using these
messages. |
Vinicius Costa Gomes |
14 years ago |
1 file, +22, -0 |
| d38555d8 |
btmgmt: Fix format string specifier |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| a9b7f928 |
Add KeyboardDisplay IO Capability
This patch adds suppport for KeyboardDisplay IO capability in BlueZ.
It is ensured that the new capability is set only if management
interface is being used. For hciops Keyboarddisplay capability is
mapped to DisplayYesNo. |
Hemant Gupta |
14 years ago |
2 files, +7, -1 |
| 5d088129 |
mgmt-api: Update the commands for exchanging LTK's
For restoring the device from storage we need to have the Address type
of the device, the LTK is a good place for this.
In some cases, we may be notified of keys that were generated in the
Host, that key key would be used when the Host is the slave role in
a later connection, we should be able to differentiate this type of
key because it doesn't mean that we have a bonding with the Remote
Device. |
Vinicius Costa Gomes |
14 years ago |
1 file, +4, -0 |
| 4edfc65c |
mgmt: Update mgmt_ev_device_found to match latest API |
Johan Hedberg |
14 years ago |
3 files, +29, -15 |
| 4548e3a6 |
storage: Add variable-length EIR support to write_remote_eir |
Johan Hedberg |
14 years ago |
3 files, +6, -4 |
| 26a2456f |
hciops: Encode class of device data into EIR |
Johan Hedberg |
14 years ago |
6 files, +52, -51 |
| cacfa7e3 |
eir: Add eir_length() function |
Johan Hedberg |
14 years ago |
2 files, +24, -0 |
| 4b98e3cf |
eir: Add eir_append_data function |
Johan Hedberg |
14 years ago |
2 files, +14, -0 |
| c8b8c77b |
eir: Move EIR data type defines to eir.h |
Johan Hedberg |
14 years ago |
2 files, +13, -13 |
| ebaedcad |
eir: Rename eir_has_complete_name to eir_has_data_type |
Johan Hedberg |
14 years ago |
3 files, +5, -4 |
| 20b8449c |
Fix not showing name if first EIR has no name info
Some devices may not advertise their name right on the first EIR data
sent (e.g. LE devices where name is set on either advertises or scan
responses, but not both). Given that the "found devices" cache does not
refresh the name on each EIR received, the UI may never show the name
during a discovery session.
This fix improves the Discovery UI by showing names immediately as they
are received. This works by emitting DeviceFound signals when the name
is received, even if RSSI stays the same.
Further discovery sessions will use the stored complete name, as usual. |
Anderson Lizardo |
14 years ago |
1 file, +9, -0 |
| 67f75bfa |
mgmt: Remove ev_remote name and update event codes |
Johan Hedberg |
14 years ago |
3 files, +3, -56 |
| 035ed1dd |
mgmtops: Add eir_len to device_connected debug message |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| 12d72a94 |
btmgmt: Fix connected event length check |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| 7d1b065a |
btmgmt: Update event table |
Johan Hedberg |
14 years ago |
1 file, +3, -6 |
| 66420a53 |
mgmt: Update ev_device_connected implementation to match API |
Johan Hedberg |
14 years ago |
6 files, +66, -15 |
| 1c990f90 |
eir: Simplify parsing with clear helper variables |
Johan Hedberg |
14 years ago |
1 file, +14, -15 |
| bc176597 |
eir: Add Class Of Device parsing |
Johan Hedberg |
14 years ago |
2 files, +7, -0 |
| 1d7a0c69 |
btio: Remove support for hciX source addresses |
Marcel Holtmann |
14 years ago |
1 file, +1, -6 |
| e9109fc7 |
mgmt-api: Use 2 octets instead of 1 for EIR data length
This allows for future extensibility. |
Johan Hedberg |
14 years ago |
1 file, +4, -4 |
| ea3c6253 |
mgmt-api: Use EIR encoding wherever possible
We can encode the remotee name and class to the EIR data format both in
device_found and device_connected events. |
Johan Hedberg |
14 years ago |
1 file, +2, -3 |
| 2eef3ae2 |
mgmt-api: Update to latest plans
- Remove the remote_name event and add the name to the device_connected
event (since we always refresh the name at that point anyway).
- Add Class of Device to device_connected since that's the only point
where we get it when a previously unknown device connects to us for the
first time.
- Add a Flags field to device_found to accommodate for legacy pairing
information (which we get from the remote host features HCI event) and
merge the only other existing boolean parameter (confirm_name) into this
Flags field. |
Johan Hedberg |
14 years ago |
1 file, +12, -14 |
| 7120efe6 |
Release 4.98 |
Marcel Holtmann |
14 years ago |
2 files, +12, -1 |
| 9f5db347 |
eir: Fix modifying field_len when parsing
The field_len variable shouldn't be touched for the over-all parsing
state to remain consistent and so a helper variable (name_len) is needed
after all. |
Johan Hedberg |
14 years ago |
1 file, +6, -3 |
| 876672aa |
eir: Fix minor whitespace issue |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| a6409a7d |
eir: Remove unnecessary name_len variable |
Johan Hedberg |
14 years ago |
1 file, +1, -4 |
| 91f7452c |
eir: Pass explicit length to g_utf8_validate
This way we avoid g_utf8_validate having to do it's own strlen work. |
Johan Hedberg |
14 years ago |
1 file, +6, -7 |
| e90b0050 |
proximity: Fix Alert Level characteristic
According to PXP IAS specification (Table 3.2), the Alert Level
characteristic property has only "Write without response" as mandatory
and the rest is excluded. |
Anderson Lizardo |
14 years ago |
1 file, +1, -1 |
| 62357710 |
Add missing "Legacy" property for LE devices
Some UIs may assume that a device lacking the Legacy property is
pre 2.1. To be more consistent with BR/EDR devices, always set Legacy
property explicitly to False. This makes these UIs not ask for a PIN
code when doing Just Works pairing for LE devices. |
Anderson Lizardo |
14 years ago |
1 file, +3, -0 |
| 9664ce2a |
Fix EIR name parsing
Some vendors put a NUL byte terminator on EIR name field. If that is the
case, use -1 as string length so g_utf8_validade() can parse it
properly. |
Bruna Moreira |
14 years ago |
1 file, +10, -1 |
| 2539799e |
headset: Fix unknown command error response
If HF has already requested for the Extended Error result code
reporting, then send the same in certain failure cases. Earlier in this
case we were sending normal error. |
Syam Sidhardhan |
14 years ago |
1 file, +2, -1 |
| a951f50a |
l2test: Add option 'K' to set delay before receiving |
Szymon Janc |
14 years ago |
1 file, +16, -5 |
| eed7ec05 |
l2test: Add option 'H' to set socket receive buffer size
Size is set using SO_RCVBUF, see man 7 socket for more details. |
Szymon Janc |
14 years ago |
1 file, +44, -5 |
| 1df0c86c |
Add missing options to bootstrap-configure
With these options, all BlueZ C files are compiled with
"./bootstrap-configure". The only exception is --enable-hal, which
conflicts with the "formfactor" plugin. |
Anderson Lizardo |
14 years ago |
1 file, +3, -0 |
| 4f1294a5 |
Remove unused/broken "echo" RFCOMM plugin
It was disabled for quite some time (since 2009), and does not even
compile anymore if enabled:
plugins/echo.c: In function 'session_event':
plugins/echo.c:53: error: implicit declaration of function
'g_io_channel_read'
plugins/echo.c:57: error: implicit declaration of function
'g_io_channel_write' |
Anderson Lizardo |
14 years ago |
3 files, +0, -173 |
| d94628a1 |
Remove PulseAudio plugin leftover
The .c file and the configure check were not being used anywhere. |
Anderson Lizardo |
14 years ago |
2 files, +0, -45 |
| 927ec06f |
gatt-example: Fix memory leak
Remove the example-plugin data element from the list whenever an adapter
is removed. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +1, -0 |