Commits

Commit Message Author Age Changes
6f629ca9 shared/gatt: Return bool in gatt_db_get_attribute_permissions It will return true if attribute with given handle exists in db and set permissions value, otherwise it will return false. Now, if get_permissions failed, we should reply with ATT_ECODE_ATTR_NOT_FOUND. Marcin Kraglak 11 years ago 3 files, +25, -11
27f17d40 android/hal-audio: Allow to autoselect endpoint in open_stream IPC audio_open_output_stream always tries to open 1st registered endpoint based on assumption that there is only one endpoint registered anyway (due to support for only one codec). With more endpoints available in future we need to be able to retrieve endpoint id which is connected and use it for streaming. This patch adds special case for id=0 in open_stream IPC to return 1st opened endpoint on BlueZ side which is enough for now since only one headset can be connected at any time (i.e. we should not have more than 1 endpoint opened). Andrzej Kaczmarek 11 years ago 3 files, +34, -9
5dab4aaa android/hal-audio: Send packets only when data were encoded Codec may not return encoded packet on every encode_mediapacket call, i.e. in case there's not enough data it may buffer data and encode on subsequent calls when enough data were provided. We need to make sure media packet is written only in case somethind was encoded so we don't send empty packets. Andrzej Kaczmarek 11 years ago 1 file, +6, -2
3e23bec3 android/hal-audio: Make update_qos optional Andrzej Kaczmarek 11 years ago 1 file, +4, -2
60bcd3bc android/hal-audio: Make RTP header optional Not every codec on A2DP will use RTP so it's now optional - codec can be defined to use it and core will take care of filling the data. Andrzej Kaczmarek 11 years ago 3 files, +29, -9
8f14d896 android/hal-audio: Fix media_packet definition rtp_payload field in media_packet is specific for SBC codec thus it should be moved to SBC codec implementation and removed from generic structs. Andrzej Kaczmarek 11 years ago 2 files, +37, -20
323e9c14 android/hal-audio: Fix PT in media packets According to A2DP 1.3 spec section 4.3.3.2: "A payload type in the RTP dynamic range shall be chosen (see [22], section 3)." - [22] = RFC3551 As per referenced RFC3551, values in range 96-127 are reserved for dynamic assignment so we can set PT to 96. Andrzej Kaczmarek 11 years ago 1 file, +1, -1
f9df0da7 tools/smp-tester: Add client test case for MITM Johan Hedberg 11 years ago 1 file, +32, -1
d751cc82 tools/btmgmt: Add set-io-cap command This is needed for testing e.g. PTS Lukasz Rymanowski 11 years ago 1 file, +44, -0
60e94c11 android/gatt: Fix not setting request as done on direct db read Previously if read was succesfull - request was not marked as completed because no callback was called for direct db read. Jakub Tyszkowski 11 years ago 1 file, +2, -1
698fad7b android/gatt: Support find request in permission check Permissions check was failing on those requests. Jakub Tyszkowski 11 years ago 1 file, +2, -0
e37c2a36 android/gatt: Update GATT test results Eva Kolanska 11 years ago 1 file, +33, -3
275f4f7e android/pts: Update GAP TC_BOND_BON_BV_03_C result Szymon Janc 11 years ago 1 file, +3, -1
2cc2e7d1 android/a2dp: Add support to check aptX capabilities Andrzej Kaczmarek 11 years ago 1 file, +37, -0
171aac2e android/a2dp: Add support to check MPEG-2,4 AAC caps Andrzej Kaczmarek 11 years ago 1 file, +72, -0
e1c7dddd android/a2dp: Fix SEP selection When matching remote SEP to local SEP we do not match vendor codecs properly, i.e. neither vendor ID not codec ID are checked, which may cause wrong endpoint to be selected in case there are more that one endpoints using vendor codec on remote. This patch fixes this by assinging vendor codec indentification to local SEP after it's registered and uses this information when matching SEPs. Andrzej Kaczmarek 11 years ago 3 files, +33, -0
d8354e8e android: Fix missing include It's needed for getenv(). Andrzej Kaczmarek 11 years ago 1 file, +1, -0
c618d0fa android/a2dp: Fix removing device on incoming connection Connection state is not changed for incoming connection, i.e. during discovery device is still in disconnected state and in case connection fails for some reason, device won't be removed due to triggered state change disconnected->disconnected which is silently ignored. This patch fixes this problem by changing device state to connecting immediately after signalling channel is connected. This allows device to be removed properly in case something fails and is also consistent with behaviour of Bluedroid. In addition there's new flag added to device which stores information whether we're initiator of connection. This is required because before fix this property was decided based on HAL state which we can't now use since it will be always connecting for both incoming and outgoing connections. Andrzej Kaczmarek 11 years ago 1 file, +4, -5
f11e5081 shared/crypto: Remove not needed memcpy Lukasz Rymanowski 11 years ago 1 file, +0, -1
f11b5dbc android/pts: Update GATT PTS test results Update tests related to write signed Lukasz Rymanowski 11 years ago 1 file, +18, -2
ff781eea unit/crypto: Update unit test vectors after changes in singing process Lukasz Rymanowski 11 years ago 1 file, +3, -3
33c1a21c shared/crypto: Fix byte order of message Message should be swapped before we send it to the kernel for signing Lukasz Rymanowski 11 years ago 1 file, +5, -1
94d89db1 shared/crypto: Change swap128 to swap_buf We will need to swap bigger buffers so lets make swap128 more generic for that purpose Lukasz Rymanowski 11 years ago 1 file, +8, -8
067050b2 shared/crypto: Fix byte order of sign counter added to signature Lukasz Rymanowski 11 years ago 1 file, +1, -1
8b4d1ea5 shared/crypto: Fix concatenate of sign counter into the msg This patch fixes incorrectly concatenated sign counter to the message Lukasz Rymanowski 11 years ago 1 file, +1, -1
514e2246 android/gatt: Fix signed write command encoding As per spec (BT spec 4.1 Vol[3], Part F, chapter 3.4.5.4) we need to take opcode, handle and parameters to generate signature. In order to support it signing is moved to att.c, place where pdu is encoded Lukasz Rymanowski 11 years ago 7 files, +30, -22
26304dcc android/gatt: Fix handling signed write command from remote As per spec (BT spec 4.1 Vol[3], Part F, chapter 3.4.5.4) message which should be taken to generate signature is opcode, handle and parameters Lukasz Rymanowski 11 years ago 1 file, +3, -2
2e8cd0bf android/gatt: Verify signature counter from remote We will receive signature counter as a part of signature in att packet. We shall verify if signature counter has value as expected otherwise drop the message. Lukasz Rymanowski 11 years ago 1 file, +7, -0
b2616d41 android/pics: Fix GATT PICS settings Szymon Janc 11 years ago 2 files, +4, -4
f8f65a09 input: Do not send UHID_DESTROY Accourding to uHID documentation when diconnecting the kernel will take care of cleaning up any device created: "If you close() the fd, the device is automatically unregistered and destroyed internally." Luiz Augusto von Dentz 11 years ago 2 files, +1, -26
3452e079 android/hidhost: Rework uHID code to use bt_uhid Luiz Augusto von Dentz 11 years ago 3 files, +23, -122
8a2f6243 android/pts: Update GATT results Jakub Tyszkowski 11 years ago 1 file, +20, -5
b6931ace android/gatt: Support exec write request test command 'u2' parameter is used to pass exec write flag. Jakub Tyszkowski 11 years ago 1 file, +2, -0
05050e76 android/gatt: Support prepare write request test command 'u2' parameter is used for handle value, 'u3' for offset and 'u4' holds the value. Jakub Tyszkowski 11 years ago 1 file, +3, -0
8c35ec18 android/gatt: Support write command test command 'u2' parameter is used to pass handle value. Jakub Tyszkowski 11 years ago 1 file, +3, -0
70f1b9bf android/gatt: Support write request test command 'u2' parameter is used to pass handle value. Jakub Tyszkowski 11 years ago 1 file, +3, -0
23f5f2fc android/gatt: Initial support for write test command This is handled mostly the same way as read so we can use the same function for sending att requests. As test command parameters are of type uint16_t, we cannot write longer values. We can figure out the ways to overcome this limitation if it turns out that it's really needed (i.e. some PTS test cases cannot be passed). Jakub Tyszkowski 11 years ago 2 files, +14, -8
be129c89 android/pts: Update GATT test results Eva Kolanska 11 years ago 1 file, +111, -26
868c6eaa android/pts: Update GATT PTS status Jakub Tyszkowski 11 years ago 1 file, +21, -6
b3ef5ca3 android/gatt: Support read by group in test commands 'u2' command parameter is used as start handle, 'u3' as end handle and uuid as group type. Jakub Tyszkowski 11 years ago 1 file, +2, -0
721d0c83 android/gatt: Support read blob request in test command 'u2' command paremeter is used as handle and 'u3' as offset value. Jakub Tyszkowski 11 years ago 1 file, +2, -0
c2cbfe92 android/gatt: Suport read by type request in test command 'u2' parameter is used as start handle, 'u3' as end handle and uuid as attribute type. Jakub Tyszkowski 11 years ago 1 file, +2, -0
d9436736 android/gatt: Support read request in test command 'u2' command parameter is used to pass attribute handle. Jakub Tyszkowski 11 years ago 1 file, +2, -0
7f51fb8f android/gatt: Add read test command stub This adds read support to test command handler. Particular read types will be handled basing on the 'u1' command parameter. Jakub Tyszkowski 11 years ago 2 files, +45, -0
7c3f57fe android/pts: Update PTS GAP tests results Szymon Janc 11 years ago 1 file, +90, -47
9bc54858 android/pics: Update PICS for GAP Enable peripheral mode and tweak some other settings. Szymon Janc 11 years ago 1 file, +73, -69
9c2c59ef android/pts: Update PTS GATT tests selection Szymon Janc 11 years ago 1 file, +70, -27
d98ad578 android/pics: Update PICS for GATT Szymon Janc 11 years ago 1 file, +31, -31
30e915f0 android/pts: Update GATT Server test results Eva Kolanska 11 years ago 1 file, +193, -31
72c0f73d android/gatt: Fix doing database reads on write Wrong function was called resulting in read responses being send along with write response. As it is now 'process_dev_pending_requests' is processing only read requests. Jakub Tyszkowski 11 years ago 1 file, +3, -2
Previous Next