Problem with Blynk controller building
Moderators: grovkillen, Stuntteam, TD-er
Problem with Blynk controller building
Hi, friends! I have a problems with Blink plugin (C015). custom_ESP8266_1M (platform: espressif8266@2.3.2; board: esp01_1m; framework: arduino)
Error of building: D:/Arduino projekts/ESPEasy1/ESPEasy/src/_C015.ino:344:49: error: too many arguments to function 'String parseString(const String&, byte)'
Please, help, whats a probem is it?
Thank's a lot!
Error of building: D:/Arduino projekts/ESPEasy1/ESPEasy/src/_C015.ino:344:49: error: too many arguments to function 'String parseString(const String&, byte)'
Please, help, whats a probem is it?
Thank's a lot!
Re: Problem with Blynk controller building
Sounds like you don't have all sources of the current mega branch.
Please try building using PlatformIO.
If you use ArduinoIDE, don't forget to use the files from the /lib dir in the mega branch and don't try to mimic the installed libraries using the ArduinoIDE library manager.
Some of the libs we use have patched code, so they differ from what ArduinoIDE library manager tries to install.
Please try building using PlatformIO.
If you use ArduinoIDE, don't forget to use the files from the /lib dir in the mega branch and don't try to mimic the installed libraries using the ArduinoIDE library manager.
Some of the libs we use have patched code, so they differ from what ArduinoIDE library manager tries to install.
Re: Problem with Blynk controller building
@TD-er:
It seems that during the migration to the new parser (late Oct 2019) the function parameters were changed. Now declared as parseString(const string, byte), but originally was parseString(const string, byte, bool, bool).
See these github changes:
https://github.com/letscontrolit/ESPEas ... 5f4516L143
https://github.com/letscontrolit/ESPEas ... 5fa268L379
@SawwaOff:
I suggest editing _C015.ini, find this line:and change to:
This parsing should return the lower case string, which is the same as the original function call. It compiles (PlatformIO), but if it doesn't work correctly then please don't shoot me.
Thomas
It seems that during the migration to the new parser (late Oct 2019) the function parameters were changed. Now declared as parseString(const string, byte), but originally was parseString(const string, byte, bool, bool).
See these github changes:
https://github.com/letscontrolit/ESPEas ... 5f4516L143
https://github.com/letscontrolit/ESPEas ... 5fa268L379
@SawwaOff:
I suggest editing _C015.ini, find this line:
Code: Select all
String data = parseString(Line, 3, true, false);
Code: Select all
String data = parseString(Line, 3);
Thomas
Re: Problem with Blynk controller building
Hmm that's the 2nd time this change apparently resulted in a bug I see in this hour.ThomasB wrote: ↑19 Mar 2020, 23:52 @TD-er:
It seems that during the migration to the new parser (late Oct 2019) the function parameters were changed. Now declared as parseString(const string, byte), but originally was parseString(const string, byte, bool, bool).
See these github changes:
https://github.com/letscontrolit/ESPEas ... 5f4516L143
https://github.com/letscontrolit/ESPEas ... 5fa268L379
@SawwaOff:
I suggest editing _C015.ini, find this line:and change to:Code: Select all
String data = parseString(Line, 3, true, false);
This parsing should return the lower case string, which is the same as the original function call.Code: Select all
String data = parseString(Line, 3);
See: https://github.com/letscontrolit/ESPEas ... bf0d2c41f8
You're on a different continent, so you have to ask yourself one question.... "Do I feel lucky?"It compiles (PlatformIO), but if it doesn't work correctly then please don't shoot me.
Well, do ya... ?
Re: Problem with Blynk controller building
I don't understand how it could be compiled anyway.
I don't see the function for the 4-parameter function signature.
Edit:
Ah that was the whole idea about this topic
I don't see the function for the 4-parameter function signature.
Edit:
Ah that was the whole idea about this topic
Re: Problem with Blynk controller building
That's exactly how a pandemic begins.Hmm that's the 2nd time this change apparently resulted in a bug I see in this hour.
Keep at least two meters from other keyboards. Wash your typing fingers as often as practical.
- Thomas
Re: Problem with Blynk controller building
Hmm I do work on a separated laptop right now and I think I can move it to a separate VLAN just to be sure.
-
- New user
- Posts: 1
- Joined: 20 Mar 2020, 06:39
Re: Problem with Blynk controller building
Hey Sawwa, sounds like the issue is from using the wrong version of Blynk - the parseString function should take only 3 arguments and you've probably put in 4. See if you can edit _C015.ini like ThomasB wrote.SawwaOff wrote: ↑19 Mar 2020, 20:08 Hi, friends! I have a problems with Blink plugin (C015). custom_ESP8266_1M (platform: espressif8266@2.3.2; board: esp01_1m; framework: arduino)
Error of building: D:/Arduino projekts/ESPEasy1/ESPEasy/src/_C015.ino:344:49: error: too many arguments to function 'String parseString(const String&, byte)'
Please, help, whats a probem is it?
Thank's a lot!
Re: Problem with Blynk controller building
@SawwaOff:
I suggest editing _C015.ini, find this line:and change to:
This parsing should return the lower case string, which is the same as the original function call. It compiles (PlatformIO), but if it doesn't work correctly then please don't shoot me.
Thomas
[/quote]
Hi! These actions helped me!
Thank's.
Firmaware was build, but Blynk does'nt work propertly
I don 't know where to enter data about the virtual pins, and data from sensors not uploaded to Blynk...
I suggest editing _C015.ini, find this line:
Code: Select all
String data = parseString(Line, 3, true, false);
Code: Select all
String data = parseString(Line, 3);
Thomas
[/quote]
Hi! These actions helped me!
Thank's.
Firmaware was build, but Blynk does'nt work propertly
I don 't know where to enter data about the virtual pins, and data from sensors not uploaded to Blynk...
Re: Problem with Blynk controller building
Good to hear it compiles. Sorry, but I don't use Blynk so I can't help with the configuration.Firmaware was build, but Blynk does'nt work propertly
I don 't know where to enter data about the virtual pins, and data from sensors not uploaded to Blynk...
- Thomas
Who is online
Users browsing this forum: No registered users and 2 guests