I’m looking at the possibility of using an Electron with the gateway shield. According to the best practices here, I should not let the DKs talk directly to the cloud due to data usage. However, my architecture requires each device (DK, Photon, Electron, etc.) to request its configuration from the cloud. The configuration information includes API keys and other critical information to allow it to properly post information to the cloud service I’m using (Grovestreams).
I’m wondering if I can call SYSTEM_MODE(MANUAL) after the DK receives its configuration information and then have the DKs send the data to the Electron (via BLE.sendData()) and have the Electron make the actual API call to Grovestreams.
Is this possible and does it make sense? I guess would also have to figure out when to call gateway.set_ble_local() in the gateway–after all the DKs have gotten their configuration.