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
respBuscarConcentrador.cpp
00001 #include "appCommands.h" 00002 00003 extern Announce announce; 00004 00005 void respBuscarConcentrador(bool broadcast, char * dados, unsigned char tamanhoDados){ 00006 if(!broadcast){ 00007 DEBUG(printf("[GGS] ACK received\r\n")); 00008 announce.stopAnnounceTimer(); 00009 } 00010 if(tamanhoDados == 4){ 00011 unsigned int seconds = (dados[3] << 24) + (dados[2] << 16) + (dados[1] << 8) + dados[0]; 00012 set_time(seconds); 00013 DEBUG(printf("[CLK] Setting time to %d = %s\r\n", seconds, ctime(&seconds))); 00014 } 00015 }
Generated on Thu Jul 14 2022 00:24:57 by
1.7.2
