mash in the BLE example code
still needs reorganisation