自动断开与康涅狄格州ection interval

3 posts / 0 new
Last post
sentimental
Offline
Last seen:2 years 10 months ago
加入:2016-11-28 15:55
自动断开与康涅狄格州ection interval

Hello,
I use 14580 Pro board, SDK5.0.4. I found that when fixed the sensor sampling rate, if I set the connection interval too large, the board will disconnect after several minutes. If I change the connection interval smaller then it won't disconnect. When it is disconnected, it stops at:
void wrap_platform_reset(uint32_t error)
{
ASSERT_WARNING(error==RESET_AFTER_SPOTA_UPDATE); //do not break in case of a SPOTA reset
platform_reset_func(error);
}

I guess it is because with long connection interval the board cannot transmit all the sampled data. Is it the reason why it is disconnected? And why does it stop in wrap_platform_reset? Thanks.

Device:
MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2015-06-08 11:34
Hi sentimental,

Hi sentimental,

This is the error message you get when you have run out of heap, you are allocating messages that you never consume, if for example you are allocating notification messages and you have a large connection interval the messages are piled up until a connection event arrives, but with a large connection interval your run out of memory before the connection event arrives.

Thanks MT_dialog

sentimental
Offline
Last seen:2 years 10 months ago
加入:2016-11-28 15:55
Thanks!

Thanks!