Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04
Fork of smartRamalKW by
buscarDendrion.cpp
00001 #include "appCommands.h" 00002 00003 00004 #ifndef RAMAL 00005 extern Pima pima; 00006 #endif 00007 00008 extern SerialNumber sn; 00009 extern Announce announce; 00010 00011 void cmdBuscarDendrion(bool broadcast){ 00012 if(broadcast){ 00013 announce.startAnnounceTimer(); 00014 } else{ 00015 #ifdef RAMAL 00016 exec.enviaResposta(RESP_BUSCAR_DENDRION, (char *)MEDIDOR_DEFAULT_SN, MEDIDOR_LENGTH); 00017 #else 00018 exec.enviaResposta(RESP_BUSCAR_DENDRION, (char *)pima.getMeterNumber(), MEDIDOR_LENGTH); 00019 #endif 00020 } 00021 }
Generated on Thu Jul 14 2022 00:24:57 by
1.7.2
