- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Solved! Go to Solution.
- Tags:
- bt mesh
- color light
- cybt-213043-mesh
- mesh
- mesh_demo_213043mesh.color_light
- modustolbox
- modustoolbox 1.1
- modustoolbox 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Do you have any update ?
Best regards,
Mizuno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Did you duplicate this issue ?
This issue is opened for 20 days.
Please update your status !!!
Best regards,
Mizuno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
The wiced_btsdk is older than yours.
<version>2.1.0.4425</version>
I will test with newer btsdk.
Best regards,
Mizuno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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