Community
cancel
Showing results for 
Search instead for 
Did you mean: 
LLore4
Novice
2,008 Views

Problem with Arduino webserver

Hi everybody,

I'm creating a IoT network.

I created a webservice to get temperature data and it's all ok.

The problem is that intel edison shield at the beginning works; after few minutes, also connecting from my browser, it becomes unattainable.

Which can be the problem?

To make work it, the only way is to restart the shield. Is it possible insert in the sketch (I'm using Arduino language) an automatic reset of shield in the case the server crush?

Thanks in advance for the help and best regards,

Lorenzo

7 Replies
LLore4
Novice
61 Views

Another question: imagine I have a string (example http://192.168.103.244:81/?on).

How can I do to get only the words after ? simbol (in this case on) and insert it in a new string variable?

Thanks in advance also for this question,

Lorenzo

idata
Community Manager
61 Views

Hi Lollus,

 

 

We'll try to help you as much as we can with your case. I've a few questions:
  1. Specifically, which shield are you using?
  2. How are you powering your Edison? Make sure you're powering your board with the proper power ratings.
  3. What image are you using?
  4. Is the shield you're using in the shield testing report? In case it is, I'd suggest you to take a look at the specifications and steps used to configure the board to use that shield. You can see the report here http://www.intel.com/content/www/us/en/support/boards-and-kits/000020775.html http://www.intel.com/content/www/us/en/support/boards-and-kits/000020775.html
  5. About your last question related to strings. Arduino uses a function called substring(). From the Arduino website:" substring() with only one parameter looks for a given substring from the position given to the end of the string. Try using something similar to new_string= string.substring(27)
We'll be waiting for your response.

 

 

-Sergio

 

idata
Community Manager
61 Views

Hi Lollus,

 

 

Do you still need assistance with this case?

 

 

-Sergio

 

LLore4
Novice
61 Views

Hi Sergio,

I'm still working on it.

As soon as I have news for you, i'll contact you.

Best regards and many thanks,

Lorenzo

idata
Community Manager
61 Views

Keep us updated on your progress.

 

 

-Sergio

 

idata
Community Manager
61 Views

Hi Lollus,

 

 

We would like to know if you have some updates on this case, do you have news?

 

 

Regards,

 

-Pablo
LLore4
Novice
61 Views

Hi everybody,

now I'm busy with my work so I left this project at the moment.

As soon as I have news, I'll let you know.

Best regards and many thanks,

Lorenzo

Reply