Smartphone application for structural health monitoring