I started from an empty project with peripherial control first, the code size is about 12KB. Then after adding peer manager and related code(fstorage, fds and etc.), the code size become 27KB.In order not to reach the code size 32KB limitation of KEIL. Please kindly tell me how to simplify the extra 15KB size usage of peer manager.
I'm not sure if it can be reduced, but I will look into it. Could you explain a bit more about your requirements? What do you require from the Peer Manager?
The peer manager cost me about 15KB code size, we just need our device to be a ble_peripheral, advertising and provide services for host connection. Thanks.
It can be that without Peer Manager, but if you need bonding you can use Peer Manager. If you only need pairing, this is pretty easy to implement without the Peer Manager.
I have the same concern.
Is there an example of pairing without using the Peer Manager in the samples provided in the SDK?
Sorry for the late reply.
You can follow this MSC to see how to implement pairing only.