The stack of software and hardware layers in a sensor-enabled smart phone or tablet