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
Diff: appCommands.h
- Revision:
- 24:69e7e7079915
- Parent:
- 23:85202a52482d
- Child:
- 25:2c578b923ea9
--- a/appCommands.h Tue Oct 20 21:53:16 2015 +0000 +++ b/appCommands.h Tue Oct 27 21:54:09 2015 +0000 @@ -41,14 +41,14 @@ #define RESP_CONFIGURAR_PARAMETROS 0x1e #define CMD_LER_RELOGIO 0x1f #define RESP_LER_RELOGIO 0x20 -#define CMD_TENSAO_INSTANTANEA 0x21 -#define RESP_TENSAO_INSTANTANEA 0x22 -#define CMD_CORRENTE_INSTANTANEA 0x23 -#define RESP_CORRENTE_INSTANTANEA 0x24 -#define CMD_MM_TENSAO 0x25 -#define RESP_MM_TENSAO 0x26 -#define CMD_MM_CORRENTE 0x27 -#define RESP_MM_CORRENTE 0x28 +#define CMD_GRANDEZA_INSTANTANEA 0x21 +#define RESP_GRANDEZA_INSTANTANEA 0x22 +#define CMD_TEMPERATURA 0x23 +#define RESP_TEMPERATURA 0x24 +#define CMD_MEMORIA_MASSA 0x25 +#define RESP_MEMORIA_MASSA 0x26 +//#define RESERVADO 0x27 +//#define RESERVADO 0x28 //#define CMD_DETECTA_CARGA 0x29 //#define RESP_DETECTA_CARGA 0x2a #define CMD_LER_CICLOS_CORTE 0x2b @@ -97,12 +97,10 @@ //void cmdGravarParamBluetooth(char * dados, unsigned char tamanhoDados); //void cmdExecCmdBtm(char* dados, unsigned char tamanhoDados); -void cmdTensaoInstantanea(int lineOrLoad); -void cmdMMTensao(int lineOrLoad, int block); -void cmdCorrenteInstantanea(); -void cmdMMCorrente(int block); - +void cmdGrandezaInstantanea(int channel); +void cmdMemoriaMassa(int channel, int block); void cmdLerAlarmes(int block); +void cmdLerTemperatura(int channel); void atualizaEstadoRele(unsigned char estado); unsigned char lerEstadoRele();
