A statistical analysis on the system performance of a Bluetooth Low Energy indoor positioning system in a 3D environment