請教,使用demo中的主機(jī)和從機(jī)程序做使用:
有時候上電主機(jī)端打印發(fā)現(xiàn)有信號打印,但無Notify數(shù)據(jù),直到主機(jī)出現(xiàn)Write success(很久或重啟電源后才行) 后可正常接收Notify數(shù)據(jù)。
Discovering...
Device 1 - Addr 54 d1 9b d1 d8 ea?
Device not found...
Discovering...
Device 1 - Addr 54 d1 9b d1 d8 ea?
Device not found...
Discovering...
Device 1 - Addr 0 0 0 0 0 0?
Device 2 - Addr 54 d1 9b d1 d8 ea?
Device found...
Connecting...
Connected...
PHY Update 0...
RSSI : -18 dB?
PHY Update...
RSSI : -19 dB?
Found Profile Service handle : 21 ~ ffff?
Found Characteristic 1 handle : 23?
RSSI : -14 dB?
PHY Update...
Found client characteristic configuration handle : 2d?
*******這里循環(huán)******
RSSI : -38 dB?
RSSI : -39 dB?
RSSI : -37 dB?
RSSI : -50 dB?
RSSI : -50 dB?
RSSI : -48 dB?
RSSI : -53 dB?
RSSI : -49 dB?
RSSI : -42 dB?
RSSI : -42 dB?
RSSI : -42 dB?
RSSI : -40 dB?
RSSI : -38 dB?
RSSI : -47 dB?
RSSI : -39 dB?
RSSI : -40 dB?
RSSI : -40 dB?
RSSI : -41 dB?
RSSI : -46 dB?
RSSI : -44 dB?
RSSI : -40 dB?
RSSI : -47 dB?
RSSI : -43 dB?
Write success *****這里有后就可以正常接收
Receive source noti: