| 9f14800f |
Simplify ba2str function |
Szymon Janc |
14 years ago |
1 file, +1, -4 |
| e935b657 |
Simplify ba2oui function |
Szymon Janc |
14 years ago |
1 file, +1, -5 |
| 020ef164 |
Update the test-attrib test script
Now it is more similar to the other test-* scripts. And allows to
exercise more of the API. |
Vinicius Costa Gomes |
14 years ago |
1 file, +98, -114 |
| 9dd2fb61 |
Add DiscoverCharacteristics method to the Attribute API |
Vinicius Costa Gomes |
14 years ago |
1 file, +8, -0 |
| 6cb460ab |
Fix not returning an error when DiscoverCharacteristics() fails
When the connection fails an error should be returned to inform
the user.
This adds a field to store the DBusMessage that caused the error,
so we can send the correct reply. |
Vinicius Costa Gomes |
14 years ago |
1 file, +7, -0 |
| 17c03b0d |
Fix the behaviour of the DiscoverCharacteristics method
The previous behaviour could lead to some problems, as it returned
as soon as possible. To avoid problems we return just after as the
characteristics are discovered, and to save a few round trips we
return the path of all characteristics that belong to this service.
After this method return it will try to read the characteristics
values. |
Vinicius Costa Gomes |
14 years ago |
1 file, +28, -4 |
| 2663ca42 |
Rename the Discover method to DiscoverCharacteristics |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -1 |
| bb096e67 |
Add more functions for new UUID handling
This patch adds more functions that are necessary to handle the new
bt_uuid_t type, and moves basic things like byte-swapping functions and
uint128_t type to bluetooth.h. |
Elvis Pfützenreuter |
14 years ago |
7 files, +207, -81 |
| 3ed99326 |
Add new UUID utility functions
New UUID functions will store the UUIDs values on host order. Added
functions to create, compare and convert UUIDs. |
Claudio Takahasi |
14 years ago |
3 files, +193, -3 |
| a709b211 |
network: Fix for TP_BNEP_CTRL_BV_01_C qualification test
With this fix network plugin will correctly respond on unknown
BNEP control command. |
Lukasz Rymanowski |
14 years ago |
1 file, +15, -0 |
| ea8db489 |
Add media-api.txt to EXTRA_DIST |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| cc2d6b4d |
Add indication/notification support to interactive gatttool |
Sheldon Demario |
14 years ago |
1 file, +39, -0 |
| c7726367 |
Fix unloading of adapter drivers
Call driver remove callback only if corresponding probe succeed. |
Szymon Janc |
14 years ago |
1 file, +31, -16 |
| f22c60ea |
Implement ATT handle indications
This patch takes advantage of g_attrib_send() implicit guarantee of
queueing i.e. indication is only sent if the previous one has been
confirmed, so we don't need to maintain an explicit queue. |
Elvis Pfützenreuter |
14 years ago |
1 file, +16, -0 |
| e3c94acc |
Add Sim Access Profile Manager
Add a SAP plugin main file and the plugin manager. Also include the SAP
plugin in the Makefile. |
Waldemar Rymarkiewicz |
14 years ago |
7 files, +257, -0 |
| 2534fbd0 |
Add Sim Access Profile API
New API for Sim Access Profile. |
Waldemar Rymarkiewicz |
14 years ago |
2 files, +36, -1 |
| a37a95fe |
gatttool: Add Write Without Response option
Sub-procedure used to write a Characteristic Value to a server when
the client knows the Characteristic Value Handle and the client does
not need acknowledgement. |
Claudio Takahasi |
14 years ago |
1 file, +10, -4 |
| 4fce91f1 |
Extend Characteristic Write to support Write Without Response
If callback is not informed, Write Command will be used to execute
a Write Without Response sub-procedure. Error is not returned by the
server no matter the result of the operation. |
Claudio Takahasi |
14 years ago |
1 file, +6, -2 |
| 39454251 |
Adjust LE command timeout and API
The timeout value has been hardcoded on hci_send_req call and, instead,
it should be passed from above (for ex from hci_le_set_scan_enable).
This patch removes the hardcoded value from hci_send_req and it
increases the timeout to 1000ms. |
Marco Sinigaglia |
14 years ago |
4 files, +13, -13 |
| 1f6f8f2c |
Fix MTU value used on MTU exchange response
ATT_MTU_RESP shall send the original MTU value prior to the exchange. If
client sends an invalid value, the server shall use the ATT_DEFAULT_LE_MTU
value. This operation is not supported in BR/EDR, so if any client sends
this request it will be ignored by server and it will reply with
"Request not supported".
For BR/EDR, the MTU is limited to ATT_MAX_MTU (currently 256). This
avoids allocating a big buffer when most ATT PDUs are small.
Note: the kernel currently limits the minimum MTU to 48, regardless of
transport type. This limit is valid only for BR/EDR, for LE the minimum
is 23. This bug will be fixed, but it does not affect the outgoing MTU
for new created LE sockets, which are correctly set to 23. |
Bruna Moreira |
14 years ago |
1 file, +23, -4 |
| 4a559985 |
Use CID to infer transport type
Instead of comparing GIOChannel pointers, use the CID returned by
bt_io_get() to infer the transport type. LE uses the fixed CID for GATT. |
Bruna Moreira |
14 years ago |
1 file, +4, -3 |
| 8c0b3c9c |
Increase AVDTP request timeout
At least one headset with both A2DP and PBAP sends delayed responses
to AVDTP requests when it is doing PBAP queries (typically at the
beginning of the connection).
Increasing the timer by two seconds to give the headset more time to
reply, to avoid aborting the AVDTP connection. |
Daniel Orstadius |
14 years ago |
1 file, +1, -1 |
| b903344d |
pand: Fix for TP_BNEP_CTRL_BV_01_C qualification test
With this fix pand will correctly respond on unknown BNEP control
command. |
Lukasz Rymanowski |
14 years ago |
1 file, +16, -0 |
| af4519a5 |
gdbus: Unconditionally remove D-Bus timeouts
Address an issue in which the daemon incorrectly handles D-Bus main
loop timeouts by only removing timeouts that are not enabled when
D-Bus requests a timeout removal. |
Grant Erickson |
14 years ago |
1 file, +0, -3 |
| dc920afd |
hcitool: add "whitelist" option to create LE connections
If "whitelist" option is given, the peer address and type will be
ignored and the white list will be used to determine which advertiser
to connect to. |
Claudio Takahasi |
14 years ago |
1 file, +11, -4 |
| 81a57bd0 |
hcitool: add random address type to LE Add to White List |
Claudio Takahasi |
14 years ago |
1 file, +7, -2 |
| 3f646516 |
hcitool: use defined constants for address type |
Claudio Takahasi |
14 years ago |
1 file, +2, -2 |
| 328a4501 |
Fix support for shells that do not have "+=" |
Johan Hedberg |
14 years ago |
1 file, +8, -8 |
| 9bae9813 |
Remove check for adapter->up for read_local_name_complete
Due to recent kernel changes we could be receiving these command
complete events even though HCIDEVUP hasn't completed yet. |
Johan Hedberg |
14 years ago |
1 file, +0, -3 |
| 3a4dd4d3 |
Remove duplicated NULL check and debug message |
Szymon Janc |
14 years ago |
1 file, +2, -6 |
| 0989e74c |
Fix small memleak in hciemu |
Szymon Janc |
14 years ago |
1 file, +1, -1 |
| d3dfbc98 |
Fix small memleak in compat/pand.c |
Szymon Janc |
14 years ago |
1 file, +6, -3 |
| 3119976f |
Fix hal plugin compilation error |
Szymon Janc |
14 years ago |
1 file, +0, -1 |
| e880b7a5 |
Add option to pass adapter to interactive gatttool |
Sheldon Demario |
14 years ago |
3 files, +5, -3 |
| b2bd2cbc |
Add missing const to interactive() parameter in gatttool |
Sheldon Demario |
14 years ago |
2 files, +2, -2 |
| ed6e2d24 |
Replace all strdup() with g_strdup() in gatttool |
Sheldon Demario |
14 years ago |
2 files, +5, -5 |
| adc7ca1e |
Add offset option to characteristic read by handle
Some tests require an arbitrary offset. |
Sheldon Demario |
14 years ago |
5 files, +36, -14 |
| e41eccc1 |
Simplify bachk function
By using isxdigit() the function can be considerably simplified. |
Szymon Janc |
14 years ago |
1 file, +6, -15 |
| a1d241d4 |
Fix response on adapter RequestSession method
Fixes response on adapter RequestSession method to be sent after mode is
changed, if such is necessary. More specifically, change of power off
mode to power on is in question.
Currently response is sent when mode change is confirmed by agent, not
by response from controller. Such may lead to failed CreateDevice method
if it is called quickly enough after RequestSession when controller is
in powered off state.
New session is not created if there is already a session for such D-Bus
message. |
Dmitriy Paliy |
14 years ago |
1 file, +40, -10 |
| d85ae59d |
TODO: Fix GATT over BR/EDR |
Claudio Takahasi |
14 years ago |
1 file, +6, -3 |
| 52921124 |
hcitool: Add command to clear LE White List |
Arun Kumar Singh |
14 years ago |
3 files, +67, -0 |
| fc10b2c6 |
hcitool: Add command to read size of LE White List |
Arun Kumar Singh |
14 years ago |
3 files, +75, -0 |
| d68ff374 |
hcitool: Add command to remove a device from LE white list |
Arun Kumar Singh |
14 years ago |
3 files, +77, -0 |
| 7e018c6e |
hcitool: Change commands struct formating |
Claudio Takahasi |
14 years ago |
1 file, +29, -29 |
| 265059a1 |
hcitool: Add command to add a device to LE White List |
Arun Kumar Singh |
14 years ago |
4 files, +83, -1 |
| a0ba561d |
TODO: Add item to implement device type in the DeviceFound signal |
Claudio Takahasi |
14 years ago |
1 file, +6, -0 |
| c66d33b9 |
TODO: Add item related to UUID handling |
Claudio Takahasi |
14 years ago |
1 file, +13, -0 |
| c3bda951 |
TODO: Remove item related to Client Characteristic Configuration
Client Characteristic Configuration is already implemented in the
attribute server. Implementation in the attribute client is still
missing. |
Claudio Takahasi |
14 years ago |
1 file, +0, -9 |
| f98d6540 |
TODO: Remove item related to ATT transation timeouts |
Claudio Takahasi |
14 years ago |
1 file, +0, -7 |
| da4ffa72 |
Move index to common header in management interface
Match changes introduced in mgmt interface after moving controller
index to common header. |
Szymon Janc |
14 years ago |
2 files, +90, -196 |