diff --git a/src/main.cpp b/src/main.cpp index d3df5bc..16d7192 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -44,7 +44,8 @@ uint8_t params[] = { 0x66, 0x11, 0x20, 0x00, 0x64, 0x30, 0x3C, 0x2A, 0x14, 0xD9, byte params_request[] = {0x66, 0x11, 0x00, 0x77}; 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}; bool send_status = false; @@ -178,11 +179,6 @@ void loop() { send_status = false; Serial.println(""); } - /* - pTxCharacteristic->setValue(&txValue, 1); - pTxCharacteristic->notify(); - txValue++; - */ delay(10); // bluetooth stack will go into congestion, if too many packets are sent }