[Zephyr-devel] (#BluetoothMesh) just binding APP-key allow SRV to process the message


Vikrant More <vikrant8051@...>
 

I'm still waiting for reply.
Is it bug or I'm doing something wrong ?

On Wed, Feb 7, 2018 at 5:47 AM, <alan@...> wrote:



Tarry,

here is the Bluwtooth Mesh programers group.

Alan



On 2018-02-06 02:58, Vikrant More wrote:
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 ?
_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@...ct.org
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel