Text this: Performance analysis of a wireless sensor network with cognitive radio capabilities in structural health monitoring applications: A discrete model