[213043MESH] It becomes unable to control MESH servers. (iOS)

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

This issue is similar with [213043MESH] It becomes unable to control MESH servers.

Could you unlock the discussion or reply on this ticket ?

As far as my test using Android application, it looks the issue was fixed.

But in case of using iOS application, the same issue is still shown.

Could you help to fix this issue ?

[Environment]

    ModuaToolbox 2.1

    CYBT-213043-MESH

    Mesh-Demo-213043MESH.color_light

    Two color light nodes are provisioned this MESH network.

    Peer application: MeshApp on iOS

[Log] with MESH_MODELS_DEBUG_TRACES=1, MESH_CORE_DEBUG_TRACES=1

    teraterm_com7.log

    teraterm_com13.log

[Phenomenon]

    CYBT-213043 fails to control by iOS MeshApp when we keep changing colors.

    To use Android apps, it looks this issue was fixed to use wiced_btsdk 2.3.0.5811.

    But, to use iOS apps, this issue occurred.

It looks iOS apps can send color changing request faster than Android.

So, this might be a timing issue.

We got the logs with DEBUG_TRACEs. Please check them.

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

Hi,

So the issue is reproducible only in the IOS app. Let me check this issue with the software team. I will get back to you after that.

Are you observing this issue for group color change?  Could you please provide us the minimal steps to reproducing the issue?

Please note the latest SDK is BT-SDK2.5.

Thanks,

-Dheeraj

Hi Dheeraj,

Do you have any update ?

> Are you observing this issue for group color change?

Yes

> Could you please provide us the minimal steps to reproducing the issue?

1. Build and download the color_light app.

2. Provision two devices.

3 Repeat changing color parameter by Mesh Client on iOS.

> Please note the latest SDK is BT-SDK2.5.

wiced_btsdk release-v2.5.0.

Best regards,

Mizuno

0 Likes

Hi,

Could you please try with the latest IOS mesh app (Version 1.0.12)?  Timer interval setting has been changed in it.

Please share the device log if you are experiencing any issue. (Please enable mesh model as well as core traces. Also add the time tamps in the teraterm log).

Thanks,

-Dheeraj

0 Likes

Hi Dheeraj,

We are checking it with the latest apps.

By the way, is it reasonable that peer application makes CYBT-213043 stop ?

Best regards,

Mizuno

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

Hi Dheeraj,

This issue occurs if we use the latest iOS Mesh app.

Please find the log files.

Best regards,

Mizuno

0 Likes

Hi,

Sorry for suggesting the wrong version. A new version of IOS app is out (v1.0.13) on Jun 3, 2020 with "Fix UI finger tracking timer issue". Please use the this IOS mesh app and let me know if you find any difficulties.

Thanks,

-Dheeraj

0 Likes

Hi Dheeraj,

It is resolved to use the iOS app v1.0.13.

But I have two questions:

Q1) What is the root cause of this issue ?

Q2) Is this change a potential fix but a workaround ?

       Is yes, please let me know why we can use it as a potential fix.

Best regards,

Mizuno

0 Likes

Hi,

It can be considered as a workaround.

The issue was related to GATT congestion at the proxy due to high rate of sending control commands from the IOS app.

Thanks,

-Dheeraj

0 Likes

Hi Dheeraj,

Thank you for giving the information.

Could you let me know the schedule to potentially fix this issue ?

Best regards,

Mizuno

0 Likes

Hi,

The issue has been fixed in the IOS app by providing a setting called "Tracking timer Interval" (IOS setting->meshApp -> Tracking Timer Interval) where you can configure the interval at which the control command has to be sent when user keep trying to change the group color. You can leave it to default value (zero) or configure it to 500 ms or above for normal operation without any congestion at the proxy. This congestion happens when we hit the throughput limitation of BT mesh.

Thanks,

-Dheeraj

Hi Dheeraj,

As you wrote at comment #8, the iOS setting is a workaround, isn't it ?

If no, please let me know why the setting is permanent fix but a workaround.

Best regards

Mizuno

0 Likes

Hi,

I am sorry to make you confused.

All the Mesh helper applications (android/IOS/Windows) are considered as demo apps and it is for test purpose. This is the reason why we have added "Tracking timer Interval" settings that can be configured by the user itself. Changing the value of the tracking timer interval to non-zero can improve the user experience based on current design.

Small tracking timer interval period can create congestion at the proxy device. We recommend you to leave the value of tracking timer interval to default value (zero) or configure it to 500 ms or above for normal operation to avoid any congestion.

When you configure it to "zero", it means, the control commands will be sent from the client at the end of a process. For example, control command will be sent when you lift up the finger from the color wheel after changing the colors. If the interval is non-zero, and you keep changing the color, the control commands will be sent periodically at the configured interval.

Please let me know if you have queries.

Thanks,

-Dheeraj

0 Likes

Hi Dheeraj,

It looks the setting is for iOS app. Is it correct ?

It is not about whether peer device frequently send packets or not, it is about whether CYBT-213043 is hanged up or not.

If a peer sends packets too frequently, the congestion might be unavoidable.

But, when throughput becomes low, should it work again ?

Best regards,

Mizuno

0 Likes

Hi,

Yes. The fix is at the IOS app side.

The GATT connection is getting congested due to the low buffer pool state at the proxy. So the rate at which sending control commands need to be reduced.

Thanks,

-Dheeraj

Hi Dheeraj,

I can agree with the change in iOS side.

But I think it is NOT enough.

Once the GATT connection is getting congested, CYBT-213043 stops operation.

Is there a vulnerability of the DoS attack ?

Best regards,

Mizuno

0 Likes