Tool/software:
hello!
This is the pairing setting,sdk ver 7_41
1、If the Maximum Number of Characteristic is set to 0, the pair can be successfully paired, but the save error is 0x04 !When the connection is made again, it will not be paired again, but the data communication is not encrypted 。
2、If the Maximum Number of Characteristic is set to 4, the pair can be successfully paired, The pair binding is saved successfully !The data transmitted on each subsequent connection is encrypted, but the notify function is enabled before each subsequent connection。
The help I need is that I hope the pairing succeeds and can be successfully saved. In the case of no active cancellation of the pairing, the data of subsequent connections will be encrypted and transmitted, which is the process of the second situation. However, I do not want to start a notify for each subsequent connection, because the notify before the connection callback is meaningless to me, how to remove it?
I really hope to get your help, thank you!