What is the function of BLE.poll()?

Quite likely, but I'm not sure you can then do anything at all without handlers as this is a library driven by callbacks I think.