Documentation ¶
Overview ¶
Package simpleiot is a collection of Go code that is useful for implementing cloud and edge applications.
See the Simple Iot Project Documentation for more information.
To develop a new client, see the [client.Client] documentation.
Directories ¶
Path | Synopsis |
---|---|
Package api implments the SIOT http interface.
|
Package api implments the SIOT http interface. |
Package assets includes generated code from embedded assets (frontend, etc).
|
Package assets includes generated code from embedded assets (frontend, etc). |
Package client contains utilties for creating Simple IoT clients.
|
Package client contains utilties for creating Simple IoT clients. |
cmd
|
|
edge
Example SIOT client application
|
Example SIOT client application |
fetch
test download program
|
test download program |
mdns-test
mdns test
|
mdns test |
modbus
example modbus client application
|
example modbus client application |
modbus-client
example modbus client application
|
example modbus client application |
modbus-server
example modbus server application
|
example modbus server application |
point-size
test size of point encoding
|
test size of point encoding |
send-sms
example of sending SMS message
|
example of sending SMS message |
serial-encode
serial encode test
|
serial encode test |
siot
This is the main Simple IoT Program
|
This is the main Simple IoT Program |
tof10120
TOF10120 test application
|
TOF10120 test application |
Package contrib contains systemd example service files, etc.
|
Package contrib contains systemd example service files, etc. |
Package data contains common data structures that are used throughout the project.
|
Package data contains common data structures that are used throughout the project. |
Package file contains file utilties.
|
Package file contains file utilties. |
Package frontend includes web UI frontend code.
|
Package frontend includes web UI frontend code. |
Package gps contains code to parse GPS data.
|
Package gps contains code to parse GPS data. |
Package internal include protobuf definitions.
|
Package internal include protobuf definitions. |
Package modbus contains modbus RTU/TCP client/server code.
|
Package modbus contains modbus RTU/TCP client/server code. |
Package msg is used to send messages vi Twillio, SMTP, etc
|
Package msg is used to send messages vi Twillio, SMTP, etc |
Package network contains drivers to manage various network interfaces including modems.
|
Package network contains drivers to manage various network interfaces including modems. |
Package node contains functionality to manage different types of nodes.
|
Package node contains functionality to manage different types of nodes. |
Package particle is used to interface with devices through the particle.io cloud.
|
Package particle is used to interface with devices through the particle.io cloud. |
Package respreader provides a convenient way to frame response data from devices that use prompt/response protocols such as Modbus, other RS485 protocols, and modem AT commands.
|
Package respreader provides a convenient way to frame response data from devices that use prompt/response protocols such as Modbus, other RS485 protocols, and modem AT commands. |
Package sensors implements code to read various sensors.
|
Package sensors implements code to read various sensors. |
Package server is used to start up the SIOT server, which includes NATS, the store, various built in clients, and HTTP API.
|
Package server is used to start up the SIOT server, which includes NATS, the store, various built in clients, and HTTP API. |
Package sim contains simulation code
|
Package sim contains simulation code |
Package store implements the SIOT data store and processes messages.
|
Package store implements the SIOT data store and processes messages. |
Package system implements system specific functionality.
|
Package system implements system specific functionality. |
Package test contains test utilities
|
Package test contains test utilities |
Package tools is use to lock down versions of various tool packages we use.
|
Package tools is use to lock down versions of various tool packages we use. |
Click to show internal directories.
Click to hide internal directories.