(#BluetoothMesh) just binding APP-key allow SRV to process the message


Vikrant More <vikrant8051@...>
 

Using #meshctl I gave following commands to BOARD_1

appkey-add 1

bind 0 1 1000
bind 0 1 1001
bind 0 1 1002
bind 0 1 1003

sub-add 0100 c000 1000
sub-add 0100 c001 1000

pub-set 0100 c000 1 0 5 1001

sub-add 0100 c000 1002
pub-set 0100 c000 1 0 5 1003

--------------------------------------------------------------------------------------------------

Using #meshctl I gave following commands to BOARD_2

appkey-add 1

bind 0 1 1000
bind 0 1 1001
bind 0 1 1002
bind 0 1 1003

sub-add 0101 c000 1000              //in last email I by mistake wrote 0100 instead of 0101, but main Question is as it is.
pub-set 0101 c001 1 0 5 1001     
------------------------------------------------------------------------------------------------------

I've hard coded 4 Models, viz,

GEN_ONOFF_SRV
GEN_ONOFF_CLI
GEN_LEVEL_SRV
GEN_LEVEL_CLI

on both boards.

I found something wrong in case of BOARD_2,
where I only bound APP_Key to all available models but didn't
assign any sub or pub addresses to  GEN_LEVEL_SRV or  GEN_LEVEL_CLI
even after that BOARD_2 is processing data publish by GEN_LEVEL_CLIENT of BOARD_1.

Have anybody noticed it ?