Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I wish ESP8266 Arduino Blocks for IoT Projects #1

Open
HAMUZAO opened this issue Apr 26, 2018 · 2 comments
Open

I wish ESP8266 Arduino Blocks for IoT Projects #1

HAMUZAO opened this issue Apr 26, 2018 · 2 comments

Comments

@HAMUZAO
Copy link

HAMUZAO commented Apr 26, 2018

Hello ^_^

I really loved this project & i tried it this week & i can say that its the best Arduino block platform i seen in my life ^.^

But i wished if there was also some arduino blocks for IoT project based on ESP8266 module (ESP8266 Arduino)

I wish also a special function that can Parse a result between two strings like this function
https://nmd-apps.jimdo.com/extensions/nmd-extensions/#4 (in Special Tools) if that is possible. This magic fuction can extract any information from a string or html response to get the needed data easily.

Thank you ^_^

@bmcage
Copy link
Collaborator

bmcage commented May 14, 2018

I do quite som ESP projects, so if time, something to add indeed.
For the parse function, can you give some more info. The link says: Parse (Parse a result between two strings). What type of parse would you like? What is the usecase?

@HAMUZAO
Copy link
Author

HAMUZAO commented Jun 9, 2018

If a ESP Wifi blocks can be added that will be awesome ^_^
Maybe a GSM blocks too to handle SIM800L/SIM900 too

for the parsing function maybe an advenced substring function will be better to handle text like Html response for IoT applications
Its hard to use the StringSubstring function to catch precise information from a feedback that change all the time & cant keep a following the index positions
https://www.arduino.cc/en/Tutorial/StringSubstring

For exemple (with Reglar SubString)

String stringOne = "Content-Type:text/html";

  // you can also look for a substring in the middle of a string:
  if (stringOne.substring(14,18) == "text") {

  } 

The new SubString that i want

String stringOne = "Content-Type: text/html";

  // you can also look for a substring in the middle of a string:
  if (stringOne.substring("-Type:","/html") == "text") {

  } 

In that way, it will be easy to extract any data from any html feedback without worrying about the indexation problems that can change & give wrong results

Hope my wishes can be possible one day ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants