A Flexible DAQ Hardware Architecture using SoCs for IoT based Structural Health Monitoring Systems