| 91d4b171 |
advertising: Configure discoverable flag based on adapter settings
Until now advertising as peripheral was always setting General Discoverable
flag set. With this patch this is set based on adapter discoverable setting. |
Szymon Janc |
7 years ago |
4 files, +23, -2 |
| 18730963 |
core: Fixes order InterfaceAdded
Registering on the callback of MGMT_OP_READ_ADV_FEATURES causes
InterfacesAdded to be reschedule after the device objects which causes
tools such as PulseAudio to consider it invalid.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1534857 |
Luiz Augusto von Dentz |
7 years ago |
1 file, +15, -13 |
| 243f9741 |
tester: Enable LE Generate DHKey Complete event
This patch adds LE Generate DHKey Complete event for
LE Event Mask list for 'LE Generate DHKey'. |
Tedd Ho Jeong An |
7 years ago |
1 file, +1, -0 |
| 6990e417 |
tester: Set event mask for LE Read Local P-256 PK Complete event
LE Read Local P-256 PK command fails because LE Read Local P-256 PK
Complete event and LE Meta event are disabled by default.
This patch sets event masks for LE Read Local P-256 PK Complete and
LE Meta Event to receive the events for 'LE Read Local PK' test and
'LE Generate DHKey' test. |
Tedd Ho Jeong An |
7 years ago |
1 file, +32, -0 |
| a62f013c |
shared/shell: Print out help if using invalid command
Because Vincent Petry kindly reported that it is hard to use a command
in a submenu, clients are changed to print out help messages as below
when an invalid command is used.
[bluetooth]# list-attributes
Invalid command in menu main: list-attributes
Use "help" for a list of available commands in a menu.
Use "menu <submenu>" if you want to enter any submenu.
Use "back" if you want to return to menu main. |
ERAMOTO Masaya |
7 years ago |
1 file, +15, -2 |
| 17c8980a |
client: Fix not cleaning up notify pipe
If remote unsubscribe, disconnects or the daemon closes the socket the
io shall be destroyed properly otherwise it will prevent new
subscriptions. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +8, -2 |
| 0e260e45 |
gatt: Fix memory leak
If bt_gatt_client_register_notify fails the client shall be freed. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +3, -1 |
| dfb579e5 |
shared/shell: Fix not checking mandatory arguments
Even if mandatory argument takes is of variable size it should still be
checked if at least one argument has been provided. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +1, -1 |
| 36e0a8f8 |
client: Don't set generators for modes
Commands that already have all values set on the argument string don't
need to add a generator since bt_shell can now auto complete them. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +7, -19 |
| 4175508e |
shared/shell: Add tab completion for argument values
In case a command don't have a generator parse its argument string and
generate a list of possible values. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +73, -5 |
| 8595ae20 |
shared/shell: Make bt_shell_hexdump use util_hexdump |
Luiz Augusto von Dentz |
7 years ago |
1 file, +6, -37 |
| 90e6b723 |
shared/shell: Introduce bt_shell_{get,set}_env
These function can be used to share environment variable accross
different files. |
Luiz Augusto von Dentz |
7 years ago |
2 files, +66, -0 |
| 6832af9f |
build: Bump ELL dependency to 0.3
This is first version that supports D-Bus proxy API used by btpclient. |
Szymon Janc |
7 years ago |
1 file, +2, -2 |
| a7d4f3f8 |
adapter: Use g_dbus_send_reply whenever possible
This convert calls of g_dbus_create_reply + g_dbus_send_message to just
g_dbus_send_reply as that is simpler to maintain and saver as that always
check if the reply could be constructed properly. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +4, -7 |
| e3767039 |
gdbus: Fail to send NULL messages
This should make it safe to call g_dbus_send_message with a NULL
message which is more likely to happen now that g_dbus_create_reply
returns NULL when the message is marked with NO_REPLY flag. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +3, -0 |
| 5475f8bb |
gdbus: Fix replying to messages marked with NOREPLY flag
When a sender flags a D-Bus message as not expecting a reply, it is
against D-Bus policy to send a reply — sending one can result in an
error as reported in:
https://bugzilla.kernel.org/show_bug.cgi?id=198453 |
Luiz Augusto von Dentz |
7 years ago |
1 file, +10, -7 |
| efffeeaa |
tools/btpclient: Add passkey confirm ev and passkey confirm rsp cmd
This patch adds passkey confirm command handler and passkey confirm
event. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +96, -4 |
| 5392292c |
tools/btpclient: Add passkey entry cmd and passkey display event
This patch adds passkey entry command handler and passkey display event. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +92, -0 |
| d8c27656 |
tools/btpclient: Add pair, unpair commands
This patch adds pair and unpair commands for btp client. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +145, -0 |
| 3976740b |
tools/btpclient: Add set io capabilities command
This patch adds support for set io capabilities command. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +567, -3 |
| d48fb168 |
tools/btpclient: Clear advertising data on reset
Advertising data should be cleared on gap reset command. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +21, -19 |
| 30d4b435 |
mesh: meshctl: Add set heartbeat subscription command
[config: Target = 0100]# hb-sub-set 0077 0100 2
Heartbeat subscription status for node 0100 status: Success
Source: 0077
Destination: 0100
Period: 01
Count: 00
Min Hops: 7f
Max Hops: 00 |
Steve Brown |
7 years ago |
1 file, +59, -4 |
| dec55dcc |
shared/shell: Fix SIGINT handling
This fix ctrl-c combination working only once. |
Szymon Janc |
7 years ago |
1 file, +1, -1 |
| 7c85e85a |
obexd: Fix property Size of server transfer
OBJECT_SIZE_DELETE is shall not be consider a valid size. |
Luiz Augusto von Dentz |
7 years ago |
1 file, +4, -2 |
| 4017e799 |
obexd: Clean up unneeded list in src/obex.c
Cleans up the sessions list which has been unneeded by commit 8572afb4
("obexd: Make use of transport drivers and some cleanups"). |
ERAMOTO Masaya |
7 years ago |
1 file, +0, -6 |
| adf61cc8 |
tools/btpclient: Restore default settings on reset
Reset command will restore default settings of adapter. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +5, -0 |
| 648c0abd |
tools/btpclient: Initial check of ad_proxy presence in stop adv cmd
This patch covers with fail response if no advertising proxy was
registered at command beginning. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +4, -8 |
| fae2d03c |
tools/btpclient: Fix start adv commend comment
Comment should be aproperiate for advertising command. Device needs to
be powered to advertise. |
Grzegorz Kolodziejczyk |
7 years ago |
1 file, +1, -1 |
| 9c6cf787 |
shared: Add missing ecc_valid_public_key function |
Marcel Holtmann |
7 years ago |
3 files, +104, -0 |
| 0c8e542c |
client: Print advertising details
Print advertising details when active. |
Luiz Augusto von Dentz |
8 years ago |
1 file, +73, -31 |
| 5c6ef1c3 |
client: Rename set-timeout to timeout
Make the command return the current value if no parameters:
[bluetooth]# timeout 1
[bluetooth]# timeout
Timeout: 1 sec |
Luiz Augusto von Dentz |
8 years ago |
3 files, +19, -8 |
| f309255a |
client: Rename set-duration to duration
Make the command return the current value if no parameters:
[bluetooth]# duration 1
[bluetooth]# duration
Duration: 1 sec |
Luiz Augusto von Dentz |
8 years ago |
3 files, +19, -8 |
| aebb7e19 |
client: Rename set-appearance to appearance
Make the command return the current value if no parameters:
[bluetooth]# appearance 0x0001
[bluetooth]# appearance
Appearance: Unknown (0x0001) |
Luiz Augusto von Dentz |
8 years ago |
3 files, +24, -7 |
| 821ad2ec |
client: Rename set-name to name
Make the command return the current value if no parameters:
[bluetooth]# name blah
[bluetooth]# name
LocalName: blah |
Luiz Augusto von Dentz |
8 years ago |
2 files, +16, -2 |
| 0c33c991 |
client: Rename set-tx-power to tx-power
Make the command return the current value if no parameters:
[bluetooth]# tx-power on
[bluetooth]# tx-power
Tx Power: on |
Luiz Augusto von Dentz |
8 years ago |
3 files, +17, -7 |
| 045e6b9a |
client: Rename set-manufacturer to manufacturer
Make the command return the current value if no parameters:
[bluetooth]# manufacturer 2 00
[bluetooth]# manufacturer
Manufacturer: 2
00 |
Luiz Augusto von Dentz |
8 years ago |
2 files, +13, -5 |
| 65eff5c2 |
client: Rename set-service to service
Make the command return the current value if no parameters:
[bluetooth]# service 0x1820 00 00 00
[bluetooth]# service
UUID: Internet Protocol Support (0x1820)
00 00 00 ... |
Luiz Augusto von Dentz |
8 years ago |
2 files, +7, -6 |
| 6f20dba3 |
client: Rename set-uuids to uuids
Make the command return the current value if no parameters:
[bluetooth]# uuids 0x1820
[bluetooth]# uuids
UUID: Internet Protocol Support (0x1820 |
Luiz Augusto von Dentz |
8 years ago |
2 files, +39, -6 |
| b916c9de |
device: Fix Connect and ConnectProfile returing InProgress error
Calling Connect or ConnectProfile for device without resolved services
results in doing SDP browse first. After search is complete code was
suppose to continue with profile connection but was always returning
"InProgress" error due to browsing request not being cleared yet. |
Szymon Janc |
8 years ago |
1 file, +19, -6 |
| 0c7f43be |
tools/btpclient: Add connected, disconnected event
This patch adds conntected, disconnected events for btp client. |
Grzegorz Kolodziejczyk |
8 years ago |
1 file, +96, -0 |
| 2bc4a12a |
tools/btpclient: Add connect, disconnect commands
This patch adds start and stop connect, disconnect commands for btp
client. |
Grzegorz Kolodziejczyk |
8 years ago |
1 file, +170, -0 |
| 70b4be8c |
tools/btpclient: Add start, stop advertising commands
This patch adds start and stop advertising commands for btp client. |
Grzegorz Kolodziejczyk |
8 years ago |
1 file, +658, -1 |
| 5a392a82 |
shared/btp: Use bdaddr_t for storing address
This is more convenient as it allows to use common helpers for address
comparison and convertion. |
Szymon Janc |
8 years ago |
3 files, +18, -17 |
| 1e8da2a0 |
tools/btpclient: Use address convertion function from libbluetooth
There is no need for internal helper. |
Szymon Janc |
8 years ago |
2 files, +4, -9 |
| 7b0e377b |
client: Fix register-{characteristic, descriptor}
Flags parameter should be found in the third parameter not the second
since bt_shell don't omit the command anymore. |
Luiz Augusto von Dentz |
8 years ago |
1 file, +2, -2 |
| 00f4a456 |
tools/btpclient: Fix setting/reseting connectable flag
Defined setting flag is presented as mask. |
Grzegorz Kolodziejczyk |
8 years ago |
1 file, +2, -2 |
| 2c719071 |
tools: Add utility for Realtek config file parsing |
Marcel Holtmann |
8 years ago |
3 files, +197, -1 |
| d80f6828 |
client: Remove use of double const argument |
Luiz Augusto von Dentz |
8 years ago |
1 file, +1, -1 |
| c75500df |
tools/obexctl: Add generator for session/transfer |
ERAMOTO Masaya |
8 years ago |
1 file, +35, -7 |
| fecdfcd3 |
tools/bluetooth-player: Add generator for player/item |
ERAMOTO Masaya |
8 years ago |
1 file, +31, -5 |