Quantcast
Channel: 蓝牙论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 7485

2541主机扫描问题

$
0
0

大家好

今天在做主机扫描从机的过程。 

条件是这样的:只扫描不保存

我把主机的宏改为这样

// Maximum number of scan responses
#define DEFAULT_MAX_SCAN_RES                   50

同时把这句话屏蔽掉

//simpleBLEAddDeviceInfo( pEvent->deviceInfo.addr, pEvent->deviceInfo.addrType );

这个函数也屏蔽掉

扫描到就打印出来从机的名称

如果从机的数量多于30个的话就会出现扫描不全的情况。

各位大侠有没有什么好的解决办法吗?谢谢


Viewing all articles
Browse latest Browse all 7485

Trending Articles