Hi everyone.
After I tested MasterSlave Project successfully with my CC2541 Keyfobs,
I tried to test scan function of them cause MasterSlave Project initially hardcode MAC address and I don't like it.
After look into "simpleBLEcenteral" Project, I made some modifications on simpeBLESwtch.c.
but it doesn't seem to work as I expected.
sequence :
1. initialize as usual.
2. when key_sw_1 pressed, I called GAPCentralRole_StartDiscovery.
-> after finishing discovery, simpleBLECentralEventCB should be called. (with GAP_DEVICE_DISCOVERY_EVENT in parameter)
but simpleBLECentralEventCB wasn't be called when I tested.
so I wonder how can I make my CC2541 Keyfob to perform discovery properly.
If you know the answer or have same failure, please comment.
Thanks.
- dOOgie Kyohyun Park