I’ve read many posts about using the core without the cloud but none of them seem to cover exactly what I want to do.
I want to operate my core completely without the cloud. (I’m doing 100% local development and debug.)
I am am using the core to implement a device that can take readings and allow other devices to retrieve the readings using CoAP. I’ve got basic stuff working but from time to time the core swallows the CoAP packet that I want to process with my code.
Also, the device will need to operate when there is no internet connection available as well.
I don’t want to use a local cloud because it would require another device to run the cloud. I want to be able to directly get readings from the core using an Android, iOS or Win mobile application.
I have tried MANUAL mode for the connection and called Spark.connect(); but my packets are never sent. I’m guessing that communications with the CC3300 is all driven somewhere in the Spark.process(); method. If I call that I’m right back to having the core’s code snatch my packets based on timing.
I’m thinking of combing through the code and disabling where the core processes packets, but that is no simple task, so I’m looking for a little direction or advice on a better way to do this.