I can make the device go to sleep but I am not able to wake up using GPIO interrupt. Is there an example that uses "blecm_connectionEventNotifiationEnable" function to wake up from sleep.
Try this one with a Wake Button:
WICED Sense SDK 2.1 Firmware.zip
This thread contains exactly what you need, including references to a few code samples within the SDK: Re: How can I make bcm20732s sleep and wake it up by GPIO interrupt?
Retrieving data ...