| ab22fce6 |
gobex/header: Add g_obex_header_new_tag function
This function can be used to set tag using GObexApparam as argument but
for arbritary headers. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +8, -2 |
| c7fece88 |
android/pts: Bump PTS version
Add proper PTS version for PICS and PIXIT. |
Sebastian Chlad |
11 years ago |
2 files, +2, -2 |
| f87ad969 |
android: Fix NULL pointer dereference
If there is no adapter, hal_ipc in not initialized. Below is
message from valgrind:
==22501== Invalid read of size 4
==22501== at 0x805B809: ipc_unregister (ipc.c:421)
==22501== by 0x804AEAF: main (main.c:548)
==22501== Address 0x4 is not stack'd, malloc'd or (recently) free'd |
Marcin Kraglak |
11 years ago |
1 file, +5, -2 |
| a7191058 |
android/hal-health: Add HDP .register_application method
Implementation of register_application is different compared
to other apis. Due to limited IPC_MTU and variable length of
fields from 'bthl_reg_param_t *', it is difficult to put them
in single command and send though IPC. So we split this command
multiple calls. First command will be called with opcode of
HAL_OP_HEALTH_REG_APP with 'struct hal_cmd_health_reg_app' data.
Later command will be called with opcode of
HAL_OP_HEALTH_MDEP with 'struct hal_cmd_health_mdep' data for
number_of_mdeps times. App id will be sent in response to
HAL_OP_HEALTH_REG_APP command.
This avoids increasing value of IPC_MTU and mainly because of
optional parameters in 'bthl_reg_param_t'. Incase of unfilled
optional parameters, fixed size arrays in hal commands will be
empty. |
Ravi kumar Veeramally |
11 years ago |
1 file, +82, -1 |
| 7a9f2aed |
android/hal-msg: Add extra struct for mdep data
Defined extra structure for MDEP data which is required for Register
Application. Also updated Opcodes for rest. |
Ravi kumar Veeramally |
11 years ago |
1 file, +18, -19 |
| 53b4d021 |
android/hal-ipc-api: Add extra command to Health HAL api document
Defined extra command for MDEP data which is required for Register
Application command. Also updated Opcode for rest of the commands. |
Ravi kumar Veeramally |
11 years ago |
1 file, +22, -13 |
| f67afff1 |
android/pixit: PIXIT for L2CAP
Adjusting some of the PIXITs settings for more reliable testing
environment. |
Sebastian Chlad |
11 years ago |
1 file, +2, -2 |
| 17403304 |
android/pts: Add PTS test results for L2CAP
Since new PTS has been published this patch updates PTS tests
results for L2CAP. It also changes some minor mistakes in notes
to some of the test cases. |
Sebastian Chlad |
11 years ago |
1 file, +153, -139 |
| e1d6f787 |
android/hsp: Add MCAP and HDP files |
Sebastian Chlad |
11 years ago |
1 file, +4, -0 |
| 469df646 |
android/pts: Add PICS for HDP |
Sebastian Chlad |
11 years ago |
1 file, +307, -0 |
| cf2fbc0f |
android/pts: Add PICS for MCAP |
Sebastian Chlad |
11 years ago |
1 file, +141, -0 |
| 526fcc13 |
android/pts: Add PIXITs for MCAP and HDP |
Sebastian Chlad |
11 years ago |
2 files, +69, -0 |
| a8c00286 |
tools: Add emitting descriptor PropertiesChanged
This patch forces emitting PropertiesChanged signal when the descriptor
Value changes. Internally, BlueZ tracks the signal emitted to update
the GDBusProxy properties. |
Claudio Takahasi |
11 years ago |
1 file, +10, -8 |
| 379a8c76 |
tools: Add Get/Set descriptor
This patch adds get and set callbacks to allow managing "Value" property
of the user defined descriptor related to IAS Alert Level. |
Claudio Takahasi |
11 years ago |
1 file, +68, -5 |
| 062d5fc4 |
tools: Add testing descriptor for IAS Alert Level
This patch adds a testing purpose only characteristic descriptor to
allow reading and writing descriptor's "Value" property. |
Claudio Takahasi |
11 years ago |
1 file, +44, -9 |
| 38eac490 |
android/gatt: Use proper GATT status
This patch introduces GATT_SUCCESS and GATT_FAILURE status codes
according to Android API. This patch also fixes event status codes. |
Jakub Tyszkowski |
11 years ago |
1 file, +26, -19 |
| c108888c |
android/gatt: Simplify find_device helper
We don't need to use dev pointer in second search attempt. |
Marcin Kraglak |
11 years ago |
1 file, +1, -5 |
| 8878bd46 |
android/avrcp-lib: Add support for parsing RegisterNotification response |
Luiz Augusto von Dentz |
11 years ago |
4 files, +114, -28 |
| 72fda35f |
android/avrcp-lib: Add support for parsing GetElementAttributes response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +101, -9 |
| 6451a036 |
android/avrcp-lib: Add support for parsing GetPlayStatus response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +54, -7 |
| 4f45fa2b |
android/avrcp-lib: Add support for parsing SetPlayerValue response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +57, -19 |
| 78119f0f |
android/avrcp-lib: Add support for parsing GetCurrentPlayerValue response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +84, -15 |
| d74ac785 |
android/avrcp-lib: Add support for parsing GetPlayerValueText response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +42, -1 |
| 2d4b61bb |
android/avrcp-lib: Add avrcp_get_player_value_text
This function can be used to send GetPlayerValueText command PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +10, -0 |
| f0456be2 |
android/avrcp-lib: Add support for parsing ListPlayerValues response |
Luiz Augusto von Dentz |
11 years ago |
2 files, +45, -1 |
| 5f370c08 |
android/avrcp-lib: Add avrcp_list_player_values
This function can be used to send ListPlayerValues command PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +8, -0 |
| 93c753c0 |
android/avrcp-lib: Add support for parsing GetPlayerAttributeText response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +100, -9 |
| 6af4aef9 |
android/avrcp-lib: Add support for parsing ListPlayerAttributes response |
Luiz Augusto von Dentz |
11 years ago |
3 files, +48, -6 |
| 545963a1 |
android/avrcp-lib: Add support for parsing GetCapabilities response |
Luiz Augusto von Dentz |
11 years ago |
4 files, +138, -39 |
| 40d55fa5 |
android: Include hcitool utility in debug builds |
Marcel Holtmann |
11 years ago |
1 file, +24, -0 |
| 1e19efd1 |
tools: Remove device name cache feature from hcitool |
Marcel Holtmann |
11 years ago |
2 files, +12, -72 |
| 74a6dc00 |
android/gatt: Fix regression introduced by b278efa5
Seems that GattService onScanResult is only looking into remote uuids in
adverisement data. No device object is created in the Android framework,
Therefore we need to send regular device found for BLE devices as well.
Otherwise the Android GATT application will not be aware of remote device
properties like name etc. |
Lukasz Rymanowski |
11 years ago |
1 file, +0, -3 |
| 74226136 |
gatt: Add descriptor to the database
Initial support for GATT characteristic descriptors. This patch adds the
characteristic descriptor attribute to the GATT local database based
on the fetched GDBusProxy objects. |
Claudio Takahasi |
11 years ago |
1 file, +65, -35 |
| 63e695bc |
gatt: Introduce helper for adding descriptors
This patch adds btd_gatt_add_char_desc() helper which adds a
characteristic descriptor to the local attribute database. |
Andre Guedes |
11 years ago |
2 files, +65, -5 |
| 1a25673a |
android/gatt: Add deregister_for_notification implementation
This will unregister handlers for notification and indications
and remove notification_data from client's list. |
Marcin Kraglak |
11 years ago |
1 file, +43, -1 |
| 51e719a1 |
android/gatt: Add handler for ATT_OP_HANDLE_NOTIFY and ATT_OP_HANDLE_IND
Invoke callback notify_cb with received data. We set flag is_notify
properly to inform Android what type of notification has been received. |
Marcin Kraglak |
11 years ago |
1 file, +29, -2 |
| 4da74db8 |
android/gatt: Add send_register_for_notif_ev function
It will be called with register/deregister will be called.
It will send status, service id and characteristic id. |
Marcin Kraglak |
11 years ago |
1 file, +22, -1 |
| fa82af50 |
android/gatt: Add initial implementation of register_for_notification
It will register notification and indication handler for given parameters.
Proper callback should be send with status of registration. |
Marcin Kraglak |
11 years ago |
1 file, +190, -2 |
| 407a646c |
android/gatt: Add implementation of get_included_cb
It will pass found services to upper layer with notification.
Caching included services should be done later. |
Marcin Kraglak |
11 years ago |
1 file, +43, -1 |
| f11108d3 |
android/gatt: Add get_included_data struct and callback
Create user data passed to callback get_included_cb.
It will handle included services and pass it to notification. |
Marcin Kraglak |
11 years ago |
1 file, +26, -1 |
| c045be10 |
android/gatt: Add initial implementation of get_included_service
It will look for included service in range passed in command.
It call gatt_find_included(), but without result callback now,
as it is initial version. |
Marcin Kraglak |
11 years ago |
1 file, +55, -1 |
| 154aa9c0 |
gatt: Fix proxies list iteration |
Claudio Takahasi |
11 years ago |
1 file, +1, -1 |
| 2620e5c7 |
attrib/gatttool: Use define for UUID format check |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 1e11df43 |
attrib: Use const source data pointer for write
Source buffer for write operations should be immutable. |
Jakub Tyszkowski |
11 years ago |
2 files, +6, -6 |
| 763b079d |
doc/gatt: Make allowed flags list more readable |
Johan Hedberg |
11 years ago |
1 file, +11, -4 |
| 5ff223e9 |
doc: Remove Core SPEC page number from gatt-api.txt
Remove Core SPEC page number from the API document to avoid wrong
page reference when the SPEC changes. |
Claudio Takahasi |
11 years ago |
1 file, +6, -7 |
| 12947cc9 |
test: Add permissions for Alert Level of gatt-service
This patch adds properties to Alert Level characteristic of the
Immediate Alert Service. IAS specification defines Write Without
Response as mandatory. |
Alvaro Silva |
11 years ago |
1 file, +37, -6 |
| 92158934 |
gatt: Make Characteristic Flags optional
"Flags" is an optional property. Default value is allow read and
write procedures. If it is not informed the upper-layer should
manage security requirements returning errors using "-errno"
format in the operation result callback. |
Claudio Takahasi |
11 years ago |
1 file, +12, -4 |
| fa828db2 |
gatt: Set read and write callbacks based on Flags
This patch checks the characteristic property bitmask before setting
read and write callbacks. This approach avoids additional GDBusProxy
calls and later verifications if the characteristic doesn't support
read or write procedures. |
Claudio Takahasi |
11 years ago |
1 file, +14, -2 |
| 9c7a23cf |
gatt: Add parsing GattCharacteristic1 Flags
When fetching the external application characteristics, "Flags" field
representing the characteristic supported properties should be properly
translated to a bitmask value required to create the characteristic
declarations. Ref Core SPEC page 2183, Table 3.5: Characteristic
Properties bit field. |
Claudio Takahasi |
11 years ago |
1 file, +69, -6 |