Preparing device and tools This procedures describe an abstract idea on getting a device ready for development environment. In general, the following are usually the cases: Local development machine This section describes pre-requisites for a local development machine for a case of building the device in the machine before transferring the package to the actual …

Preparing device and tools Read More »

Programming device store Neuko provides an abstract class of DeviceIdentifierStore to make it flexible for developer to choose on how some parameters is generated. DeviceIdentifierStore is a class that defines on how the Neuko SDK module retrieves the following parameters: Device identifier The first 3 identifiers can be retrieve from this procedure and hardcoded into …

Programming device store Read More »

Programming certificate store Neuko provides an abstract class of CertificateStore to make it flexible for developer to choose on how to save and retrieve certificates from the device. CertificateStore is a class that defines on how the Neuko SDK module saves and retrieves the following certificates: Each of the certificate types consists of 3 types …

Programming certificate store Read More »

Programming connection store Neuko provides an abstract class of ConnectionStore to make it flexible for developer to choose on how to save, retrieve check for existence and delete perpetual connection configuration file. The file will be sent to the device during Activation request within provisioning process as describe in this guide. For illustration, let’s assume …

Programming connection store Read More »

Start device connection This section shows how to start the device for connection to the Neuko Cloud IoT platform. Neuko SDK will determine on where is the device to be connected, either to Provisioning endpoint or Perpetual endpoint, based on the lifecycles as described in this guide. Make sure the following store has been programmed:

Device updates to telemetry state This guide describes the concept and syntax when a device to update changes of telemetry state to its Virtual Twin. When a device updates the telemetry state, the whole telemetry state schema will be sent to Neuko Cloud IoT platform and the platform will update the Virtual Twin and store …

Device updates to telemetry state Read More »

Device listens to telemetry state changed This guide describes the concept and syntax when a device listens to the changes of telemetry state from its Virtual Twin. Below telemetry state schema with a state name of smart_plug_state will be used throughout this guide. Code below shows several examples when listening to changes and invoke functions …

Device listens to telemetry state changed Read More »