Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
pingpair_sleepy.pde

This is an example of how to use the RF24 class to create a battery- efficient system. It is just like the pingpair.pde example, but the ping node powers down the radio and sleeps the MCU after every ping/pong cycle.