Commits

Commit Message Author Age Changes
38be6726 shared/gatt-client: Fix failing to discover included attributes When there exists a included service a descriptor may already exists in the handle location so instead of failing check if the UUID matches and then skip to the next descriptor. Luiz Augusto von Dentz 6 years ago 1 file, +5, -0
11326221 shared/gatt-client: Add debug for error with included services This logs errors with included service so it is easier to noticed when they are malformed. Luiz Augusto von Dentz 6 years ago 1 file, +14, -3
d9eb8b17 shared/shell: Highlight user prompt input This makes them more evident compared to regular output which is now possible since coloring prompts should not produce artifacs anymore. Luiz Augusto von Dentz 6 years ago 1 file, +4, -2
bb3ce41e shared/shell: Fix colors not using proper escape sequence According to readline documentation \001 and \002 has to be used to delimit characters which takes no space: 'Applications may indicate that the prompt contains characters that take up no physical screen space when displayed by bracketing a sequence of such characters with the special markers `RL_PROMPT_START_IGNORE' and `RL_PROMPT_END_IGNORE'.' Luiz Augusto von Dentz 6 years ago 1 file, +8, -8
70fab12b mesh: Fix bug with adding more than one app key Fixed problem where if the appKeys array already exists, that new add key requests were rejected. Stotland, Inga 6 years ago 1 file, +0, -2
ea61add0 test: Add unified test for mesh node example app This adds one script, test-mesh, to replace three test-join, example-onoff-server and example-onoff-client. This is menu driven test that allows provisioning (join) and/or connecting existing (attach) nodes. Inga Stotland 6 years ago 5 files, +854, -657
076f20fe mesh: Store model publication settings in config file This adds functionality to enable storing model publication parameters in node configuration file. Also, fix calculations of model publication period. Inga Stotland 6 years ago 4 files, +54, -12
fd77b319 mesh: Save model subscription updates to config file This adds functionality in Config Server model to save changes in node configuration file when model subscriptions are added, deleted or overwritten. Inga Stotland 6 years ago 1 file, +58, -2
2da78fd4 mesh: Add json config functions to save pub/sub updates This adds functions to save updates to model subscriptions and publication in JSON format. Inga Stotland 6 years ago 3 files, +291, -5
a00dd4ea mesh: Set node ID for a newly provisioned node When a new node is created after successful provisioning, a 4-digit hex node id needs to be generated and preserved. Inga Stotland 6 years ago 1 file, +2, -0
f5f42670 mesh: Enable local loopback Implements mechanism to allow direct messaging between local nodes without requiring an external relay node. Brian Gix 6 years ago 1 file, +32, -19
a4a2dc01 monitor: Fix LE Set Extended Advertising Parameters TX power decoding TX power of 127 has special meaning for this command. Szymon Janc 6 years ago 1 file, +5, -2
2ada1c13 mesh: Fix array processing in Send, Publish, Join Use correct parameters when calling l_dbus_message_iter_get_fixed_array(). Also, check the return value and the length of the processed array and return an error if the checks fail. Inga Stotland 6 years ago 2 files, +17, -20
b01440ab adapter: Fix length calculation of filter UUIDs on big endian The management interface expect all values to be in little endian thus the length of uuids needs to be converted on big endian. Luiz Augusto von Dentz 6 years ago 1 file, +5, -3
1c5b832c monitor: Add decoding for HCI LE Transmitter Test command [v3] This decodes LE Transmitter Test command [v3] introduced in 5.1. Luiz Augusto von Dentz 6 years ago 2 files, +81, -0
3d5e41fc monitor: Add decoding for HCI LE Receiver Test command [v3] This decodes LE Receiver Test command [v3] introduced in 5.1. Luiz Augusto von Dentz 6 years ago 2 files, +52, -0
272738dc monitor: Decode LL_CLOCK_ACCURACY_* This introduces the command passing for LL_CLOCK_ACCURACY_* PDUs added in 5.1. Luiz Augusto von Dentz 6 years ago 2 files, +16, -0
4ccb9ce2 monitor: Decode LL_PERIODIC_SYNC_IND This introduces the command passing for LL_PERIODIC_SYNC_IND PDU added in 5.1. Luiz Augusto von Dentz 6 years ago 2 files, +37, -0
f09aecdc monitor: Decode LL_CTE_* This introduces the command passing for LL_CTE_* PDUs added in 5.1. Luiz Augusto von Dentz 6 years ago 2 files, +29, -0
30ca440e monitor: Add decoding support for LL_MIN_USED_CHANNELS This prints makes the fields to be printed instead of just decoding the PDU name. Luiz Augusto von Dentz 6 years ago 2 files, +22, -1
b30b48d8 monitor: Add decoding support for LL_PHY_UPDATE_IND This prints makes the fields to be printed instead of just decoding the PDU name. Luiz Augusto von Dentz 6 years ago 2 files, +30, -1
62f23482 monitor: Add decoding support for LL_PHY_* This prints makes the fields to be printed instead of just decoding the PDU name. Luiz Augusto von Dentz 6 years ago 2 files, +37, -2
5df33d79 monitor: Add decoding support for LL_LENGTH_* This prints makes the fields to be printed instead of just decoding the PDU name. Luiz Augusto von Dentz 6 years ago 2 files, +18, -2
454b0a16 doc/mesh-api: Fix Attach() method signature Correct return arguments for Attach() method. Also, fix some grammar and formatting. Inga Stotland 6 years ago 1 file, +11, -12
8e0cbe9d mesh: Implement Leave() method on Network interface This implements D-Bus Leave() method that results in complete removal of node information from the system, including configuration files from storage directory. Inga Stotland 6 years ago 1 file, +18, -1
e5ab6013 mesh: Cleanup storage save and remove procedures To remove a node config directory completely, the directory needs to be empty. Both node.json and node,json.bak files must are deleted. Also, change storage_save_config() type to void to eliminate meaningless checks. Inga Stotland 6 years ago 4 files, +36, -15
ddb5ed79 mesh: Re-arrange node cleanup functions Rename node_free() to node_remove() and consolidate clean up operations. Change declarations for internally used functions to static. Inga Stotland 6 years ago 4 files, +40, -26
ae44c8f7 mesh: Fix type checking for 32 vs 64 bit systems Brian Gix 6 years ago 2 files, +4, -4
bbfaae24 client: Fix build with older version on libdbus This fixes the following error when building with older version of D-Bus: client/gatt.c:2973: undefined reference to `dbus_message_iter_get_element_count' Luiz Augusto von Dentz 6 years ago 1 file, +5, -10
7199478d test/example-advertisement: add shutdown code The previous sample code did not release all resources when shutting down. This is fine when it's a standalone program since Python will free all resources automatically when the process terminates. However, in a long-running process, this will eventually cause problems. This changeset shows how to properly release all resources, if an optional command line "--timeout" argument is used. The default is no timeout to maintain behavior of the previous implementation (advertisements will run forever). Hunt, Preston 6 years ago 1 file, +32, -10
b60b3328 shell: Allow multiple prompt inputs This allow queueing input prompts so that the application don't have to queue themselves. Luiz Augusto von Dentz 6 years ago 1 file, +58, -8
9e6da22e mesh: Fix for file naming convention Brian Gix 6 years ago 10 files, +365, -365
d705d726 client: Print AdvertisingManager properties on command 'show' This outputs the AdvertisingManager properties command 'show': bluetoothctl> show ... Advertising Features: ActiveInstances: 0x00 SupportedInstances: 0x05 SupportedIncludes: tx-power SupportedIncludes: appearance SupportedIncludes: local-name Luiz Augusto von Dentz 6 years ago 1 file, +21, -15
bd0808bf client: Add advertise.secondary command This adds advertose.secondary command which can be used to set a secondary channel to advertise. Luiz Augusto von Dentz 6 years ago 3 files, +64, -0
5c8816f0 advertising: Add implementation of SecondaryChannel This add the parsing for SecondaryChannel which indicates what secondary PHY shall be used. Luiz Augusto von Dentz 6 years ago 1 file, +42, -10
c6851065 advertising: Add implementation of SupportedSecondaryChannels This implements SupportedSecondaryChannels property which expose what the supported secondary channels. Luiz Augusto von Dentz 6 years ago 1 file, +48, -0
97c094bb doc/advertising-api: Add support for setting Secondary Channel This enables reading and setting the Secondary Channel/PHY supported by the controller. Luiz Augusto von Dentz 6 years ago 1 file, +19, -0
4a219255 mesh: Return correct error code for AppKey List command If AppKey List command is called with a network key index that is not valid for the node, return Invalid NetKey Index error code Inga Stotland 6 years ago 1 file, +3, -0
126f01f8 mesh: Save newly added or updated app key to config file This separates mesh_db_app_key_add() into distinct functions: mesh_db_app_key_add() and mesh_db_app_key_update() which will be called based on whether an application key is newly added or updated. Inga Stotland 6 years ago 3 files, +57, -59
52b840d0 mesh: Separate functions for app key add and update This splits appkey_key_add() into two separate functions: app_key_add() and app_key_update(). Fix checks for miscellaneous invalid conditions and return appropriate error status. Inga Stotland 6 years ago 3 files, +60, -41
19bf4262 monitor: Fix LE Read Transmit Power Command deconding Min and max TX power are signed intergers. Szymon Janc 6 years ago 1 file, +2, -2
a0fc0072 mesh: Use l_malloc instead of l_new with a cast Marcel Holtmann 6 years ago 1 file, +1, -1
425ca246 mesh: Use PRIx64 instead of %16.16lx Marcel Holtmann 6 years ago 1 file, +1, -1
1aa16d14 gitignore: Fix bluetooth-meshd name meshd was renamed to bluetooth-meshd Szymon Janc 6 years ago 1 file, +1, -1
ed62fed6 build: Fix missing dependency for btpclient prog_DEPENDENCIES is computed by automake only if not supplied so we must provide all dependencies if provided manually. This resulted in random build failures: libtool: error: cannot find the library 'lib/libbluetooth-internal.la' or unhandled argument 'lib/libbluetooth-internal.la' make[1]: *** [Makefile:5436: tools/btpclient] Error 1 Szymon Janc 6 years ago 1 file, +1, -1
64438092 client: Fix uninitialized error trusted should be initialized with false since the property may not be available. Luiz Augusto von Dentz 6 years ago 1 file, +1, -1
15cbd14a client: Improve logging of GATT operations This prints the UUID along with attribute path and also print the hexdump when payload is available. Luiz Augusto von Dentz 6 years ago 1 file, +34, -17
f12dc485 client: Forward notifications from cloned attributes Notifications come in a form of 'Value' property changes thus this copies the values to the local attribute so they are in sync. Luiz Augusto von Dentz 6 years ago 1 file, +17, -0
40ebc70d client: Remove cloned services if the proxy is removed This unregister the cloned services if the proxy is removed since they would no longer be accessible. Luiz Augusto von Dentz 6 years ago 1 file, +22, -0
8ba5b4fb client: Proxy calls to StartNotify/StopNotify This uses the proxies created by clone command to forward the subscriptions to the cloned services. Luiz Augusto von Dentz 6 years ago 1 file, +87, -2
Previous Next