Enviar por SMS: Formal analysis of ubiquitous computing environments through the APEX framework