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
buscarMedidor.cpp
00001 #include "appCommands.h" 00002 00003 #ifndef RAMAL 00004 00005 extern Pima pima; 00006 00007 void cmdBuscarMedidor(char * dados, unsigned char tamanhoDados){ 00008 if(tamanhoDados != MEDIDOR_LENGTH){ 00009 return; 00010 } 00011 if(memcmp(dados, pima.getMeterNumber(), MEDIDOR_LENGTH) == 0){ 00012 exec.enviaResposta(RESP_BUSCAR_MEDIDOR, (char *)pima.getMeterNumber(), MEDIDOR_LENGTH); 00013 } 00014 return; 00015 } 00016 00017 #endif // ndef(RAMAL)
Generated on Thu Jul 14 2022 00:24:57 by
1.7.2
