I was considering the following possibility, using an nrf51882 module or another module to receive ble advertisements. I'm pretty sure this is possible. Using the internel CPU, Cortex M0 to do any processing and then sending the processed data to another device using a UART. The idea would be to use the ble device as a short range device and then use another techonlogy to transmit the data over a long range (both technologies being low power devices).
Is there any sample code for the reception of ble advert data?