You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model id 1001: Generic On/Off Client (BT_MESH_MODEL_ID_GEN_ONOFF_CLI)
851
+
844
852
bind 0 1 1002
853
+
bind appkey to element in model
854
+
element index: 0
855
+
AppKey index: 1
856
+
model id 1002: Generic Level Server (BT_MESH_MODEL_ID_GEN_LEVEL_SRV)
857
+
845
858
bind 0 1 1003
859
+
bind appkey to element in model
860
+
element index: 0
861
+
AppKey index: 1
862
+
model id 1003: Generic Level Client (BT_MESH_MODEL_ID_GEN_LEVEL_CLI)
846
863
847
864
sub-add 0100 c000 1000
848
-
element address a.k.a unicast address 0100
849
-
group address c000 to subscribe, range: 0xc000 ~ 0xffff
850
-
model id 1000
865
+
subscribe to element in group address
866
+
element address a.k.a unicast address: 0100
867
+
group address: c000, range: 0xc000 ~ 0xffff
868
+
model id 1000: Generic On/Off Server (BT_MESH_MODEL_ID_GEN_ONOFF_SRV)
851
869
852
870
sub-add 0100 c000 1002
853
-
element address a.k.a unicast address 0100
854
-
group address c000 to subscribe, range: 0xc000 ~ 0xffff
855
-
model id 1002
871
+
subscribe to element in group address
872
+
element address a.k.a unicast address: 0100
873
+
group address: c000, range: 0xc000 ~ 0xffff
874
+
model id 1002: Generic Level Server (BT_MESH_MODEL_ID_GEN_LEVEL_SRV)
875
+
876
+
pub-set
877
+
<ele_addr>
878
+
<pub_addr>
879
+
<app_idx>
880
+
<per (step|res)> <re-xmt (cnt|per)>
881
+
<mod id> [cid]
856
882
857
883
pub-set 0100 c000 1 0 5 1001
858
-
element address a.k.a unicast address 0100
859
-
group address c000 to subscribe, range: 0xc000 ~ 0xffff
860
-
1
861
-
0
862
-
5
863
-
model id 1001
884
+
publish element to group address
885
+
element address a.k.a unicast address: 0100
886
+
group address: c000, range: 0xc000 ~ 0xffff
887
+
AppKey index: 1
888
+
Publish period: 0
889
+
Publish retransmit count: 5
890
+
model id 1001: Generic On/Off Client (BT_MESH_MODEL_ID_GEN_ONOFF_CLI)
891
+
892
+
Mesh Profile Bluetooth® Specification
893
+
894
+
3.7.6.1.3 Periodic publishing
895
+
A model may be configured to send status messages periodically regardless of whether the state has changed or not. This is done by using a Publish Period (see Section 4.2.2.2). When the Publish Period is set to a non-zero value, unless specified otherwise by a higher layer specification, a status message shall be published at least once every Publish Period. When the Publish Period is set to 0, the status messages shall only be published on a state change when enabled.
896
+
897
+
3.7.6.1.4 Publish retransmissions
898
+
When a new message is being published by a model instance, all pending retransmissions of the previous message published by the model instance shall be canceled, and the model instance shall retransmit the new message as specified by the Publish Retransmit Count and Publish Retransmit Interval Steps states.
864
899
865
900
pub-set 0100 c000 1 0 5 1003
866
901
element address a.k.a unicast address 0100
867
-
group address c000 to subscribe, range: 0xc000 ~ 0xffff
868
-
1
869
-
0
870
-
5
871
-
model id 1003
902
+
group address: c000, range: 0xc000 ~ 0xffff
903
+
AppKey index: 1
904
+
Publish period: 0
905
+
Publish retransmit count: 5
906
+
model id 1003: Generic Level Client (BT_MESH_MODEL_ID_GEN_LEVEL_CLI)
0 commit comments