322 Commits

Author SHA1 Message Date
Milanka Ringwald
67abec4298 mesh: implement model subscription messages 2020-01-08 11:54:58 +01:00
Milanka Ringwald
f920256470 mesh: fix compile warnings 2020-01-07 14:59:49 +01:00
Matthias Ringwald
cf373d3aa5 streamline switch fall through markup to /* fall through */ 2020-01-07 10:01:07 +01:00
Milanka Ringwald
f2ca42dfa8 mesh_configuraiton_client: implement config model publication set/get/status 2020-01-06 12:01:16 +01:00
Milanka Ringwald
d61023b23c mesh: add unit test for elements descriptions iterator, add missing getter for CONFIGURATION_COMPOSITION_DATA event, fix offsets in existing getters 2019-12-12 15:17:14 +01:00
Milanka Ringwald
873d831b6a mesh: fix offsets in element description iterator for data composition event [a2467] 2019-12-12 15:17:14 +01:00
Milanka Ringwald
1126947f35 mesh: convenience iterator for element description list from Composite data received via MESH_SUBEVENT_CONFIGURATION_COMPOSITION_DATA event 2019-12-10 15:14:40 +01:00
Milanka Ringwald
b0e589ac8a mesh: rename configuration client events, send raw data for composition data event 2019-12-10 10:45:42 +01:00
Milanka Ringwald
1937dd5208 mesh: client relay proxy msgs [a2490] 2019-12-09 11:47:34 +01:00
Milanka Ringwald
e38651d8f4 mesh: client configuration GATT proxy msgs [a2482] 2019-12-09 11:28:49 +01:00
Milanka Ringwald
344d65499b mesh: client configuration default TTL msgs [a2481] 2019-12-09 11:28:49 +01:00
Milanka Ringwald
3013af6a93 mesh: implement Config Composition Data Get cofiguration client message [a2466] 2019-12-09 11:28:49 +01:00
Milanka Ringwald
5448198c8e mesh: implement Config Beacon Set configuration client message [a2463] 2019-12-09 11:28:49 +01:00
Milanka Ringwald
699be93dac mesh: configuration client, define and send MESH_SUBEVENT_FOUNDATION_BEACON_STATUS event" 2019-12-09 11:28:49 +01:00
Milanka Ringwald
aaf0c1d162 mesh: implement configuration client get beacon message [a2462] 2019-12-06 11:18:20 +01:00
Milanka Ringwald
2c060a94bb mesh: support 16 byte UUIDs in transport message builder 2019-12-06 11:07:20 +01:00
Milanka Ringwald
cc2a5f42a2 mesh: add skeleton files for mesh_configuration_client 2019-12-06 09:25:36 +01:00
Milanka Ringwald
85dc67fcd5 mesh: add mesh_generic_default_transition_time_client 2019-12-05 14:31:24 +01:00
Milanka Ringwald
5c1e046aaa mesh: remove element and index, add destination and status to status event 2019-12-05 14:31:24 +01:00
Milanka Ringwald
33439c2e02 mesh: declae input parameter as UNUSED, change return value type to bool 2019-12-03 14:52:52 +01:00
Milanka Ringwald
07affd8204 mesh: add mesh_generic_default_transition_time_server 2019-12-03 14:49:24 +01:00
Matthias Ringwald
ff3cc4a537 MISRAC2012-Rule-14.4_d: use while(true) instead of while(1) 2019-12-03 12:52:10 +01:00
Matthias Ringwald
6535961a1f ignore memcpy return value (always returns first parameter) 2019-12-02 18:17:20 +01:00
Matthias Ringwald
0fe46bc15b tlv: handle error for store_tag, document delete_tag expectations 2019-12-02 11:54:19 +01:00
Matthias Ringwald
d58a1b5f11 linked list/run loop: return true if item/data source/timer was removed 2019-11-27 18:23:11 +01:00
Matthias Ringwald
332b525621 mesh: generic on/off + level server - move transition logic to mesh_access 2019-11-17 21:54:40 +01:00
Matthias Ringwald
8245767ef9 mesh: add mesh_access_transitions_step_ms_from_gdtt 2019-11-15 22:32:41 +01:00
Matthias Ringwald
262d85ee23 mesh: drop reason from mesh_server_transition_setup_transition_or_instantaneous_update 2019-11-15 21:50:26 +01:00
Matthias Ringwald
e8b9b724a6 mesh: introduce mesh_server_transition_handler in generic servers 2019-11-15 21:23:20 +01:00
Matthias Ringwald
ac8dd8875a mesh: extract mesh_server_transition_state_set for generic on/off and levelservers 2019-11-15 21:00:45 +01:00
Matthias Ringwald
649d4025aa mesh: add timer to transition 2019-11-15 14:04:22 +01:00
Matthias Ringwald
c5df3df49a mesh: setup stepwise transition for generic server delta set 2019-11-14 17:22:35 +01:00
Matthias Ringwald
0dcabf4c87 mesh: drop transition speed from int16 transition 2019-11-14 17:06:50 +01:00
Matthias Ringwald
d3b33bfb6b mesh: remove delta_from_initial_value from int16 transition 2019-11-14 16:54:55 +01:00
Matthias Ringwald
a9cbe3e419 mesh: order generic level delta set cases 2019-11-14 16:39:06 +01:00
Matthias Ringwald
b66ef5c943 mesh: support generic level server move set message 2019-11-14 15:39:24 +01:00
Matthias Ringwald
43e3439045 mesh: explicitly store num steps for generic level/on/off server 2019-11-14 11:16:05 +01:00
Matthias Ringwald
753e6a2cff mesh: generic level server - use 32-bit delta value, handle re-transmission of set delta 2019-11-13 22:08:48 +01:00
Matthias Ringwald
1bb64ec89f mesh: reset delay time when transition starts 2019-11-13 16:30:06 +01:00
Matthias Ringwald
85bee78160 mesh: generic level server rework transition state machine 2019-11-13 15:44:22 +01:00
Matthias Ringwald
794ab91c82 mesh: add MODEL_STATE_UPDATE_REASON_ACTIVE 2019-11-13 15:43:31 +01:00
Matthias Ringwald
7ee2bdaeef mesh: add generic level server to test/mesh, use bstack_assert, fix time calculation 2019-11-12 16:22:38 +01:00
Matthias Ringwald
6445d71a6d mesh: ignore generic on off server message with invalid on/off value 2019-11-12 15:43:15 +01:00
Matthias Ringwald
e7dae087f0 mesh: rewrite transition handling in generic on off server 2019-11-12 15:25:27 +01:00
Matthias Ringwald
a20c23d688 mesh: fix remaining time field in generic on off server status message 2019-11-11 18:21:34 +01:00
Matthias Ringwald
d975617d67 mesh: add mesh_access_time_as_gdtt, store step_duration_ms in uint32_t 2019-11-11 18:21:01 +01:00
Matthias Ringwald
618a5fc3d1 mesh: fix transition setup in generic on/off and generic level server 2019-11-11 17:51:08 +01:00
Matthias Ringwald
bcbd4955a4 mesh: generic on off server - use btstack_assert, add missing mesh_access_message_processed call 2019-11-11 15:16:22 +01:00
Matthias Ringwald
d703e88f68 mesh: log destination address for send (un)segmented access message 2019-11-11 15:13:18 +01:00
Matthias Ringwald
c659f2368a mesh: deliver access messages to all models 2019-11-11 12:36:24 +01:00