Skip to main content

Code Libraries

The Electric Imp Platform supports the addition of software libraries to both your agent and device code. Any of our libraries may be included in your code, and you can include multiple libraries. At this time, only libraries hosted by Electric Imp are available. However, all of our libraries are open source, and you can viewed, download or fork the library source from our GitHub repo.

Electric Imp’s libraries have been issued under the terms of the MIT License to allow you free usage of each library in your own code. You should understand the terms of this license before you make use any of our libraries. Some of the libraries we host are provided by third-parties, so you should check a given library’s documentation for ownership information and any special licensing terms imposed by the third-party concerned.

New additions

Library name Directive to load the current version Availability
MongoDB MongoDBStitch

#require "MongoDBStitch.agent.lib.nut:1.0.0"

  • agent
AWS AWS Simple Query Service

#require "AWSRequestV4.class.nut:1.0.2"
#require "AWSSQS.agent.lib.nut:1.0.0"

  • agent
AWS AWS Simple Notification Service

#require "AWSRequestV4.class.nut:1.0.2"
#require "AWSSNS.agent.lib.nut:1.0.0"

  • agent
QL720NW Label Printer QL720NW

#require "QL720NW.device.lib.nut:1.0.0"

  • device
UART GPS Module GPS

#require "GPS.device.lib.nut:0.1.0"

  • device

Updated libraries

Library name Directive to load the current version Availability
Utilities Rocky

#require "rocky.class.nut:2.0.1"

  • agent
Utilities ConnectionManager

#require "ConnectionManager.lib.nut:2.1.0"

  • device
MongoDB MongoDBStitch

#require "MongoDBStitch.agent.lib.nut:1.0.0"

  • agent
Utilities Build API Agent

#require "BuildAPIAgent.class.nut:1.1.1"

  • agent
AWS AWS Simple Query Service

#require "AWSRequestV4.class.nut:1.0.2"
#require "AWSSQS.agent.lib.nut:1.0.0"

  • agent