~vcs-imports/bluez/master

« back to all changes in this revision

Viewing changes to mesh/mesh-defs.h

  • Committer: Brian Gix
  • Author(s): Inga Stotland
  • Date: 2019-12-10 17:57:11 UTC
  • Revision ID: git-v1:ce2f88bd2cf813321a46f3190c37658dde98ff05
mesh: Initialize net modes based on node configuration

This correctly initializes net settings related to node features
based on node configuration: either defaults in the case of
a newly node created/provisioned/imported node or the configured
values read from stored existing node.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
#define APP_IDX_DEV_REMOTE      0x6fff
110
110
#define APP_IDX_DEV_LOCAL       0x7fff
111
111
 
 
112
#define DEFAULT_SEQUENCE_NUMBER 0x000000
 
113
 
112
114
#define IS_UNASSIGNED(x)        ((x) == UNASSIGNED_ADDRESS)
113
115
#define IS_UNICAST(x)           (((x) > UNASSIGNED_ADDRESS) && \
114
116
                                        ((x) < VIRTUAL_ADDRESS_LOW))