Commit Graph

372 Commits

Author SHA1 Message Date
Steve Brown
1f17efbac0 mesh: Correct typo in config op defines 2017-11-29 09:34:21 +02:00
Michal Hobot
7be84fe316 mesh: onoff-model: Fix msec to sec conversion
There is an error in meshctl while displaying transition time. 1000 ms
is being presented as 16 sec, 40 ms. The reason is incorrect
conversion of milliseconds to seconds.  The fix is pretty trivial.
2017-11-27 10:50:40 +02:00
Inga Stotland
4d58eb52bc mesh: validate configuration target
Require obtaining node composition prior to sending configuration
commands that assume knowledge about the node's element/model layout.
2017-11-23 12:16:13 +02:00
Steve Brown
65aaf36f2a mesh: Correct length test in agent.c:request_ascii 2017-11-19 10:16:33 +02:00
Inga Stotland
d9a074b6b1 mesh: Add config server response for loopback 2017-11-01 15:02:29 +02:00
Steve Brown
2223d9f22d mesh: Correct segmentation logic
The decision whether to segment or not didn't consider the size of the MIC
2017-10-11 22:20:24 +03:00
Luiz Augusto von Dentz
8090f7a6c8 gatt: Update signature of AcquireWrite and AcquireNotify
It should now contain an argument for the options even though there
are not options defined for clients.
2017-09-22 13:50:17 +03:00
Marcel Holtmann
8168ab64d5 mesh: Use PRIx64 for printing uint64_t variables 2017-09-18 01:32:17 -07:00
Brian Gix
2b3be1c2e7 Rename sample JSON Databases 2017-09-14 11:22:27 +03:00
Luiz Augusto von Dentz
a446569b86 mesh: Add 'security' command
This adds 'security' command which can be used to display and change
the provision security level:

[meshctl]# security
Provision Security Level set to 1 (medium)
[meshctl]# security 2
Provision Security Level set to 2 (high)

Note: This doesn't change the default which is still medium.
2017-09-14 11:22:24 +03:00
Inga Stotland
660081ce5a mesh: Use correct length for config server response
Also check if the length is nonzero before sending response
2017-09-11 16:02:12 +03:00
Inga Stotland
9c2c9d3c71 mesh: Add characteristic property name check
If PropertyChanged signal is not emitted due to a change in
characteristic's "Value" property, the characteristic does
not need to be processed.
2017-09-11 16:02:12 +03:00
Łukasz Rymanowski
a75b37a476 mesh: Typo fix 2017-09-04 14:57:36 +03:00
Łukasz Rymanowski
22d943a798 mesh: Fix for handling unprovisioned device
If there is no ServiceData there is no valid provisioning data for
PB-GATT
2017-09-04 14:57:32 +03:00
Luiz Augusto von Dentz
a5b844cb8f mesh: Use DuplicateData filter
Also use the term duplicate instead of reset to make it more clear
the intent of the filter.
2017-08-30 14:59:55 +03:00
Inga Stotland
cce5161556 mesh: move GATT defines to the appropriate header file
Group mesh GATT definitions in mesh/gatt.h file.
Also remove unused members in mesh_node structure.
2017-08-28 13:56:55 +03:00
Luiz Augusto von Dentz
e5562190af mesh: Make use of rl_prompt_input
This removes unnecessary code to ask user input which is already
supported by rl_prompt_input.
2017-08-28 13:54:24 +03:00
Marcel Holtmann
de6c9e2cf0 mesh: Remove circular include protection guards 2017-08-21 18:43:31 +02:00
Marcel Holtmann
8e96790482 mesh: Fix includes to use root relative path names 2017-08-21 13:40:03 +02:00
Brian Gix
9b92507843 mesh: Baseline Mesh implementation 2017-08-21 12:40:35 +02:00
Brian Gix
112ebe6e71 mesh: Baseline Mesh runtime configuration files 2017-08-21 12:40:35 +02:00
Brian Gix
846af2a229 mesh: define APIs for Bluetooth Mesh 2017-08-21 12:40:35 +02:00