CH582的Central例程,連上外圍設(shè)備后,接收notify數(shù)據(jù)后斷開連接,是不是對端設(shè)備數(shù)據(jù)發(fā)得太頻繁了?

CH582的Central例程,連上外圍設(shè)備后,接收notify數(shù)據(jù)后斷開連接,是不是對端設(shè)備數(shù)據(jù)發(fā)得太頻繁了?

log打印如下:

Device?8?-?Addr?97?5d?7d?31?cf?66?
Device?9?-?Addr?19?8a?5f?58?67?d5?
Device?10?-?Addr?ba?29?fd?92?b0?d6?
Device?not?found...
Discovering...
Device?1?-?Addr?8b?3c?4a?0?e8?fc?
Device?2?-?Addr?41?2a?b2?91?6c?21?
Device?3?-?Addr?a2?32?ba?ff?64?48?
Device?4?-?Addr?1c?28?e3?5d?bd?9?
Device?5?-?Addr?97?5d?7d?31?cf?66?
Device?6?-?Addr?8e?9e?3d?e1?57?f3?
Device?7?-?Addr?84?3c?8b?fb?4?61?
Device?8?-?Addr?a0?8c?42?31?61?40?
Device?9?-?Addr?f?4?4?1d?56?65?
Device?not?found...
Discovering...
Device?1?-?Addr?8b?3c?4a?0?e8?fc?
Device?2?-?Addr?19?8a?5f?58?67?d5?
Device?3?-?Addr?97?5d?7d?31?cf?66?
Device?4?-?Addr?84?3c?8b?fb?4?61?
Device?5?-?Addr?41?2a?b2?91?6c?21?
Device?6?-?Addr?a0?8c?42?31?61?40?
Device?7?-?Addr?1c?28?e3?5d?bd?9?
Device?8?-?Addr?a2?32?ba?ff?64?48?
Device?9?-?Addr?59?59?9c?4c?17?20?
Device?10?-?Addr?8e?9e?3d?e1?57?f3?
Device?found...
Connecting...
Connected...
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
exchange?mtu:23
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Bonding?success
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
RSSI?:?-48?dB?
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
Receive?noti:?a5
RSSI?:?-48?dB?
Disconnected...Reason:8
Discovering...
Device?1?-?Addr?1c?28?e3?5d?bd?9?
Device?2?-?Addr?23?eb?98?d9?f9?f8?
Device?3?-?Addr?a0?8c?42?31?61?40?
Device?4?-?Addr?84?3c?8b?fb?4?61?
Device?5?-?Addr?4a?30?3c?17?fd?45?
Device?6?-?Addr?a2?32?ba?ff?64?48?
Device?7?-?Addr?f?9f?4b?53?53?1?
Device?8?-?Addr?f?4?4?1d?56?65?
Device?9?-?Addr?8b?3c?4a?0?e8?fc?
Device?10?-?Addr?19?8a?5f?58?67?d5?
Device?not?found...
Discovering...
Device?1?-?Addr?4a?30?3c?17?fd?45?
Device?2?-?Addr?1c?28?e3?5d?bd?9?
Device?3?-?Addr?a2?32?ba?ff?64?48?
Device?4?-?Addr?f?9f?4b?53?53?1?
Device?5?-?Addr?23?eb?98?d9?f9?f8?
Device?6?-?Addr?a0?8c?42?31?61?40?
Device?7?-?Addr?f?4?4?1d?56?65?
Device?8?-?Addr?8b?3c?4a?0?e8?fc?
Device?9?-?Addr?84?3c?8b?fb?4?61


Reason 8 斷開的一般是內(nèi)部數(shù)據(jù)處理不及時或者任務(wù)阻塞導(dǎo)致。

1、將MTU交互拉大,1包發(fā)送的數(shù)據(jù)增多,可以實(shí)現(xiàn)較多數(shù)據(jù)的交互;

2、從機(jī)發(fā)送給主機(jī)的速度減慢一些。

從而驗(yàn)證降低速度后是否還會出現(xiàn)斷連的現(xiàn)象。


是對端設(shè)備發(fā)得太頻繁了。改了一下就好了;


只有登錄才能回復(fù),可以選擇微信賬號登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频