Note that unlike the CC3000, the ENC28J60 doesn’t do any protocol work for you, so you’d need to port a TCP/IP stack over to the core.
Explain your use case, maybe another product will work better.
If you just want something cheap with ethernet and wifi, I suspect there will be better options than a core (RPi springs to mind.)
Having to be connected to an API to allow the core to function will not work.
This ENC28J60 module comes with Arduino Script that will obtain IP from router. Could this script be ported to work with Spark Core without having to be connected to the API Cloud ?
I don’t know enough about the core yet to understand why it has to be connected to the Cloud; unless its a NSA thing ?
Then someone who sets their phone as a Hot Spot (wifi) and loads Tiny Webserver on the Core can interact and manipulate the Core Pins from there Smartphone ?
Will it run a loaded Core program without Wifi connection like an Arduno will do ?
Any relevant Docs that explain these options for Spark Core ?
spydrop, there is a complimentary function called WiFi.off() which turns off the wifi and you can start your Core with the wifi disabled as well. I believe these functions are available primarily for local builds in the (experimental) master branch right now and if you look at the online documentation, some of these functions are there. However, the Spark Team is reviewing the functionality and naming of these and many more functions in the coming weeks so expect some cool stuff!
@spydrop as @peekay123 mentioned, we’re preparing to release these system functions in our next push, but they’re still going through a process of internal optimization before general release. Although they’re available now, as @zach mentioned in the post below, we don’t want to “release” something only to immediately make modifications to it–too confusing