Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/

Dependents:   Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano

Revision:
10:c241e4227173
Parent:
9:7369ec77a3ea
Child:
13:ed6276c0afb7
--- a/Blynk/BlynkApi.h	Thu Jan 05 14:55:36 2017 +0200
+++ b/Blynk/BlynkApi.h	Thu Jan 12 02:10:58 2017 +0200
@@ -115,6 +115,17 @@
     }
 
     /**
+     * Sends internal command
+     */
+    template <typename... Args>
+    void sendInternal(Args... params) {
+        char mem[BLYNK_MAX_SENDBYTES];
+        BlynkParam cmd(mem, 0, sizeof(mem));
+        cmd.add_multi(params...);
+        static_cast<Proto*>(this)->sendCmd(BLYNK_CMD_INTERNAL, 0, cmd.getBuffer(), cmd.getLength()-1);
+    }
+
+    /**
      * Requests App or Server to re-send current value of a Virtual Pin.
      * This will probably cause user-defined BLYNK_WRITE handler to be called.
      *