[213043MESH] It becomes unable to control MESH servers.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
MaMi_1707981
Level 6
Level 6
100 solutions authored 500 replies posted 50 solutions authored

Sometimes it became server callback function was not called when MESH packet was received.

It looks mesh library drop the request. What should I investigate in details ?

[Environment]

     ModuaToolbox 2.0 (also 1.1)

     CYBT-213043-MESH

     Mesh_Demo_213043MESH.color_light

     Two color light nodes are provisioned this MESH network.

[Log]

    COM13log4.txt:  NG node

    COM14log4.txt:  OK node

When the color light server works, the log is as follows:

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

    company_id:ffff opcode:8276

    server trans start time:200 target:5137 present:5137 state:21fb58

    server trans target:5137 present:5137 start:5137

    transition next state:2

    server 21fb58 state:2 remain:200 start:5137 target:5137 present:5137

    light hsl srv msg:65

    light hsl srv set present light:18349 hue:40593 sat:49971 remaining time:100

    set brightness:6

    set brightness:218

    set brightness:49

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

When this issue occurred, the log is as follows:

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

    company_id:ffff opcode:8276

    server trans start time:200 target:5137 present:5137 state:21fb58

    server trans target:5137 present:5137 start:5137

    transition next state:2

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

i.e. the callback function which is set by wiced_bt_mesh_model_light_hsl_server_init() is not called.

Could you let me know how to fix or investigate this issue ?

0 Likes
1 Solution

Hi Mizuno,

I couldn't duplicate the issue either with android app or meshclient (windows).

I am going through the logs which you have provided. I will give you my feedback soon.

Could you please check and confirm that you are using the latest BTSDK in the ModusToolbox2.0 ?

I am testing in wiced_btsdk <version>2.3.0.5811</version>.  (see version.xml of wiced_btsdk).

Thansk,

-Dheeraj

View solution in original post

0 Likes
12 Replies
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

May I know which mesh helper application are you using as provisioner? Meshclient or Mobile app?

Since mesh uses advertising channel for communication, 100% packet delivery cannot be assured.

I will try to reproduce the issue at my side.

How many times packets are missing out of 10 tries?

Thanks,

-Dheeraj

0 Likes

Hi Dheeraj,

The application is Cypress MeshApp on iOS 13.3.1.

I know 100% packet delivery cannot be assured.

The problem is it never recover once this issue occurred.

Please see the last of COM13log4.txt.

Best regards,

Mizuno

0 Likes

Hi,

I think the transition timeout doesn't work properly due to some reason. But unfortunately I couldn't reproduce this issue exactly at my side.

Could you please enable mesh model traces and core traces, and collect the error logs?

In the makefile change the values to 1, to enable the model and core traces.

MESH_MODELS_DEBUG_TRACES ?= 0

MESH_CORE_DEBUG_TRACES ?= 0

Thanks,

-Dheeraj

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Dheeraj,

Please find attached logs.

  COM13log5.txt

  COM14log5.txt

COM13:

    OK ---> NG ---> OK

COM14:

    OK ---> NG

0 Likes

Hi Dheeraj,

Do you have any update ?

Best regards,

Mizuno

0 Likes

Hi DheerajP_41

I'm sorry for rushing you, but could you let me know the progress of investigation ?

I have to report it to our customer.

If you will share the way to investigate or source code of library, I might do it by myself.

Best regards,

Mizuno

0 Likes

Hi Dheeraj,

To reproduce this issue, could you use the client on iPhone or Android but PC ?

As far as my environment, it is easily to reproduce this issue by controlling on color settings window.

It might be related with interval of packets.

Best regards,

Mizuno

0 Likes

Hi Dheeraj,

Did you duplicate this issue ?

This issue is opened for 20 days.

Please update your status !!!

Best regards,

Mizuno

0 Likes

Hi Mizuno,

I couldn't duplicate the issue either with android app or meshclient (windows).

I am going through the logs which you have provided. I will give you my feedback soon.

Could you please check and confirm that you are using the latest BTSDK in the ModusToolbox2.0 ?

I am testing in wiced_btsdk <version>2.3.0.5811</version>.  (see version.xml of wiced_btsdk).

Thansk,

-Dheeraj

0 Likes

Hi Dheeraj,

The wiced_btsdk is older than yours.

    <version>2.1.0.4425</version>

I will test with newer btsdk.

Best regards,

Mizuno

0 Likes

Hi Dheeraj,

Thank you for giving the version information.

It looks the new library works good for me.

I will ask customer to double-check it.

Thanks.

Masaki Mizuno

0 Likes

Hi,

It is recommend to use the embedded app (color_light) as well as the client application (meshclient) from the same version of SDK.

Thanks,

-Dheeraj

0 Likes