diff options
author | Inga Stotland <inga.stotland@intel.com> | 2020-08-06 18:38:33 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-08-10 14:47:09 -0700 |
commit | 1836a4e09efa68e2c5d911e0b49de9563eea3cd3 (patch) | |
tree | 85c7038a9128a1b7b7f99687093f883b0dcd4e39 /mesh/mesh-defs.h | |
parent | 639dabe1c262247fa1c47a328157cfb9c62b7dc8 (diff) | |
download | bluez-1836a4e09efa68e2c5d911e0b49de9563eea3cd3.tar.gz |
mesh: Clean up handling of config KR phase messages
This modification allows using a single point for sending out
the composed status messages by the Config Server.
Also, this checks for the correct relationship between KR transition
and KR phase values. Correct error codes are sent on unsuccessful
requests and malformed requests are ignored.
Diffstat (limited to 'mesh/mesh-defs.h')
-rw-r--r-- | mesh/mesh-defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesh/mesh-defs.h b/mesh/mesh-defs.h index 5ade751a3..1a41e987b 100644 --- a/mesh/mesh-defs.h +++ b/mesh/mesh-defs.h @@ -36,6 +36,9 @@ #define KEY_REFRESH_PHASE_TWO 0x02 #define KEY_REFRESH_PHASE_THREE 0x03 +#define KEY_REFRESH_TRANS_TWO 0x02 +#define KEY_REFRESH_TRANS_THREE 0x03 + #define DEFAULT_TTL 0xff #define TTL_MASK 0x7f |