RFduino keeping connected

Ask, and ye shall receive.
Christian1991
Posts: 1
Joined: 17:17, 06 Feb 2015

RFduino keeping connected

Postby Christian1991 » 17:20, 06 Feb 2015

Hi,
I am working with the RFduino set and I am trying to create an app with several pages.
Linking from one HTML file to another works perfectly but whenever I change "page" I lose the connection to the RFduino. Is there anyway to maintain the connection?

ardiri
Posts: 58
Joined: 16:13, 28 May 2014

Re: RFduino keeping connected

Postby ardiri » 10:38, 20 Mar 2015

it may be an issue with a local variable used for maintaining the connection with the RFduino - have you considered using a div based approach and then show/hide what is relevant; Mikael posted a tutorial that uses this type of technique showing how this is done with an example:

http://evothings.com/quick-guide-to-wri ... avascript/

alternatively; if you could find a way to preserve the variable when switching the pages (if you must do it); then you could find a solution for that.
// Aaron
Chief Technology Officer
Evothings AB http://www.evothings.com/


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 48 guests