Skip to main content

The Connected Factory Process In A Nutshell

All You Need To Know, In Seven Steps

  1. In order to run application firmware, a Production Device must be blessed — ie. there must be a link between the device’s unique ID and the Production Device Group to which the latest application firmware has been deployed.

  2. To make a Production Device, you must bless a Device Under Test (DUT). To do so, you call the imp API method server.bless() on the DUT, which is running factory firmware. Only factory firmware can call server.bless(). It can and should include hardware tests you have written, and run these before calling server.bless().

  3. To get the factory firmware onto a DUT, you connect the DUT to the factory network via WiFi or Ethernet, or to a cellular network, depending on the type of imp on which your product is based.

  4. To get the factory network credentials, if required, and an impCloud access authorization token (always required) onto the DUT, you perform BlinkUp in the factory, which you initiate by calling the imp API method server.factoryblinkup() on your BlinkUp fixture. You can only call server.factoryblinkup() on a BlinkUp fixture which is running the same factory firmware as the DUTs.

  5. Because the factory firmware runs on both the BlinkUp fixture and DUTs, it needs to distinguish between these two types of hardware. Electric Imp’s FactoryTools library and our sample factory firmware will help you achieve this.

  6. Putting all this together, this is what you need to put a product into production:

    • An impCentral™ Product — What you will be manufacturing.
    • An impCentral Factory Device Group — The collection of your assembly line’s BlinkUp fixtures.
    • An impCentral Production Device Group — The collection of your blessed Production Devices.
    • Your factory firmware — Promoted code that runs on the BlinkUp fixtures, and on DUTs before blessing.
    • Your application firmware — Promoted code that runs on Production Devices after blessing.
  7. Using impCentral you:

    • Set the Production Device Group as the Factory Device Group’s Target.
    • Promote and deploy the factory firmware from a Test Factory Device Group to the Factory Device Group.
    • Promote and deploy the application firmware from a Development Device Group to the Production Device Group so that Production Devices receive the application after blessing.