anged status message

This commit is contained in:
René Arnhold 2020-07-28 08:46:06 +02:00
parent 8505edd032
commit 7ccdac4f3e
1 changed files with 2 additions and 6 deletions

View File

@ -44,7 +44,8 @@ uint8_t params[] = { 0x66, 0x11, 0x20, 0x00, 0x64, 0x30, 0x3C, 0x2A, 0x14, 0xD9,
byte params_request[] = {0x66, 0x11, 0x00, 0x77}; byte params_request[] = {0x66, 0x11, 0x00, 0x77};
bool send_params = false; bool send_params = false;
uint8_t status[] = { 0x66, 0x41, 0x05, 0x32, 0x32, 0x00, 0x00, 0x02 , 0x02}; // uint8_t status[] = { 0x66, 0x41, 0x05, 0x32, 0x32, 0x00, 0x00, 0x02 , 0x02};
uint8_t status[] = { 0x66, 0x41, 0x05, 0x05, 0x00, 0xFF, 0xFF, 0x00, 0xAF, 0xFC };
byte status_request[] = {0x66, 0x41, 0x02}; byte status_request[] = {0x66, 0x41, 0x02};
bool send_status = false; bool send_status = false;
@ -178,11 +179,6 @@ void loop() {
send_status = false; send_status = false;
Serial.println(""); Serial.println("");
} }
/*
pTxCharacteristic->setValue(&txValue, 1);
pTxCharacteristic->notify();
txValue++;
*/
delay(10); // bluetooth stack will go into congestion, if too many packets are sent delay(10); // bluetooth stack will go into congestion, if too many packets are sent
} }