I have one of the program that use “bridge”, it’s been working for years on ESP8266 and I do have a source code for this. This week, I need to make some change to the code but when I compile it, I got the following error message:
‘’ ‘WidgetBridge’ does not name a type"
Bridge was a legacy concept that is no longer supported in Blynk IoT.
If you’re migrating to Blynk IoT then you should read this…
If you’re running !egacy on a local server then you really need to state that at the very beginning of your topics, and you need to be running version 0.6.1 of the Blynk library.
It’s not clear from your response if you’re trying to run this code on you api or on some other device.
If you’re programming some other device with C++ and using the Arduino IDE then you can select the library version you want in the IDE, otherwise you can download the library from here…
No.
I take it you didn’t bother to follow the link I provided?
Sorry, I was on the phone when reading your response without reading the FAQ link.
I’m very sad that they discontinued the Blynk
Can you please let me know what need to be done so I can compile the sketch for it to run on a local Blynk-legacy server?
If I remove the “WidgetBride” lines then the complier when through ok but I need that so I can get the data from 3 different device to display into one app.
Below is the error I get when I compile:
Master_Receiver:45:1: error: 'WidgetBridge' does not name a type
45 | WidgetBridge GridTied1(V110);
| ^~~~~~~~~~~~
Master_Receiver:46:1: error: 'WidgetBridge' does not name a type
46 | WidgetBridge GridTied2(V111);
| ^~~~~~~~~~~~
Master_Receiver:47:1: error: 'WidgetBridge' does not name a type
47 | WidgetBridge LTO(V112);
| ^~~~~~~~~~~~
exit status 1
'WidgetBridge' does not name a type