By default, the Spark Core connects to the Cloud and processes messages automatically. However there are many cases where a user will want to take control over that connection. The following methods are available to control the connectivity of the Spark Core.
There are three available system modes: AUTOMATIC
, MANUAL_CONNECT
, and MANUAL
. These modes describe how connectivity is handled.
System modes must be called before the setup()
function.