I am working on a project where a Spark Core samples a GPS receiver. The thing is to live indoor and is quite static, so even if I won’t always be able to receive the signal, that’s still fine. My user can place the thing near a window for a while, until the GPS signal is received, then I can just store the last result and use that, since I can assume that it won’t significantly move. However, having to place the thing near a window every time it boots up can be quite a pain, so I was thinking about storing the previous value somewhere on the cloud, and then fetching it when booting.
Is there an API for doing such a thing? Something to store a variable and then fetch it next time the Spark boots?