SYMBOL INDEX (8610 symbols across 741 files) FILE: adaptor.go type DigitalPinOptioner (line 9) | type DigitalPinOptioner interface type DigitalPinOptionApplier (line 39) | type DigitalPinOptionApplier interface type DigitalPinner (line 45) | type DigitalPinner interface type DigitalPinValuer (line 59) | type DigitalPinValuer interface type DigitalPinnerProvider (line 68) | type DigitalPinnerProvider interface type PWMPinner (line 73) | type PWMPinner interface type PWMPinnerProvider (line 98) | type PWMPinnerProvider interface type AnalogPinner (line 103) | type AnalogPinner interface type I2cSystemDevicer (line 126) | type I2cSystemDevicer interface type SpiSystemDevicer (line 173) | type SpiSystemDevicer interface type OneWireSystemDevicer (line 182) | type OneWireSystemDevicer interface type BusOperations (line 198) | type BusOperations interface type I2cOperations (line 214) | type I2cOperations interface type SpiOperations (line 226) | type SpiOperations interface type OneWireOperations (line 237) | type OneWireOperations interface type Adaptor (line 253) | type Adaptor interface type BLEConnector (line 265) | type BLEConnector interface type Porter (line 279) | type Porter interface FILE: api/api.go type API (line 19) | type API struct method ServeHTTP (line 62) | func (a *API) ServeHTTP(res http.ResponseWriter, req *http.Request) { method Post (line 78) | func (a *API) Post(path string, f func(http.ResponseWriter, *http.Requ... method Put (line 83) | func (a *API) Put(path string, f func(http.ResponseWriter, *http.Reque... method Delete (line 88) | func (a *API) Delete(path string, f func(http.ResponseWriter, *http.Re... method Options (line 93) | func (a *API) Options(path string, f func(http.ResponseWriter, *http.R... method Get (line 98) | func (a *API) Get(path string, f func(http.ResponseWriter, *http.Reque... method Head (line 103) | func (a *API) Head(path string, f func(http.ResponseWriter, *http.Requ... method AddHandler (line 108) | func (a *API) AddHandler(f func(http.ResponseWriter, *http.Request)) { method Start (line 113) | func (a *API) Start() { method StartWithoutDefaults (line 121) | func (a *API) StartWithoutDefaults() { method AddC3PIORoutes (line 128) | func (a *API) AddC3PIORoutes() { method AddRobeauxRoutes (line 155) | func (a *API) AddRobeauxRoutes() { method robeaux (line 174) | func (a *API) robeaux(res http.ResponseWriter, req *http.Request) { method mcp (line 198) | func (a *API) mcp(res http.ResponseWriter, req *http.Request) { method mcpCommands (line 204) | func (a *API) mcpCommands(res http.ResponseWriter, req *http.Request) { method robots (line 210) | func (a *API) robots(res http.ResponseWriter, req *http.Request) { method robot (line 220) | func (a *API) robot(res http.ResponseWriter, req *http.Request) { method robotCommands (line 230) | func (a *API) robotCommands(res http.ResponseWriter, req *http.Request) { method robotDevices (line 240) | func (a *API) robotDevices(res http.ResponseWriter, req *http.Request) { method robotDevice (line 254) | func (a *API) robotDevice(res http.ResponseWriter, req *http.Request) { method robotDeviceEvent (line 262) | func (a *API) robotDeviceEvent(res http.ResponseWriter, req *http.Requ... method robotDeviceCommands (line 305) | func (a *API) robotDeviceCommands(res http.ResponseWriter, req *http.R... method robotConnections (line 315) | func (a *API) robotConnections(res http.ResponseWriter, req *http.Requ... method robotConnection (line 329) | func (a *API) robotConnection(res http.ResponseWriter, req *http.Reque... method executeMcpCommand (line 338) | func (a *API) executeMcpCommand(res http.ResponseWriter, req *http.Req... method executeRobotDeviceCommand (line 346) | func (a *API) executeRobotDeviceCommand(res http.ResponseWriter, req *... method executeRobotCommand (line 363) | func (a *API) executeRobotCommand(res http.ResponseWriter, req *http.R... method executeCommand (line 377) | func (a *API) executeCommand(f func(map[string]interface{}) interface{}, method writeJSON (line 394) | func (a *API) writeJSON(j interface{}, res http.ResponseWriter) { method Debug (line 406) | func (a *API) Debug() { method jsonRobotFor (line 412) | func (a *API) jsonRobotFor(name string) (*gobot.JSONRobot, error) { method jsonDeviceFor (line 419) | func (a *API) jsonDeviceFor(robot string, name string) (*gobot.JSONDev... method jsonConnectionFor (line 427) | func (a *API) jsonConnectionFor(robot string, name string) (*gobot.JSO... function NewAPI (line 31) | func NewAPI(m *gobot.Manager) *API { FILE: api/api_test.go function initTestAPI (line 20) | func initTestAPI() *API { function TestStartWithoutDefaults (line 39) | func TestStartWithoutDefaults(t *testing.T) { function TestRobeaux (line 54) | func TestRobeaux(t *testing.T) { function TestIndex (line 78) | func TestIndex(t *testing.T) { function TestMcp (line 89) | func TestMcp(t *testing.T) { function TestMcpCommands (line 101) | func TestMcpCommands(t *testing.T) { function TestExecuteMcpCommand (line 112) | func TestExecuteMcpCommand(t *testing.T) { function TestRobots (line 141) | func TestRobots(t *testing.T) { function TestRobot (line 152) | func TestRobot(t *testing.T) { function TestRobotDevices (line 172) | func TestRobotDevices(t *testing.T) { function TestRobotCommands (line 192) | func TestRobotCommands(t *testing.T) { function TestExecuteRobotCommand (line 212) | func TestExecuteRobotCommand(t *testing.T) { function TestRobotDevice (line 251) | func TestRobotDevice(t *testing.T) { function TestRobotDeviceCommands (line 275) | func TestRobotDeviceCommands(t *testing.T) { function TestExecuteRobotDeviceCommand (line 300) | func TestExecuteRobotDeviceCommand(t *testing.T) { function TestRobotConnections (line 340) | func TestRobotConnections(t *testing.T) { function TestRobotConnection (line 360) | func TestRobotConnection(t *testing.T) { function TestRobotDeviceEvent (line 385) | func TestRobotDeviceEvent(t *testing.T) { function TestAPIRouter (line 428) | func TestAPIRouter(t *testing.T) { FILE: api/basic_auth.go function BasicAuth (line 10) | func BasicAuth(username, password string) http.HandlerFunc { function secureCompare (line 24) | func secureCompare(given string, actual string) bool { FILE: api/basic_auth_test.go function TestBasicAuth (line 12) | func TestBasicAuth(t *testing.T) { FILE: api/cors.go type CORS (line 10) | type CORS struct method isOriginAllowed (line 41) | func (c *CORS) isOriginAllowed(origin string) bool { method generatePatterns (line 51) | func (c *CORS) generatePatterns() { method AllowedHeaders (line 63) | func (c *CORS) AllowedHeaders() string { method AllowedMethods (line 68) | func (c *CORS) AllowedMethods() string { function AllowRequestsFrom (line 19) | func AllowRequestsFrom(allowedOrigins ...string) http.HandlerFunc { FILE: api/cors_test.go function TestCORSIsOriginAllowed (line 12) | func TestCORSIsOriginAllowed(t *testing.T) { function TestCORSAllowedHeaders (line 47) | func TestCORSAllowedHeaders(t *testing.T) { function TestCORSAllowedMethods (line 53) | func TestCORSAllowedMethods(t *testing.T) { function TestCORS (line 63) | func TestCORS(t *testing.T) { FILE: api/helpers_test.go type NullReadWriteCloser (line 10) | type NullReadWriteCloser struct method Write (line 12) | func (NullReadWriteCloser) Write(p []byte) (int, error) { method Read (line 16) | func (NullReadWriteCloser) Read(b []byte) (int, error) { method Close (line 20) | func (NullReadWriteCloser) Close() error { type testDriver (line 24) | type testDriver struct method Start (line 33) | func (t *testDriver) Start() error { return nil } method Halt (line 34) | func (t *testDriver) Halt() error { return nil } method Name (line 35) | func (t *testDriver) Name() string { return t.name } method SetName (line 36) | func (t *testDriver) SetName(n string) { t.name = n } method Pin (line 37) | func (t *testDriver) Pin() string { return t.pin } method Connection (line 38) | func (t *testDriver) Connection() gobot.Connection { return t.connecti... function newTestDriver (line 40) | func newTestDriver(adaptor *testAdaptor, name string, pin string) *testD... type testAdaptor (line 64) | type testAdaptor struct method Finalize (line 74) | func (t *testAdaptor) Finalize() error { return testAdaptorFinalize() } method Connect (line 75) | func (t *testAdaptor) Connect() error { return testAdaptorConnect() } method Name (line 76) | func (t *testAdaptor) Name() string { return t.name } method SetName (line 77) | func (t *testAdaptor) SetName(n string) { t.name = n } method Port (line 78) | func (t *testAdaptor) Port() string { return t.port } function newTestAdaptor (line 80) | func newTestAdaptor(name string, port string) *testAdaptor { function newTestRobot (line 87) | func newTestRobot(name string) *gobot.Robot { FILE: api/robeaux/robeaux.go function bindataRead (line 54) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 74) | type asset struct type bindataFileInfo (line 79) | type bindataFileInfo struct method Name (line 86) | func (fi bindataFileInfo) Name() string { method Size (line 90) | func (fi bindataFileInfo) Size() int64 { method Mode (line 94) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 98) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 102) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 106) | func (fi bindataFileInfo) Sys() interface{} { function cssKeepBytes (line 112) | func cssKeepBytes() ([]byte, error) { function cssKeep (line 119) | func cssKeep() (*asset, error) { function cssApplicationCssBytes (line 132) | func cssApplicationCssBytes() ([]byte, error) { function cssApplicationCss (line 139) | func cssApplicationCss() (*asset, error) { function cssApplicationCssMapBytes (line 152) | func cssApplicationCssMapBytes() ([]byte, error) { function cssApplicationCssMap (line 159) | func cssApplicationCssMap() (*asset, error) { function cssFontsCssBytes (line 172) | func cssFontsCssBytes() ([]byte, error) { function cssFontsCss (line 179) | func cssFontsCss() (*asset, error) { function fontsInconsolataBoldWebfontEotBytes (line 192) | func fontsInconsolataBoldWebfontEotBytes() ([]byte, error) { function fontsInconsolataBoldWebfontEot (line 199) | func fontsInconsolataBoldWebfontEot() (*asset, error) { function fontsInconsolataBoldWebfontSvgBytes (line 212) | func fontsInconsolataBoldWebfontSvgBytes() ([]byte, error) { function fontsInconsolataBoldWebfontSvg (line 219) | func fontsInconsolataBoldWebfontSvg() (*asset, error) { function fontsInconsolataBoldWebfontTtfBytes (line 232) | func fontsInconsolataBoldWebfontTtfBytes() ([]byte, error) { function fontsInconsolataBoldWebfontTtf (line 239) | func fontsInconsolataBoldWebfontTtf() (*asset, error) { function fontsInconsolataBoldWebfontWoffBytes (line 252) | func fontsInconsolataBoldWebfontWoffBytes() ([]byte, error) { function fontsInconsolataBoldWebfontWoff (line 259) | func fontsInconsolataBoldWebfontWoff() (*asset, error) { function fontsInconsolataRegularWebfontEotBytes (line 272) | func fontsInconsolataRegularWebfontEotBytes() ([]byte, error) { function fontsInconsolataRegularWebfontEot (line 279) | func fontsInconsolataRegularWebfontEot() (*asset, error) { function fontsInconsolataRegularWebfontSvgBytes (line 292) | func fontsInconsolataRegularWebfontSvgBytes() ([]byte, error) { function fontsInconsolataRegularWebfontSvg (line 299) | func fontsInconsolataRegularWebfontSvg() (*asset, error) { function fontsInconsolataRegularWebfontTtfBytes (line 312) | func fontsInconsolataRegularWebfontTtfBytes() ([]byte, error) { function fontsInconsolataRegularWebfontTtf (line 319) | func fontsInconsolataRegularWebfontTtf() (*asset, error) { function fontsInconsolataRegularWebfontWoffBytes (line 332) | func fontsInconsolataRegularWebfontWoffBytes() ([]byte, error) { function fontsInconsolataRegularWebfontWoff (line 339) | func fontsInconsolataRegularWebfontWoff() (*asset, error) { function fontsRobotoBoldWebfontEotBytes (line 352) | func fontsRobotoBoldWebfontEotBytes() ([]byte, error) { function fontsRobotoBoldWebfontEot (line 359) | func fontsRobotoBoldWebfontEot() (*asset, error) { function fontsRobotoBoldWebfontSvgBytes (line 372) | func fontsRobotoBoldWebfontSvgBytes() ([]byte, error) { function fontsRobotoBoldWebfontSvg (line 379) | func fontsRobotoBoldWebfontSvg() (*asset, error) { function fontsRobotoBoldWebfontTtfBytes (line 392) | func fontsRobotoBoldWebfontTtfBytes() ([]byte, error) { function fontsRobotoBoldWebfontTtf (line 399) | func fontsRobotoBoldWebfontTtf() (*asset, error) { function fontsRobotoBoldWebfontWoffBytes (line 412) | func fontsRobotoBoldWebfontWoffBytes() ([]byte, error) { function fontsRobotoBoldWebfontWoff (line 419) | func fontsRobotoBoldWebfontWoff() (*asset, error) { function fontsRobotoRegularWebfontEotBytes (line 432) | func fontsRobotoRegularWebfontEotBytes() ([]byte, error) { function fontsRobotoRegularWebfontEot (line 439) | func fontsRobotoRegularWebfontEot() (*asset, error) { function fontsRobotoRegularWebfontSvgBytes (line 452) | func fontsRobotoRegularWebfontSvgBytes() ([]byte, error) { function fontsRobotoRegularWebfontSvg (line 459) | func fontsRobotoRegularWebfontSvg() (*asset, error) { function fontsRobotoRegularWebfontTtfBytes (line 472) | func fontsRobotoRegularWebfontTtfBytes() ([]byte, error) { function fontsRobotoRegularWebfontTtf (line 479) | func fontsRobotoRegularWebfontTtf() (*asset, error) { function fontsRobotoRegularWebfontWoffBytes (line 492) | func fontsRobotoRegularWebfontWoffBytes() ([]byte, error) { function fontsRobotoRegularWebfontWoff (line 499) | func fontsRobotoRegularWebfontWoff() (*asset, error) { function fontsRobotoslabBoldWebfontEotBytes (line 512) | func fontsRobotoslabBoldWebfontEotBytes() ([]byte, error) { function fontsRobotoslabBoldWebfontEot (line 519) | func fontsRobotoslabBoldWebfontEot() (*asset, error) { function fontsRobotoslabBoldWebfontSvgBytes (line 532) | func fontsRobotoslabBoldWebfontSvgBytes() ([]byte, error) { function fontsRobotoslabBoldWebfontSvg (line 539) | func fontsRobotoslabBoldWebfontSvg() (*asset, error) { function fontsRobotoslabBoldWebfontTtfBytes (line 552) | func fontsRobotoslabBoldWebfontTtfBytes() ([]byte, error) { function fontsRobotoslabBoldWebfontTtf (line 559) | func fontsRobotoslabBoldWebfontTtf() (*asset, error) { function fontsRobotoslabBoldWebfontWoffBytes (line 572) | func fontsRobotoslabBoldWebfontWoffBytes() ([]byte, error) { function fontsRobotoslabBoldWebfontWoff (line 579) | func fontsRobotoslabBoldWebfontWoff() (*asset, error) { function imagesBulletConnections2PngBytes (line 592) | func imagesBulletConnections2PngBytes() ([]byte, error) { function imagesBulletConnections2Png (line 599) | func imagesBulletConnections2Png() (*asset, error) { function imagesBulletConnectionsPngBytes (line 612) | func imagesBulletConnectionsPngBytes() ([]byte, error) { function imagesBulletConnectionsPng (line 619) | func imagesBulletConnectionsPng() (*asset, error) { function imagesBulletDevices2PngBytes (line 632) | func imagesBulletDevices2PngBytes() ([]byte, error) { function imagesBulletDevices2Png (line 639) | func imagesBulletDevices2Png() (*asset, error) { function imagesBulletDevicesPngBytes (line 652) | func imagesBulletDevicesPngBytes() ([]byte, error) { function imagesBulletDevicesPng (line 659) | func imagesBulletDevicesPng() (*asset, error) { function imagesDeletePngBytes (line 672) | func imagesDeletePngBytes() ([]byte, error) { function imagesDeletePng (line 679) | func imagesDeletePng() (*asset, error) { function imagesDevicesImage2PngBytes (line 692) | func imagesDevicesImage2PngBytes() ([]byte, error) { function imagesDevicesImage2Png (line 699) | func imagesDevicesImage2Png() (*asset, error) { function imagesDevicesImagePngBytes (line 712) | func imagesDevicesImagePngBytes() ([]byte, error) { function imagesDevicesImagePng (line 719) | func imagesDevicesImagePng() (*asset, error) { function imagesLogoRobeauxPngBytes (line 732) | func imagesLogoRobeauxPngBytes() ([]byte, error) { function imagesLogoRobeauxPng (line 739) | func imagesLogoRobeauxPng() (*asset, error) { function imagesRobotsIcon_03PngBytes (line 752) | func imagesRobotsIcon_03PngBytes() ([]byte, error) { function imagesRobotsIcon_03Png (line 759) | func imagesRobotsIcon_03Png() (*asset, error) { function indexHtmlBytes (line 772) | func indexHtmlBytes() ([]byte, error) { function indexHtml (line 779) | func indexHtml() (*asset, error) { function jsKeepBytes (line 792) | func jsKeepBytes() ([]byte, error) { function jsKeep (line 799) | func jsKeep() (*asset, error) { function jsScriptJsBytes (line 812) | func jsScriptJsBytes() ([]byte, error) { function jsScriptJs (line 819) | func jsScriptJs() (*asset, error) { function Asset (line 833) | func Asset(name string) ([]byte, error) { function MustAsset (line 847) | func MustAsset(name string) []byte { function AssetInfo (line 859) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 872) | func AssetNames() []string { function AssetDir (line 935) | func AssetDir(name string) ([]string, error) { type bintree (line 957) | type bintree struct function RestoreAsset (line 1010) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 1035) | func RestoreAssets(dir, name string) error { function _filePath (line 1051) | func _filePath(dir, name string) string { FILE: commander.go type commander (line 3) | type commander struct method Command (line 26) | func (c *commander) Command(name string) func(map[string]interface{}) ... method Commands (line 31) | func (c *commander) Commands() map[string]func(map[string]interface{})... method AddCommand (line 36) | func (c *commander) AddCommand(name string, command func(map[string]in... type Commander (line 9) | type Commander interface function NewCommander (line 19) | func NewCommander() Commander { FILE: commander_test.go function TestCommander (line 9) | func TestCommander(t *testing.T) { FILE: connection.go type JSONConnection (line 12) | type JSONConnection struct function NewJSONConnection (line 18) | func NewJSONConnection(connection Connection) *JSONConnection { type Connection (line 26) | type Connection type Connections (line 29) | type Connections method Len (line 32) | func (c *Connections) Len() int { method Each (line 37) | func (c *Connections) Each(f func(Connection)) { method Start (line 44) | func (c *Connections) Start() error { method Finalize (line 64) | func (c *Connections) Finalize() error { FILE: debug.go function Debuglnf (line 5) | func Debuglnf(isDebug bool, format string, a ...interface{}) { FILE: device.go type JSONDevice (line 12) | type JSONDevice struct function NewJSONDevice (line 20) | func NewJSONDevice(device Device) *JSONDevice { type Device (line 39) | type Device type Devices (line 42) | type Devices method Len (line 45) | func (d *Devices) Len() int { method Each (line 50) | func (d *Devices) Each(f func(Device)) { method Start (line 57) | func (d *Devices) Start() error { method Halt (line 76) | func (d *Devices) Halt() error { FILE: driver.go type Driver (line 4) | type Driver interface type Pinner (line 19) | type Pinner interface FILE: drivers/aio/aio_driver.go constant Error (line 12) | Error = "error" constant Data (line 14) | Data = "data" constant Value (line 16) | Value = "value" constant Vibration (line 18) | Vibration = "vibration" type AnalogReader (line 22) | type AnalogReader interface type AnalogWriter (line 28) | type AnalogWriter interface type optionApplier (line 34) | type optionApplier interface type configuration (line 39) | type configuration struct type nameOption (line 44) | type nameOption method apply (line 123) | func (o nameOption) apply(c *configuration) { type driver (line 47) | type driver struct method Name (line 77) | func (d *driver) Name() string { method SetName (line 83) | func (d *driver) SetName(name string) { method Connection (line 88) | func (d *driver) Connection() gobot.Connection { method Start (line 103) | func (d *driver) Start() error { method Halt (line 113) | func (d *driver) Halt() error { function newDriver (line 58) | func newDriver(a interface{}, name string) *driver { function WithName (line 72) | func WithName(name string) optionApplier { FILE: drivers/aio/aio_driver_test.go function initTestDriver (line 16) | func initTestDriver() *driver { function Test_newDriver (line 22) | func Test_newDriver(t *testing.T) { function Test_applyWithName (line 39) | func Test_applyWithName(t *testing.T) { function TestStart (line 49) | func TestStart(t *testing.T) { function TestHalt (line 60) | func TestHalt(t *testing.T) { FILE: drivers/aio/analog_actuator_driver.go type actuatorOptionApplier (line 9) | type actuatorOptionApplier interface type actuatorConfiguration (line 14) | type actuatorConfiguration struct type actuatorScaleOption (line 19) | type actuatorScaleOption struct method String (line 140) | func (o actuatorScaleOption) String() string { method apply (line 144) | func (o actuatorScaleOption) apply(cfg *actuatorConfiguration) { type AnalogActuatorDriver (line 24) | type AnalogActuatorDriver struct method SetScaler (line 88) | func (a *AnalogActuatorDriver) SetScaler(scaler func(float64) int) { method Pin (line 96) | func (a *AnalogActuatorDriver) Pin() string { return a.pin } method Write (line 99) | func (a *AnalogActuatorDriver) Write(val float64) error { method RawWrite (line 113) | func (a *AnalogActuatorDriver) RawWrite(val int) error { method WriteRaw (line 118) | func (a *AnalogActuatorDriver) WriteRaw(val int) error { method Value (line 131) | func (a *AnalogActuatorDriver) Value() float64 { method RawValue (line 136) | func (a *AnalogActuatorDriver) RawValue() int { function NewAnalogActuatorDriver (line 46) | func NewAnalogActuatorDriver(a AnalogWriter, pin string, opts ...interfa... function WithActuatorScaler (line 82) | func WithActuatorScaler(scaler func(input float64) (value int)) actuator... function AnalogActuatorLinearScaler (line 149) | func AnalogActuatorLinearScaler(fromMin, fromMax float64, toMin, toMax i... FILE: drivers/aio/analog_actuator_driver_test.go function TestNewAnalogActuatorDriver (line 13) | func TestNewAnalogActuatorDriver(t *testing.T) { function TestNewAnalogActuatorDriver_options (line 36) | func TestNewAnalogActuatorDriver_options(t *testing.T) { function TestAnalogActuatorWriteRaw (line 54) | func TestAnalogActuatorWriteRaw(t *testing.T) { function TestAnalogActuatorWriteRaw_AnalogWriteNotSupported (line 88) | func TestAnalogActuatorWriteRaw_AnalogWriteNotSupported(t *testing.T) { function TestAnalogActuatorWrite_SetScaler (line 96) | func TestAnalogActuatorWrite_SetScaler(t *testing.T) { function TestAnalogActuatorCommands_WithActuatorScaler (line 138) | func TestAnalogActuatorCommands_WithActuatorScaler(t *testing.T) { FILE: drivers/aio/analog_sensor_driver.go type sensorOptionApplier (line 11) | type sensorOptionApplier interface type sensorConfiguration (line 16) | type sensorConfiguration struct type sensorReadIntervalOption (line 22) | type sensorReadIntervalOption method String (line 234) | func (o sensorReadIntervalOption) String() string { method apply (line 242) | func (o sensorReadIntervalOption) apply(cfg *sensorConfiguration) { type sensorScaleOption (line 25) | type sensorScaleOption struct method String (line 238) | func (o sensorScaleOption) String() string { method apply (line 246) | func (o sensorScaleOption) apply(cfg *sensorConfiguration) { type AnalogSensorDriver (line 30) | type AnalogSensorDriver struct method SetScaler (line 106) | func (a *AnalogSensorDriver) SetScaler(scaler func(int) float64) { method Pin (line 114) | func (a *AnalogSensorDriver) Pin() string { return a.pin } method Read (line 117) | func (a *AnalogSensorDriver) Read() (float64, error) { method ReadRaw (line 123) | func (a *AnalogSensorDriver) ReadRaw() (int, error) { method Value (line 129) | func (a *AnalogSensorDriver) Value() float64 { method RawValue (line 137) | func (a *AnalogSensorDriver) RawValue() int { method initialize (line 150) | func (a *AnalogSensorDriver) initialize() error { method shutdown (line 204) | func (a *AnalogSensorDriver) shutdown() error { method analogSensorRead (line 215) | func (a *AnalogSensorDriver) analogSensorRead() (int, float64, error) { function NewAnalogSensorDriver (line 56) | func NewAnalogSensorDriver(a AnalogReader, pin string, opts ...interface... function WithSensorCyclicRead (line 95) | func WithSensorCyclicRead(interval time.Duration) sensorOptionApplier { function WithSensorScaler (line 100) | func WithSensorScaler(scaler func(input int) (value float64)) sensorOpti... function AnalogSensorLinearScaler (line 251) | func AnalogSensorLinearScaler(fromMin, fromMax int, toMin, toMax float64... FILE: drivers/aio/analog_sensor_driver_test.go function TestNewAnalogSensorDriver (line 19) | func TestNewAnalogSensorDriver(t *testing.T) { function TestNewAnalogSensorDriver_options (line 45) | func TestNewAnalogSensorDriver_options(t *testing.T) { function TestAnalogSensor_WithSensorScaler (line 65) | func TestAnalogSensor_WithSensorScaler(t *testing.T) { function TestAnalogSensorDriverReadRaw (line 75) | func TestAnalogSensorDriverReadRaw(t *testing.T) { function TestAnalogSensorDriverReadRaw_AnalogWriteNotSupported (line 106) | func TestAnalogSensorDriverReadRaw_AnalogWriteNotSupported(t *testing.T) { function TestAnalogSensorRead_SetScaler (line 116) | func TestAnalogSensorRead_SetScaler(t *testing.T) { function TestAnalogSensor_WithSensorCyclicRead (line 152) | func TestAnalogSensor_WithSensorCyclicRead(t *testing.T) { function TestAnalogSensorHalt_WithSensorCyclicRead (line 237) | func TestAnalogSensorHalt_WithSensorCyclicRead(t *testing.T) { function TestAnalogSensorCommands_WithSensorScaler (line 257) | func TestAnalogSensorCommands_WithSensorScaler(t *testing.T) { FILE: drivers/aio/grove_drivers.go type GroveRotaryDriver (line 6) | type GroveRotaryDriver struct function NewGroveRotaryDriver (line 14) | func NewGroveRotaryDriver(a AnalogReader, pin string, opts ...interface{... type GroveLightSensorDriver (line 25) | type GroveLightSensorDriver struct function NewGroveLightSensorDriver (line 33) | func NewGroveLightSensorDriver(a AnalogReader, pin string, opts ...inter... type GrovePiezoVibrationSensorDriver (line 43) | type GrovePiezoVibrationSensorDriver struct function NewGrovePiezoVibrationSensorDriver (line 52) | func NewGrovePiezoVibrationSensorDriver( type GroveSoundSensorDriver (line 76) | type GroveSoundSensorDriver struct function NewGroveSoundSensorDriver (line 84) | func NewGroveSoundSensorDriver(a AnalogReader, pin string, opts ...inter... FILE: drivers/aio/grove_drivers_test.go type groveDriverTestDriverAndEventer (line 18) | type groveDriverTestDriverAndEventer interface function TestNewGroveRotaryDriver (line 23) | func TestNewGroveRotaryDriver(t *testing.T) { function TestNewGroveLightSensorDriver (line 49) | func TestNewGroveLightSensorDriver(t *testing.T) { function TestNewGrovePiezoVibrationSensorDriver (line 75) | func TestNewGrovePiezoVibrationSensorDriver(t *testing.T) { function TestNewGroveSoundSensorDriver (line 101) | func TestNewGroveSoundSensorDriver(t *testing.T) { function TestGroveDriverHalt_WithSensorCyclicRead (line 127) | func TestGroveDriverHalt_WithSensorCyclicRead(t *testing.T) { function TestGroveDriverWithSensorCyclicReadPublishesError (line 161) | func TestGroveDriverWithSensorCyclicReadPublishesError(t *testing.T) { function groveGetType (line 199) | func groveGetType(driver interface{}) string { FILE: drivers/aio/grove_temperature_sensor_driver.go type GroveTemperatureSensorDriver (line 12) | type GroveTemperatureSensorDriver struct function NewGroveTemperatureSensorDriver (line 20) | func NewGroveTemperatureSensorDriver(a AnalogReader, pin string, opts ..... method Temperature (line 48) | func (t *TemperatureSensorDriver) Temperature() float64 { FILE: drivers/aio/grove_temperature_sensor_driver_test.go function TestNewGroveTemperatureSensorDriver (line 17) | func TestNewGroveTemperatureSensorDriver(t *testing.T) { function TestNewGroveTemperatureSensorDriver_options (line 43) | func TestNewGroveTemperatureSensorDriver_options(t *testing.T) { function TestGroveTemperatureSensorRead_scaler (line 64) | func TestGroveTemperatureSensorRead_scaler(t *testing.T) { function TestGroveTemperatureSensor_publishesTemperatureInCelsius (line 96) | func TestGroveTemperatureSensor_publishesTemperatureInCelsius(t *testing... FILE: drivers/aio/helpers_test.go constant analogReadReturnValue (line 8) | analogReadReturnValue = 99 type aioTestBareAdaptor (line 10) | type aioTestBareAdaptor struct method Connect (line 12) | func (t *aioTestBareAdaptor) Connect() error { return nil } method Finalize (line 13) | func (t *aioTestBareAdaptor) Finalize() error { return nil } method Name (line 14) | func (t *aioTestBareAdaptor) Name() string { return "bare" } method SetName (line 15) | func (t *aioTestBareAdaptor) SetName(n string) {} type aioTestWritten (line 17) | type aioTestWritten struct type aioTestAdaptor (line 22) | type aioTestAdaptor struct method AnalogRead (line 49) | func (t *aioTestAdaptor) AnalogRead(pin string) (int, error) { method AnalogWrite (line 61) | func (t *aioTestAdaptor) AnalogWrite(pin string, val int) error { method Connect (line 74) | func (t *aioTestAdaptor) Connect() error { return nil } method Finalize (line 75) | func (t *aioTestAdaptor) Finalize() error { return nil } method Name (line 76) | func (t *aioTestAdaptor) Name() string { return t.name } method SetName (line 77) | func (t *aioTestAdaptor) SetName(n string) { t.name = n } method Port (line 78) | func (t *aioTestAdaptor) Port() string { return t.port } function newAioTestAdaptor (line 33) | func newAioTestAdaptor() *aioTestAdaptor { FILE: drivers/aio/temperature_sensor_driver.go constant kelvinOffset (line 11) | kelvinOffset = 273.15 type TemperatureSensorNtcConf (line 14) | type TemperatureSensorNtcConf struct method getTemp (line 125) | func (n *TemperatureSensorNtcConf) getTemp(rntc float64) float64 { method initialize (line 138) | func (n *TemperatureSensorNtcConf) initialize() { type TemperatureSensorDriver (line 25) | type TemperatureSensorDriver struct method SetNtcScaler (line 61) | func (t *TemperatureSensorDriver) SetNtcScaler(vRef uint, rOhm uint, r... method SetLinearScaler (line 69) | func (t *TemperatureSensorDriver) SetLinearScaler(fromMin, fromMax int... function NewTemperatureSensorDriver (line 34) | func NewTemperatureSensorDriver(a AnalogReader, pin string, opts ...inte... function TemperatureSensorNtcScaler (line 78) | func TemperatureSensorNtcScaler( function temperaturSensorGetResistance (line 98) | func temperaturSensorGetResistance(value uint, vRef uint, rSeries uint, ... FILE: drivers/aio/temperature_sensor_driver_test.go function TestNewTemperatureSensorDriver (line 14) | func TestNewTemperatureSensorDriver(t *testing.T) { function TestNewTemperatureSensorDriver_options (line 40) | func TestNewTemperatureSensorDriver_options(t *testing.T) { function TestTemperatureSensorRead_NtcScaler (line 61) | func TestTemperatureSensorRead_NtcScaler(t *testing.T) { function TestTemperatureSensorDriver_LinearScaler (line 96) | func TestTemperatureSensorDriver_LinearScaler(t *testing.T) { function TestTemperatureSensorWithSensorCyclicRead_PublishesTemperatureInCelsius (line 130) | func TestTemperatureSensorWithSensorCyclicRead_PublishesTemperatureInCel... function TestTemperatureSensorWithSensorCyclicRead_PublishesError (line 173) | func TestTemperatureSensorWithSensorCyclicRead_PublishesError(t *testing... function TestTemperatureSensorHalt_WithSensorCyclicRead (line 199) | func TestTemperatureSensorHalt_WithSensorCyclicRead(t *testing.T) { function TestTempDriver_initialize (line 218) | func TestTempDriver_initialize(t *testing.T) { FILE: drivers/aio/thermalzone_driver.go type thermalZoneOptionApplier (line 10) | type thermalZoneOptionApplier interface type thermalZoneConfiguration (line 15) | type thermalZoneConfiguration struct type thermalZoneUnitscalerOption (line 20) | type thermalZoneUnitscalerOption struct method apply (line 82) | func (o thermalZoneUnitscalerOption) apply(cfg *thermalZoneConfigurati... type ThermalZoneDriver (line 25) | type ThermalZoneDriver struct method thermalZoneRead (line 73) | func (d *ThermalZoneDriver) thermalZoneRead() (int, float64, error) { function NewThermalZoneDriver (line 38) | func NewThermalZoneDriver(a AnalogReader, zoneID string, opts ...interfa... function WithFahrenheit (line 66) | func WithFahrenheit() thermalZoneOptionApplier { FILE: drivers/aio/thermalzone_driver_test.go function TestNewThermalZoneDriver (line 12) | func TestNewThermalZoneDriver(t *testing.T) { function TestNewThermalZoneDriver_options (line 42) | func TestNewThermalZoneDriver_options(t *testing.T) { function TestThermalZoneWithSensorCyclicRead_PublishesTemperatureInFahrenheit (line 67) | func TestThermalZoneWithSensorCyclicRead_PublishesTemperatureInFahrenhei... FILE: drivers/ble/battery_driver.go constant batteryCharaShort (line 9) | batteryCharaShort = "2a19" type BatteryDriver (line 12) | type BatteryDriver struct method GetBatteryLevel (line 28) | func (d *BatteryDriver) GetBatteryLevel() (uint8, error) { function NewBatteryDriver (line 18) | func NewBatteryDriver(a gobot.BLEConnector, opts ...OptionApplier) *Batt... FILE: drivers/ble/battery_driver_test.go function TestNewBatteryDriver (line 16) | func TestNewBatteryDriver(t *testing.T) { function TestNewBatteryDriverWithName (line 24) | func TestNewBatteryDriverWithName(t *testing.T) { function TestBatteryDriverRead (line 36) | func TestBatteryDriverRead(t *testing.T) { FILE: drivers/ble/ble_driver.go type OptionApplier (line 11) | type OptionApplier interface type configuration (line 16) | type configuration struct type nameOption (line 21) | type nameOption method apply (line 135) | func (o nameOption) apply(c *configuration) { type Driver (line 24) | type Driver struct method Name (line 70) | func (d *Driver) Name() string { method SetName (line 76) | func (d *Driver) SetName(name string) { method Connection (line 81) | func (d *Driver) Connection() gobot.Connection { method Start (line 96) | func (d *Driver) Start() error { method Halt (line 106) | func (d *Driver) Halt() error { method Adaptor (line 116) | func (d *Driver) Adaptor() gobot.BLEConnector { method Mutex (line 130) | func (d *Driver) Mutex() *sync.Mutex { function NewDriver (line 35) | func NewDriver( function WithName (line 65) | func WithName(name string) OptionApplier { FILE: drivers/ble/ble_driver_test.go function initTestDriver (line 17) | func initTestDriver() *Driver { function TestNewDriver (line 23) | func TestNewDriver(t *testing.T) { function TestNewDriverWithName (line 40) | func TestNewDriverWithName(t *testing.T) { function Test_applyWithName (line 55) | func Test_applyWithName(t *testing.T) { function TestStart (line 65) | func TestStart(t *testing.T) { function TestHalt (line 76) | func TestHalt(t *testing.T) { function TestAdaptor (line 87) | func TestAdaptor(t *testing.T) { FILE: drivers/ble/device_information_driver.go constant deviceInformationModelNumberCharaShort (line 10) | deviceInformationModelNumberCharaShort = "2a24" constant deviceInformationFirmwareRevisionCharaShort (line 11) | deviceInformationFirmwareRevisionCharaShort = "2a26" constant deviceInformationHardwareRevisionCharaShort (line 12) | deviceInformationHardwareRevisionCharaShort = "2a27" constant deviceInformationManufacturerNameCharaShort (line 13) | deviceInformationManufacturerNameCharaShort = "2a29" constant deviceInformationPnPIdCharaShort (line 14) | deviceInformationPnPIdCharaShort = "2a50" type DeviceInformationDriver (line 18) | type DeviceInformationDriver struct method GetModelNumber (line 34) | func (d *DeviceInformationDriver) GetModelNumber() (string, error) { method GetFirmwareRevision (line 45) | func (d *DeviceInformationDriver) GetFirmwareRevision() (string, error) { method GetHardwareRevision (line 56) | func (d *DeviceInformationDriver) GetHardwareRevision() (string, error) { method GetManufacturerName (line 67) | func (d *DeviceInformationDriver) GetManufacturerName() (string, error) { method GetPnPId (line 78) | func (d *DeviceInformationDriver) GetPnPId() (string, error) { function NewDeviceInformationDriver (line 24) | func NewDeviceInformationDriver(a gobot.BLEConnector, opts ...OptionAppl... FILE: drivers/ble/device_information_driver_test.go function TestNewDeviceInformationDriver (line 16) | func TestNewDeviceInformationDriver(t *testing.T) { function TestNewDeviceInformationDriverWithName (line 24) | func TestNewDeviceInformationDriverWithName(t *testing.T) { function TestDeviceInformationGetModelNumber (line 36) | func TestDeviceInformationGetModelNumber(t *testing.T) { function TestDeviceInformationGetFirmwareRevision (line 46) | func TestDeviceInformationGetFirmwareRevision(t *testing.T) { function TestDeviceInformationGetHardwareRevision (line 56) | func TestDeviceInformationGetHardwareRevision(t *testing.T) { function TestDeviceInformationGetManufacturerName (line 66) | func TestDeviceInformationGetManufacturerName(t *testing.T) { function TestDeviceInformationGetPnPId (line 76) | func TestDeviceInformationGetPnPId(t *testing.T) { FILE: drivers/ble/generic_access_driver.go constant genericAccessDeviceNameCharaShort (line 11) | genericAccessDeviceNameCharaShort = "2a00" constant genericAccessAppearanceCharaShort (line 12) | genericAccessAppearanceCharaShort = "2a01" type GenericAccessDriver (line 16) | type GenericAccessDriver struct method GetDeviceName (line 32) | func (d *GenericAccessDriver) GetDeviceName() (string, error) { method GetAppearance (line 44) | func (d *GenericAccessDriver) GetAppearance() (string, error) { function NewGenericAccessDriver (line 22) | func NewGenericAccessDriver(a gobot.BLEConnector, opts ...OptionApplier)... FILE: drivers/ble/generic_access_driver_test.go function TestNewGenericAccessDriver (line 16) | func TestNewGenericAccessDriver(t *testing.T) { function TestNewGenericAccessDriverWithName (line 24) | func TestNewGenericAccessDriverWithName(t *testing.T) { function TestGenericAccessDriverGetDeviceName (line 36) | func TestGenericAccessDriverGetDeviceName(t *testing.T) { function TestGenericAccessDriverGetAppearance (line 46) | func TestGenericAccessDriverGetAppearance(t *testing.T) { FILE: drivers/ble/microbit/accelerometer_driver.go constant accelerometerChara (line 13) | accelerometerChara = "e95dca4b251d470aa062fa1922dfa9a8" constant AccelerometerEvent (line 15) | AccelerometerEvent = "accelerometer" type AccelerometerDriver (line 19) | type AccelerometerDriver struct method initialize (line 43) | func (d *AccelerometerDriver) initialize() error { type AccelerometerData (line 24) | type AccelerometerData struct function NewAccelerometerDriver (line 31) | func NewAccelerometerDriver(a gobot.BLEConnector, opts ...ble.OptionAppl... FILE: drivers/ble/microbit/accelerometer_driver_test.go function TestNewAccelerometerDriver (line 19) | func TestNewAccelerometerDriver(t *testing.T) { function TestNewAccelerometerDriverWithName (line 26) | func TestNewAccelerometerDriverWithName(t *testing.T) { function TestAccelerometerStartAndHalt (line 38) | func TestAccelerometerStartAndHalt(t *testing.T) { function TestAccelerometerReadData (line 44) | func TestAccelerometerReadData(t *testing.T) { FILE: drivers/ble/microbit/button_driver.go constant buttonAChara (line 10) | buttonAChara = "e95dda90251d470aa062fa1922dfa9a8" constant buttonBChara (line 11) | buttonBChara = "e95dda91251d470aa062fa1922dfa9a8" constant ButtonAEvent (line 13) | ButtonAEvent = "buttonA" constant ButtonBEvent (line 14) | ButtonBEvent = "buttonB" type ButtonDriver (line 18) | type ButtonDriver struct method initialize (line 38) | func (d *ButtonDriver) initialize() error { function NewButtonDriver (line 24) | func NewButtonDriver(a gobot.BLEConnector, opts ...ble.OptionApplier) *B... FILE: drivers/ble/microbit/button_driver_test.go function TestNewButtonDriver (line 18) | func TestNewButtonDriver(t *testing.T) { function TestNewButtonDriverWithName (line 25) | func TestNewButtonDriverWithName(t *testing.T) { function TestButtonStartAndHalt (line 37) | func TestButtonStartAndHalt(t *testing.T) { function TestButtonReadData (line 43) | func TestButtonReadData(t *testing.T) { FILE: drivers/ble/microbit/io_pin_driver.go constant pinDataChara (line 16) | pinDataChara = "e95d8d00251d470aa062fa1922dfa9a8" constant pinADConfigChara (line 17) | pinADConfigChara = "e95d5899251d470aa062fa1922dfa9a8" constant pinIOConfigChara (line 18) | pinIOConfigChara = "e95db9fe251d470aa062fa1922dfa9a8" type IOPinDriver (line 22) | type IOPinDriver struct method initialize (line 48) | func (d *IOPinDriver) initialize() error { method WritePinData (line 57) | func (d *IOPinDriver) WritePinData(pin string, data byte) error { method ReadPinADConfig (line 69) | func (d *IOPinDriver) ReadPinADConfig() (int, error) { method WritePinADConfig (line 84) | func (d *IOPinDriver) WritePinADConfig(config int) error { method ReadPinIOConfig (line 96) | func (d *IOPinDriver) ReadPinIOConfig() (int, error) { method WritePinIOConfig (line 112) | func (d *IOPinDriver) WritePinIOConfig(config int) error { method DigitalRead (line 124) | func (d *IOPinDriver) DigitalRead(pin string) (int, error) { method DigitalWrite (line 146) | func (d *IOPinDriver) DigitalWrite(pin string, level byte) error { method AnalogRead (line 163) | func (d *IOPinDriver) AnalogRead(pin string) (int, error) { method ensureDigital (line 184) | func (d *IOPinDriver) ensureDigital(pin int) error { method ensureAnalog (line 193) | func (d *IOPinDriver) ensureAnalog(pin int) error { method ensureInput (line 202) | func (d *IOPinDriver) ensureInput(pin int) error { method ensureOutput (line 211) | func (d *IOPinDriver) ensureOutput(pin int) error { method readAllPinData (line 220) | func (d *IOPinDriver) readAllPinData() ([]pinData, error) { type pinData (line 31) | type pinData struct function NewIOPinDriver (line 37) | func NewIOPinDriver(a gobot.BLEConnector, opts ...ble.OptionApplier) *IO... function validatedPin (line 246) | func validatedPin(pin string) (int, error) { FILE: drivers/ble/microbit/io_pin_driver_test.go function TestNewIOPinDriver (line 28) | func TestNewIOPinDriver(t *testing.T) { function TestNewIOPinDriverWithName (line 35) | func TestNewIOPinDriverWithName(t *testing.T) { function TestIOPinStartAndHalt (line 47) | func TestIOPinStartAndHalt(t *testing.T) { function TestIOPinStartError (line 57) | func TestIOPinStartError(t *testing.T) { function TestIOPinDigitalRead (line 66) | func TestIOPinDigitalRead(t *testing.T) { function TestIOPinDigitalReadInvalidPin (line 82) | func TestIOPinDigitalReadInvalidPin(t *testing.T) { function TestIOPinDigitalWrite (line 93) | func TestIOPinDigitalWrite(t *testing.T) { function TestIOPinDigitalWriteInvalidPin (line 101) | func TestIOPinDigitalWriteInvalidPin(t *testing.T) { function TestIOPinAnalogRead (line 109) | func TestIOPinAnalogRead(t *testing.T) { function TestIOPinAnalogReadInvalidPin (line 125) | func TestIOPinAnalogReadInvalidPin(t *testing.T) { function TestIOPinDigitalAnalogRead (line 136) | func TestIOPinDigitalAnalogRead(t *testing.T) { function TestIOPinDigitalWriteAnalogRead (line 152) | func TestIOPinDigitalWriteAnalogRead(t *testing.T) { function TestIOPinAnalogReadDigitalWrite (line 166) | func TestIOPinAnalogReadDigitalWrite(t *testing.T) { FILE: drivers/ble/microbit/led_driver.go constant ledMatrixStateChara (line 10) | ledMatrixStateChara = "e95d7b77251d470aa062fa1922dfa9a8" constant ledTextChara (line 11) | ledTextChara = "e95d93ee251d470aa062fa1922dfa9a8" constant ledScrollingDelayChara (line 12) | ledScrollingDelayChara = "e95d0d2d251d470aa062fa1922dfa9a8" type LEDDriver (line 16) | type LEDDriver struct method ReadMatrix (line 33) | func (b *LEDDriver) ReadMatrix() ([]byte, error) { method WriteMatrix (line 38) | func (b *LEDDriver) WriteMatrix(data []byte) error { method WriteText (line 43) | func (b *LEDDriver) WriteText(msg string) error { method ReadScrollingDelay (line 47) | func (b *LEDDriver) ReadScrollingDelay() (uint16, error) { method WriteScrollingDelay (line 51) | func (b *LEDDriver) WriteScrollingDelay(delay uint16) error { method Blank (line 57) | func (b *LEDDriver) Blank() error { method Solid (line 63) | func (b *LEDDriver) Solid() error { method UpRightArrow (line 69) | func (b *LEDDriver) UpRightArrow() error { method UpLeftArrow (line 75) | func (b *LEDDriver) UpLeftArrow() error { method DownRightArrow (line 81) | func (b *LEDDriver) DownRightArrow() error { method DownLeftArrow (line 87) | func (b *LEDDriver) DownLeftArrow() error { method Dimond (line 93) | func (b *LEDDriver) Dimond() error { method Smile (line 99) | func (b *LEDDriver) Smile() error { method Wink (line 105) | func (b *LEDDriver) Wink() error { function NewLEDDriver (line 22) | func NewLEDDriver(a gobot.BLEConnector, opts ...ble.OptionApplier) *LEDD... FILE: drivers/ble/microbit/led_driver_test.go function initTestLEDDriver (line 17) | func initTestLEDDriver() *LEDDriver { function TestNewLEDDriver (line 22) | func TestNewLEDDriver(t *testing.T) { function TestNewLEDDriverWithName (line 29) | func TestNewLEDDriverWithName(t *testing.T) { function TestLEDWriteMatrix (line 41) | func TestLEDWriteMatrix(t *testing.T) { function TestLEDWriteText (line 46) | func TestLEDWriteText(t *testing.T) { function TestLEDCommands (line 51) | func TestLEDCommands(t *testing.T) { FILE: drivers/ble/microbit/magnetometer_driver.go constant magnetometerChara (line 13) | magnetometerChara = "e95dfb11251d470aa062fa1922dfa9a8" constant MagnetometerEvent (line 15) | MagnetometerEvent = "magnetometer" type MagnetometerDriver (line 19) | type MagnetometerDriver struct method initialize (line 43) | func (d *MagnetometerDriver) initialize() error { type MagnetometerData (line 24) | type MagnetometerData struct function NewMagnetometerDriver (line 31) | func NewMagnetometerDriver(a gobot.BLEConnector, opts ...ble.OptionAppli... FILE: drivers/ble/microbit/magnetometer_driver_test.go function initTestMagnetometerDriver (line 19) | func initTestMagnetometerDriver() *MagnetometerDriver { function TestMagnetometerDriver (line 24) | func TestMagnetometerDriver(t *testing.T) { function TestNewMagnetometerDriverWithName (line 31) | func TestNewMagnetometerDriverWithName(t *testing.T) { function TestMagnetometerStartAndHalt (line 43) | func TestMagnetometerStartAndHalt(t *testing.T) { function TestMagnetometerReadData (line 49) | func TestMagnetometerReadData(t *testing.T) { FILE: drivers/ble/microbit/temperature_driver.go constant temperatureChara (line 12) | temperatureChara = "e95d9250251d470aa062fa1922dfa9a8" constant TemperatureEvent (line 14) | TemperatureEvent = "temperature" type TemperatureDriver (line 18) | type TemperatureDriver struct method initialize (line 36) | func (d *TemperatureDriver) initialize() error { function NewTemperatureDriver (line 24) | func NewTemperatureDriver(a gobot.BLEConnector, opts ...ble.OptionApplie... FILE: drivers/ble/microbit/temperature_driver_test.go function initTestTemperatureDriver (line 18) | func initTestTemperatureDriver() *TemperatureDriver { function TestNewTemperatureDriver (line 23) | func TestNewTemperatureDriver(t *testing.T) { function TestNewTemperatureDriverWithName (line 30) | func TestNewTemperatureDriverWithName(t *testing.T) { function TestTemperatureStartAndHalt (line 42) | func TestTemperatureStartAndHalt(t *testing.T) { function TestTemperatureReadData (line 48) | func TestTemperatureReadData(t *testing.T) { FILE: drivers/ble/parrot/minidrone_driver.go constant pcmdChara (line 20) | pcmdChara = "9a66fa0a0800919111e4012d1540cb8e" constant commandChara (line 21) | commandChara = "9a66fa0b0800919111e4012d1540cb8e" constant priorityChara (line 22) | priorityChara = "9a66fa0c0800919111e4012d1540cb8e" constant flightStatusChara (line 25) | flightStatusChara = "9a66fb0e0800919111e4012d1540cb8e" constant batteryChara (line 26) | batteryChara = "9a66fb0f0800919111e4012d1540cb8e" constant flatTrimChanged (line 29) | flatTrimChanged = 0 constant flyingStateChanged (line 30) | flyingStateChanged = 1 constant flyingStateLanded (line 33) | flyingStateLanded = 0 constant flyingStateTakeoff (line 34) | flyingStateTakeoff = 1 constant flyingStateHovering (line 35) | flyingStateHovering = 2 constant flyingStateFlying (line 36) | flyingStateFlying = 3 constant flyingStateLanding (line 37) | flyingStateLanding = 4 constant flyingStateEmergency (line 38) | flyingStateEmergency = 5 constant flyingStateRolling (line 39) | flyingStateRolling = 6 constant BatteryEvent (line 41) | BatteryEvent = "battery" constant FlightStatusEvent (line 42) | FlightStatusEvent = "flightstatus" constant TakeoffEvent (line 43) | TakeoffEvent = "takeoff" constant HoveringEvent (line 44) | HoveringEvent = "hovering" constant FlyingEvent (line 45) | FlyingEvent = "flying" constant LandingEvent (line 46) | LandingEvent = "landing" constant LandedEvent (line 47) | LandedEvent = "landed" constant EmergencyEvent (line 48) | EmergencyEvent = "emergency" constant RollingEvent (line 49) | RollingEvent = "rolling" constant FlatTrimChangeEvent (line 50) | FlatTrimChangeEvent = "flattrimchange" constant LightFixed (line 53) | LightFixed = 0 constant LightBlinked (line 54) | LightBlinked = 1 constant LightOscillated (line 55) | LightOscillated = 3 constant ClawOpen (line 58) | ClawOpen = 0 constant ClawClosed (line 59) | ClawClosed = 1 type MinidroneDriver (line 63) | type MinidroneDriver struct method GenerateAllStates (line 113) | func (d *MinidroneDriver) GenerateAllStates() error { method TakeOff (line 122) | func (d *MinidroneDriver) TakeOff() error { method Land (line 129) | func (d *MinidroneDriver) Land() error { method FlatTrim (line 136) | func (d *MinidroneDriver) FlatTrim() error { method Emergency (line 143) | func (d *MinidroneDriver) Emergency() error { method TakePicture (line 150) | func (d *MinidroneDriver) TakePicture() error { method StartPcmd (line 157) | func (d *MinidroneDriver) StartPcmd() { method Up (line 172) | func (d *MinidroneDriver) Up(val int) error { method Down (line 182) | func (d *MinidroneDriver) Down(val int) error { method Forward (line 192) | func (d *MinidroneDriver) Forward(val int) error { method Backward (line 202) | func (d *MinidroneDriver) Backward(val int) error { method Right (line 212) | func (d *MinidroneDriver) Right(val int) error { method Left (line 222) | func (d *MinidroneDriver) Left(val int) error { method Clockwise (line 232) | func (d *MinidroneDriver) Clockwise(val int) error { method CounterClockwise (line 243) | func (d *MinidroneDriver) CounterClockwise(val int) error { method Stop (line 253) | func (d *MinidroneDriver) Stop() error { method StartRecording (line 270) | func (d *MinidroneDriver) StartRecording() error { method StopRecording (line 275) | func (d *MinidroneDriver) StopRecording() error { method HullProtection (line 280) | func (d *MinidroneDriver) HullProtection(protect bool) error { method Outdoor (line 285) | func (d *MinidroneDriver) Outdoor(outdoor bool) error { method FrontFlip (line 290) | func (d *MinidroneDriver) FrontFlip() error { method BackFlip (line 295) | func (d *MinidroneDriver) BackFlip() error { method RightFlip (line 300) | func (d *MinidroneDriver) RightFlip() error { method LeftFlip (line 305) | func (d *MinidroneDriver) LeftFlip() error { method LightControl (line 317) | func (d *MinidroneDriver) LightControl(id uint8, mode uint8, intensity... method ClawControl (line 328) | func (d *MinidroneDriver) ClawControl(id uint8, mode uint8) error { method GunControl (line 338) | func (d *MinidroneDriver) GunControl(id uint8) error { method initialize (line 345) | func (d *MinidroneDriver) initialize() error { method shutdown (line 376) | func (d *MinidroneDriver) shutdown() error { method generateAnimation (line 382) | func (d *MinidroneDriver) generateAnimation(direction int8) *bytes.Buf... method generatePcmd (line 388) | func (d *MinidroneDriver) generatePcmd() *bytes.Buffer { method processFlightStatus (line 447) | func (d *MinidroneDriver) processFlightStatus(data []byte) { type Pcmd (line 75) | type Pcmd struct function NewMinidroneDriver (line 85) | func NewMinidroneDriver(a gobot.BLEConnector, opts ...ble.OptionApplier)... function ValidatePitch (line 491) | func ValidatePitch(data float64, offset float64) int { function validatePitch (line 502) | func validatePitch(val int) int { FILE: drivers/ble/parrot/minidrone_driver_test.go function initTestMinidroneDriver (line 17) | func initTestMinidroneDriver() *MinidroneDriver { function TestNewMinidroneDriver (line 25) | func TestNewMinidroneDriver(t *testing.T) { function TestNewMinidroneDriverWithName (line 31) | func TestNewMinidroneDriverWithName(t *testing.T) { function TestMinidroneHalt (line 43) | func TestMinidroneHalt(t *testing.T) { function TestMinidroneTakeoff (line 48) | func TestMinidroneTakeoff(t *testing.T) { function TestMinidroneEmergency (line 53) | func TestMinidroneEmergency(t *testing.T) { function TestMinidroneTakePicture (line 58) | func TestMinidroneTakePicture(t *testing.T) { function TestMinidroneUp (line 63) | func TestMinidroneUp(t *testing.T) { function TestMinidroneUpTooFar (line 68) | func TestMinidroneUpTooFar(t *testing.T) { function TestMinidroneDown (line 74) | func TestMinidroneDown(t *testing.T) { function TestMinidroneForward (line 79) | func TestMinidroneForward(t *testing.T) { function TestMinidroneBackward (line 84) | func TestMinidroneBackward(t *testing.T) { function TestMinidroneRight (line 89) | func TestMinidroneRight(t *testing.T) { function TestMinidroneLeft (line 94) | func TestMinidroneLeft(t *testing.T) { function TestMinidroneClockwise (line 99) | func TestMinidroneClockwise(t *testing.T) { function TestMinidroneCounterClockwise (line 104) | func TestMinidroneCounterClockwise(t *testing.T) { function TestMinidroneStop (line 109) | func TestMinidroneStop(t *testing.T) { function TestMinidroneStartStopRecording (line 114) | func TestMinidroneStartStopRecording(t *testing.T) { function TestMinidroneHullProtectionOutdoor (line 120) | func TestMinidroneHullProtectionOutdoor(t *testing.T) { function TestMinidroneHullFlips (line 126) | func TestMinidroneHullFlips(t *testing.T) { function TestMinidroneLightControl (line 134) | func TestMinidroneLightControl(t *testing.T) { function TestMinidroneClawControl (line 139) | func TestMinidroneClawControl(t *testing.T) { function TestMinidroneGunControl (line 144) | func TestMinidroneGunControl(t *testing.T) { function TestMinidroneProcessFlightData (line 149) | func TestMinidroneProcessFlightData(t *testing.T) { function TestMinidroneValidatePitchWhenEqualOffset (line 169) | func TestMinidroneValidatePitchWhenEqualOffset(t *testing.T) { function TestMinidroneValidatePitchWhenTiny (line 173) | func TestMinidroneValidatePitchWhenTiny(t *testing.T) { function TestMinidroneValidatePitchWhenCentered (line 177) | func TestMinidroneValidatePitchWhenCentered(t *testing.T) { FILE: drivers/ble/serial_port.go type SerialPortDriver (line 11) | type SerialPortDriver struct method Open (line 33) | func (p *SerialPortDriver) Open() error { method Read (line 47) | func (p *SerialPortDriver) Read(b []byte) (int, error) { method Write (line 71) | func (p *SerialPortDriver) Write(b []byte) (int, error) { method Close (line 78) | func (p *SerialPortDriver) Close() error { method Address (line 83) | func (p *SerialPortDriver) Address() string { function NewSerialPortDriver (line 22) | func NewSerialPortDriver(a gobot.BLEConnector, rid string, tid string, o... FILE: drivers/ble/serial_port_test.go function TestNewSerialPortDriver (line 19) | func TestNewSerialPortDriver(t *testing.T) { function TestNewSerialPortDriverWithName (line 24) | func TestNewSerialPortDriverWithName(t *testing.T) { function TestSerialPortOpen (line 36) | func TestSerialPortOpen(t *testing.T) { function TestSerialPortRead (line 75) | func TestSerialPortRead(t *testing.T) { function TestSerialPortWrite (line 128) | func TestSerialPortWrite(t *testing.T) { function TestSerialPortClose (line 181) | func TestSerialPortClose(t *testing.T) { FILE: drivers/ble/sphero/sphero_bb8_driver.go type BB8Driver (line 10) | type BB8Driver struct function NewBB8Driver (line 15) | func NewBB8Driver(a gobot.BLEConnector, opts ...ble.OptionApplier) *BB8D... function bb8DefaultCollisionConfig (line 20) | func bb8DefaultCollisionConfig() spherocommon.CollisionConfig { FILE: drivers/ble/sphero/sphero_bb8_driver_test.go function TestNewBB8Driver (line 16) | func TestNewBB8Driver(t *testing.T) { function TestNewBB8DriverWithName (line 24) | func TestNewBB8DriverWithName(t *testing.T) { FILE: drivers/ble/sphero/sphero_ollie_driver.go type MotorModes (line 15) | type MotorModes constant Off (line 19) | Off MotorModes = iota constant Forward (line 20) | Forward constant Reverse (line 21) | Reverse constant Brake (line 22) | Brake constant Ignore (line 23) | Ignore constant wakeChara (line 30) | wakeChara = "22bb746f2bbf75542d6f726568705327" constant txPowerChara (line 31) | txPowerChara = "22bb746f2bb275542d6f726568705327" constant antiDosChara (line 32) | antiDosChara = "22bb746f2bbd75542d6f726568705327" constant commandsChara (line 33) | commandsChara = "22bb746f2ba175542d6f726568705327" constant responseChara (line 34) | responseChara = "22bb746f2ba675542d6f726568705327" constant packetHeaderSize (line 37) | packetHeaderSize = 5 constant responsePacketMaxSize (line 40) | responsePacketMaxSize = 20 constant collisionDataSize (line 43) | collisionDataSize = 17 constant collisionResponseSize (line 46) | collisionResponseSize = packetHeaderSize + collisionDataSize type packet (line 50) | type packet struct type Point2D (line 57) | type Point2D struct type OllieDriver (line 63) | type OllieDriver struct method SetTXPower (line 100) | func (d *OllieDriver) SetTXPower(level int) error { method Wake (line 111) | func (d *OllieDriver) Wake() error { method ConfigureCollisionDetection (line 122) | func (d *OllieDriver) ConfigureCollisionDetection(cc spherocommon.Coll... method GetLocatorData (line 127) | func (d *OllieDriver) GetLocatorData(f func(p Point2D)) { method GetPowerState (line 134) | func (d *OllieDriver) GetPowerState(f func(p spherocommon.PowerStatePa... method SetRGB (line 141) | func (d *OllieDriver) SetRGB(r uint8, g uint8, b uint8) { method Roll (line 146) | func (d *OllieDriver) Roll(speed uint8, heading uint16) { method Boost (line 153) | func (d *OllieDriver) Boost(state bool) { method SetStabilization (line 162) | func (d *OllieDriver) SetStabilization(state bool) { method SetRotationRate (line 173) | func (d *OllieDriver) SetRotationRate(speed uint8) { method SetRawMotorValues (line 179) | func (d *OllieDriver) SetRawMotorValues(lmode MotorModes, lpower uint8... method SetBackLEDBrightness (line 184) | func (d *OllieDriver) SetBackLEDBrightness(value uint8) { method Stop (line 189) | func (d *OllieDriver) Stop() { method Sleep (line 194) | func (d *OllieDriver) Sleep() { method SetDataStreamingConfig (line 199) | func (d *OllieDriver) SetDataStreamingConfig(dsc spherocommon.DataStre... method initialize (line 209) | func (d *OllieDriver) initialize() error { method antiDOSOff (line 242) | func (d *OllieDriver) antiDOSOff() error { method writeCommand (line 254) | func (d *OllieDriver) writeCommand(packet *packet) error { method enableStopOnDisconnect (line 270) | func (d *OllieDriver) enableStopOnDisconnect() { method shutdown (line 275) | func (d *OllieDriver) shutdown() error { method handleResponses (line 282) | func (d *OllieDriver) handleResponses(data []byte) { method handleDataStreaming (line 319) | func (d *OllieDriver) handleDataStreaming(data []byte) { method handleLocatorDetected (line 336) | func (d *OllieDriver) handleLocatorDetected(data []uint8) { method handlePowerStateDetected (line 363) | func (d *OllieDriver) handlePowerStateDetected(data []uint8) { method handleCollisionDetected (line 373) | func (d *OllieDriver) handleCollisionDetected(data []uint8) { method sendCraftPacket (line 414) | func (d *OllieDriver) sendCraftPacket(body []uint8, did byte, cid byte) { method craftPacket (line 418) | func (d *OllieDriver) craftPacket(body []uint8, did byte, cid byte) *p... function NewOllieDriver (line 78) | func NewOllieDriver(a gobot.BLEConnector, opts ...ble.OptionApplier) *Ol... function newOllieBaseDriver (line 82) | func newOllieBaseDriver( function ollieDefaultCollisionConfig (line 433) | func ollieDefaultCollisionConfig() spherocommon.CollisionConfig { FILE: drivers/ble/sphero/sphero_ollie_driver_test.go function initTestOllieDriver (line 20) | func initTestOllieDriver() *OllieDriver { function TestNewOllieDriver (line 25) | func TestNewOllieDriver(t *testing.T) { function TestNewOllieDriverWithName (line 33) | func TestNewOllieDriverWithName(t *testing.T) { function TestOllieStartAndHalt (line 45) | func TestOllieStartAndHalt(t *testing.T) { function TestLocatorData (line 51) | func TestLocatorData(t *testing.T) { function TestDataStreaming (line 82) | func TestDataStreaming(t *testing.T) { FILE: drivers/ble/sphero/sphero_sprkplus_driver.go type SPRKPlusDriver (line 10) | type SPRKPlusDriver struct function NewSPRKPlusDriver (line 15) | func NewSPRKPlusDriver(a gobot.BLEConnector, opts ...ble.OptionApplier) ... function sprkplusDefaultCollisionConfig (line 20) | func sprkplusDefaultCollisionConfig() spherocommon.CollisionConfig { FILE: drivers/ble/sphero/sphero_sprkplus_driver_test.go function TestNewSPRKPlusDriver (line 16) | func TestNewSPRKPlusDriver(t *testing.T) { function TestNewSPRKPlusDriverWithName (line 24) | func TestNewSPRKPlusDriverWithName(t *testing.T) { FILE: drivers/ble/testutil/testutil.go type bleTestClientAdaptor (line 12) | type bleTestClientAdaptor struct method SubscribeCharaUUID (line 39) | func (t *bleTestClientAdaptor) SubscribeCharaUUID() string { method SetReadCharacteristicTestFunc (line 43) | func (t *bleTestClientAdaptor) SetReadCharacteristicTestFunc(f func(cU... method SetWriteCharacteristicTestFunc (line 49) | func (t *bleTestClientAdaptor) SetWriteCharacteristicTestFunc(f func(c... method SetSimulateConnectError (line 55) | func (t *bleTestClientAdaptor) SetSimulateConnectError(val bool) { method SetSimulateSubscribeError (line 59) | func (t *bleTestClientAdaptor) SetSimulateSubscribeError(val bool) { method SetSimulateDisconnectError (line 63) | func (t *bleTestClientAdaptor) SetSimulateDisconnectError(val bool) { method SendTestDataToSubscriber (line 67) | func (t *bleTestClientAdaptor) SendTestDataToSubscriber(data []byte) { method Connect (line 73) | func (t *bleTestClientAdaptor) Connect() error { method Reconnect (line 80) | func (t *bleTestClientAdaptor) Reconnect() error { return nil } method Disconnect (line 82) | func (t *bleTestClientAdaptor) Disconnect() error { method Finalize (line 89) | func (t *bleTestClientAdaptor) Finalize() error { return nil } method Name (line 90) | func (t *bleTestClientAdaptor) Name() string { return t.n... method SetName (line 91) | func (t *bleTestClientAdaptor) SetName(n string) { t.name = n } method Address (line 92) | func (t *bleTestClientAdaptor) Address() string { return t.a... method WithoutResponses (line 93) | func (t *bleTestClientAdaptor) WithoutResponses(use bool) { t.withoutR... method ReadCharacteristic (line 95) | func (t *bleTestClientAdaptor) ReadCharacteristic(cUUID string) ([]byt... method WriteCharacteristic (line 101) | func (t *bleTestClientAdaptor) WriteCharacteristic(cUUID string, data ... method Subscribe (line 107) | func (t *bleTestClientAdaptor) Subscribe(cUUID string, f func(data []b... function NewBleTestAdaptor (line 27) | func NewBleTestAdaptor() *bleTestClientAdaptor { FILE: drivers/common/bit/bit.go function Set (line 4) | func Set(n int, pos uint8) int { function Clear (line 10) | func Clear(n int, pos uint8) int { function IsSet (line 17) | func IsSet(n int, pos uint8) bool { FILE: drivers/common/bit/bit_test.go function TestSet (line 10) | func TestSet(t *testing.T) { function TestClear (line 23) | func TestClear(t *testing.T) { FILE: drivers/common/mfrc522/mfrc522_connectionwrapper.go method readByteData (line 5) | func (d *MFRC522Common) readByteData(reg uint8) (uint8, error) { method writeByteData (line 12) | func (d *MFRC522Common) writeByteData(reg uint8, data uint8) error { method setRegisterBitMask (line 19) | func (d *MFRC522Common) setRegisterBitMask(reg uint8, mask uint8) error { method clearRegisterBitMask (line 30) | func (d *MFRC522Common) clearRegisterBitMask(reg uint8, mask uint8) error { FILE: drivers/common/mfrc522/mfrc522_pcd.go constant pcdDebug (line 12) | pcdDebug = false constant initTime (line 13) | initTime = 50 * time.Millisecond constant antennaOnTime (line 15) | antennaOnTime = 10 * time.Millisecond type busConnection (line 18) | type busConnection interface type MFRC522Common (line 37) | type MFRC522Common struct method Initialize (line 54) | func (d *MFRC522Common) Initialize(c busConnection) error { method PrintReaderVersion (line 89) | func (d *MFRC522Common) PrintReaderVersion() error { method getVersion (line 98) | func (d *MFRC522Common) getVersion() (uint8, error) { method switchAntenna (line 102) | func (d *MFRC522Common) switchAntenna(targetState bool) error { method setAntennaGain (line 131) | func (d *MFRC522Common) setAntennaGain(val uint8) error { method softReset (line 135) | func (d *MFRC522Common) softReset() error { method stopCrypto1 (line 155) | func (d *MFRC522Common) stopCrypto1() error { method communicateWithPICC (line 159) | func (d *MFRC522Common) communicateWithPICC(command uint8, sendData []... method calculateCRC (line 282) | func (d *MFRC522Common) calculateCRC(data []byte, result []byte) error { method writeFifo (line 326) | func (d *MFRC522Common) writeFifo(fifoData []byte) error { method readFifo (line 336) | func (d *MFRC522Common) readFifo(backData []byte) (uint8, error) { method getFirstError (line 366) | func (d *MFRC522Common) getFirstError(errorRegValue uint8) error { function NewMFRC522Common (line 48) | func NewMFRC522Common() *MFRC522Common { FILE: drivers/common/mfrc522/mfrc522_pcd_register.go constant regCommand (line 7) | regCommand = 0x01 constant commandRegIdle (line 10) | commandRegIdle = 0x00 constant commandRegMem (line 11) | commandRegMem = 0x01 constant commandRegGenerateRandomID (line 12) | commandRegGenerateRandomID = 0x02 constant commandRegCalcCRC (line 13) | commandRegCalcCRC = 0x03 constant commandRegTransmit (line 14) | commandRegTransmit = 0x04 constant commandRegTransceive (line 19) | commandRegTransceive = 0x0C constant commandRegMFAuthent (line 21) | commandRegMFAuthent = 0x0E constant commandRegSoftReset (line 22) | commandRegSoftReset = 0x0F constant commandRegPowerDownBit (line 25) | commandRegPowerDownBit = 0x10 constant commandRegRcvOffBit (line 26) | commandRegRcvOffBit = 0x20 constant regComIEn (line 31) | regComIEn = 0x02 constant comIEnRegReset (line 33) | comIEnRegReset = 0x80 constant comIEnRegTimerIEnBit (line 34) | comIEnRegTimerIEnBit = 0x01 constant comIEnRegErrIEnBit (line 35) | comIEnRegErrIEnBit = 0x02 constant comIEnRegLoAlertIEnBit (line 36) | comIEnRegLoAlertIEnBit = 0x04 constant comIEnRegHiAlertIEnBit (line 37) | comIEnRegHiAlertIEnBit = 0x08 constant comIEnRegIdleIEnBit (line 38) | comIEnRegIdleIEnBit = 0x10 constant comIEnRegRxIEnBit (line 39) | comIEnRegRxIEnBit = 0x20 constant comIEnRegTxIEnBit (line 40) | comIEnRegTxIEnBit = 0x40 constant comIEnRegIRqInv (line 44) | comIEnRegIRqInv = 0x80 constant regComIrq (line 53) | regComIrq = 0x04 constant comIrqRegReset (line 55) | comIrqRegReset = 0x14 constant comIrqRegClearAll (line 56) | comIrqRegClearAll = 0x7F constant comIrqRegTimerIRqBit (line 57) | comIrqRegTimerIRqBit = 0x01 constant comIrqRegErrIRq1anyBit (line 58) | comIrqRegErrIRq1anyBit = 0x02 constant comIrqRegIdleIRqBit (line 68) | comIrqRegIdleIRqBit = 0x10 constant comIrqRegRxIRqBit (line 71) | comIrqRegRxIRqBit = 0x20 constant comIrqRegTxIRqBit (line 72) | comIrqRegTxIRqBit = 0x40 constant regDivIrq (line 79) | regDivIrq = 0x05 constant divIrqRegCRCIRqBit (line 83) | divIrqRegCRCIRqBit = 0x04 constant regError (line 94) | regError = 0x06 constant errorRegProtocolErrBit (line 100) | errorRegProtocolErrBit = 0x01 constant errorRegParityErrBit (line 102) | errorRegParityErrBit = 0x02 constant errorRegCRCErrBit (line 105) | errorRegCRCErrBit = 0x04 constant errorRegCollErrBit (line 108) | errorRegCollErrBit = 0x08 constant errorRegBufferOvflBit (line 111) | errorRegBufferOvflBit = 0x10 constant errorRegTempErrBit (line 114) | errorRegTempErrBit = 0x40 constant errorRegWrErrBit (line 118) | errorRegWrErrBit = 0x80 constant regStatus2 (line 127) | regStatus2 = 0x08 constant status2RegMFCrypto1OnBit (line 142) | status2RegMFCrypto1OnBit = 0x08 constant regFIFOData (line 151) | regFIFOData = 0x09 constant regFIFOLevel (line 155) | regFIFOLevel = 0x0A constant fifoLevelRegFlushBufferBit (line 163) | fifoLevelRegFlushBufferBit = 0x80 constant regControl (line 172) | regControl = 0x0C constant controlRegRxLastBits (line 177) | controlRegRxLastBits = 0x07 constant regBitFraming (line 184) | regBitFraming = 0x0D constant bitFramingRegReset (line 186) | bitFramingRegReset = 0x00 constant bitFramingRegTxLastBits (line 189) | bitFramingRegTxLastBits = 0x07 constant bitFramingRegStartSendBit (line 200) | bitFramingRegStartSendBit = 0x80 constant regColl (line 204) | regColl = 0x0E constant collRegValuesAfterCollBit (line 217) | collRegValuesAfterCollBit = 0x80 constant regMode (line 225) | regMode = 0x11 constant modeRegCRCPreset0000 (line 231) | modeRegCRCPreset0000 = 0x00 constant modeRegCRCPreset6363 (line 232) | modeRegCRCPreset6363 = 0x01 constant modeRegCRCPresetA671 (line 233) | modeRegCRCPresetA671 = 0x10 constant modeRegCRCPresetFFFF (line 234) | modeRegCRCPresetFFFF = 0x11 constant modeRegPolMFinBit (line 238) | modeRegPolMFinBit = 0x08 constant modeRegTxWaitRFBit (line 240) | modeRegTxWaitRFBit = 0x20 constant regTxMode (line 248) | regTxMode = 0x12 constant regRxMode (line 249) | regRxMode = 0x13 constant rxtxModeRegReset (line 251) | rxtxModeRegReset = 0x00 constant regTxControl (line 281) | regTxControl = 0x14 constant txControlRegTx1RFEn1outputBit (line 285) | txControlRegTx1RFEn1outputBit = 0x01 constant txControlRegTx2RFEn1outputBit (line 287) | txControlRegTx2RFEn1outputBit = 0x02 constant regTxASK (line 299) | regTxASK = 0x15 constant txASKRegForce100ASKBit (line 303) | txASKRegForce100ASKBit = 0x40 constant regCRCResultH (line 321) | regCRCResultH = 0x21 constant regCRCResultL (line 322) | regCRCResultL = 0x22 constant regModWidth (line 327) | regModWidth = 0x24 constant modWidthRegReset (line 329) | modWidthRegReset = 0x26 constant regRFCfg (line 335) | regRFCfg = 0x26 constant rfcCfgRegRxGain18dB (line 340) | rfcCfgRegRxGain18dB = 0x00 constant rfcCfgRegRxGain23dB (line 341) | rfcCfgRegRxGain23dB = 0x10 constant rfcCfgRegRxGain018dB (line 342) | rfcCfgRegRxGain018dB = 0x20 constant rfcCfgRegRxGain023dB (line 343) | rfcCfgRegRxGain023dB = 0x30 constant rfcCfgRegRxGain33dB (line 344) | rfcCfgRegRxGain33dB = 0x40 constant rfcCfgRegRxGain38dB (line 345) | rfcCfgRegRxGain38dB = 0x50 constant rfcCfgRegRxGain43dB (line 346) | rfcCfgRegRxGain43dB = 0x60 constant rfcCfgRegRxGain48dB (line 347) | rfcCfgRegRxGain48dB = 0x70 constant regTMode (line 359) | regTMode = 0x2A constant regTPrescaler (line 360) | regTPrescaler = 0x2B constant tModeRegTAutoBit (line 368) | tModeRegTAutoBit = 0x80 constant regTReloadH (line 393) | regTReloadH = 0x2C constant regTReloadL (line 394) | regTReloadL = 0x2D constant tReloadRegReset (line 396) | tReloadRegReset = 0x0000 constant tReloadRegValue25ms (line 397) | tReloadRegValue25ms = 0x03E8 constant tReloadRegValue833ms (line 398) | tReloadRegValue833ms = 0x001E constant regTestSel1 (line 408) | regTestSel1 = 0x31 constant regTestSel2 (line 409) | regTestSel2 = 0x32 constant regTestPinEn (line 410) | regTestPinEn = 0x33 constant regTestPinValue (line 411) | regTestPinValue = 0x34 constant regTestBus (line 412) | regTestBus = 0x35 constant regAutoTest (line 413) | regAutoTest = 0x36 constant regVersion (line 414) | regVersion = 0x37 constant regAnalogTest (line 415) | regAnalogTest = 0x38 constant regTestDAC1 (line 416) | regTestDAC1 = 0x39 constant regTestDAC2 (line 417) | regTestDAC2 = 0x3A constant regTestADC (line 418) | regTestADC = 0x3B FILE: drivers/common/mfrc522/mfrc522_pcd_test.go type busConnMock (line 10) | type busConnMock struct method ReadByteData (line 18) | func (c *busConnMock) ReadByteData(reg uint8) (uint8, error) { method WriteByteData (line 36) | func (c *busConnMock) WriteByteData(reg uint8, data byte) error { function initTestMFRC522CommonWithStubbedConnector (line 42) | func initTestMFRC522CommonWithStubbedConnector() (*MFRC522Common, *busCo... function TestNewMFRC522Common (line 49) | func TestNewMFRC522Common(t *testing.T) { function TestInitialize (line 56) | func TestInitialize(t *testing.T) { function Test_getVersion (line 77) | func Test_getVersion(t *testing.T) { function Test_switchAntenna (line 91) | func Test_switchAntenna(t *testing.T) { function Test_stopCrypto1 (line 132) | func Test_stopCrypto1(t *testing.T) { function Test_communicateWithPICC (line 144) | func Test_communicateWithPICC(t *testing.T) { function Test_calculateCRC (line 174) | func Test_calculateCRC(t *testing.T) { function Test_writeFifo (line 195) | func Test_writeFifo(t *testing.T) { function Test_readFifo (line 207) | func Test_readFifo(t *testing.T) { FILE: drivers/common/mfrc522/mfrc522_picc.go constant piccDebug (line 8) | piccDebug = false constant piccCommandRequestA (line 13) | piccCommandRequestA = 0x26 constant piccCommandWakeUpA (line 14) | piccCommandWakeUpA = 0x52 constant piccCommandCascadeLevel1 (line 16) | piccCommandCascadeLevel1 = 0x93 constant piccCommandCascadeLevel2 (line 17) | piccCommandCascadeLevel2 = 0x95 constant piccCommandCascadeLevel3 (line 18) | piccCommandCascadeLevel3 = 0x97 constant piccCascadeTag (line 19) | piccCascadeTag = 0x88 constant piccUIDNotComplete (line 20) | piccUIDNotComplete = 0x04 constant piccCommandHLTA (line 22) | piccCommandHLTA = 0x50 constant piccCommandRATS (line 23) | piccCommandRATS = 0xE0 constant piccCommandMFRegAUTHRegKEYRegA (line 27) | piccCommandMFRegAUTHRegKEYRegA = 0x60 constant piccCommandMFRegAUTHRegKEYRegB (line 28) | piccCommandMFRegAUTHRegKEYRegB = 0x61 constant piccCommandMFRegREAD (line 30) | piccCommandMFRegREAD = 0x30 constant piccCommandMFRegWRITE (line 32) | piccCommandMFRegWRITE = 0xA0 constant piccWriteAck (line 33) | piccWriteAck = 0x0A constant piccCommandMFRegDECREMENT (line 34) | piccCommandMFRegDECREMENT = 0xC0 constant piccCommandMFRegINCREMENT (line 35) | piccCommandMFRegINCREMENT = 0xC1 constant piccCommandMFRegRESTORE (line 36) | piccCommandMFRegRESTORE = 0xC2 constant piccCommandMFRegTRANSFER (line 37) | piccCommandMFRegTRANSFER = 0xB0 constant piccReadWriteAuthBlock (line 43) | piccReadWriteAuthBlock = uint8(11) method IsCardPresent (line 56) | func (d *MFRC522Common) IsCardPresent() error { method ReadText (line 87) | func (d *MFRC522Common) ReadText() (string, error) { method WriteText (line 132) | func (d *MFRC522Common) WriteText(text string) error { method piccHalt (line 175) | func (d *MFRC522Common) piccHalt() error { method piccWrite (line 198) | func (d *MFRC522Common) piccWrite(block uint8, blockData []byte) error { method piccRead (line 242) | func (d *MFRC522Common) piccRead(block uint8) ([]byte, error) { method piccAuthenticate (line 262) | func (d *MFRC522Common) piccAuthenticate(address uint8, key []byte, uid ... method piccActivate (line 282) | func (d *MFRC522Common) piccActivate() ([]byte, error) { method piccRequest (line 392) | func (d *MFRC522Common) piccRequest(reqMode uint8, answer []byte) error { FILE: drivers/common/spherocommon/spherocommon.go constant ErrorEvent (line 5) | ErrorEvent = "error" constant SensorDataEvent (line 8) | SensorDataEvent = "sensordata" constant CollisionEvent (line 11) | CollisionEvent = "collision" function DefaultDataStreamingConfig (line 16) | func DefaultDataStreamingConfig() DataStreamingConfig { function CalculateChecksum (line 27) | func CalculateChecksum(buf []byte) byte { FILE: drivers/common/spherocommon/spherocommon_packets.go type LocatorConfig (line 7) | type LocatorConfig struct type CollisionConfig (line 21) | type CollisionConfig struct type DataStreamingConfig (line 45) | type DataStreamingConfig struct type PowerStatePacket (line 59) | type PowerStatePacket struct type CollisionPacket (line 73) | type CollisionPacket struct type DataStreamingPacket (line 87) | type DataStreamingPacket struct FILE: drivers/common/spherocommon/spherocommon_test.go function TestCalculateChecksum (line 10) | func TestCalculateChecksum(t *testing.T) { FILE: drivers/gpio/aip1640_driver.go constant AIP1640DataCmd (line 11) | AIP1640DataCmd = 0x40 constant AIP1640DispCtrl (line 12) | AIP1640DispCtrl = 0x88 constant AIP1640AddrCmd (line 13) | AIP1640AddrCmd = 0xC0 constant AIP1640FixedAddr (line 15) | AIP1640FixedAddr = 0x04 type AIP1640Driver (line 24) | type AIP1640Driver struct method SetIntensity (line 54) | func (d *AIP1640Driver) SetIntensity(level byte) { method Display (line 62) | func (d *AIP1640Driver) Display() error { method Clear (line 87) | func (d *AIP1640Driver) Clear() { method DrawPixel (line 94) | func (d *AIP1640Driver) DrawPixel(x, y byte, enabled bool) { method DrawRow (line 107) | func (d *AIP1640Driver) DrawRow(row, data byte) { method DrawMatrix (line 115) | func (d *AIP1640Driver) DrawMatrix(data [8]byte) { method initialize (line 122) | func (d *AIP1640Driver) initialize() error { method sendCommand (line 130) | func (d *AIP1640Driver) sendCommand(cmd byte) error { method sendData (line 141) | func (d *AIP1640Driver) sendData(address byte, data byte) error { method send (line 158) | func (d *AIP1640Driver) send(data byte) error { function NewAIP1640Driver (line 39) | func NewAIP1640Driver(a gobot.Connection, clockPin string, dataPin strin... FILE: drivers/gpio/aip1640_driver_test.go function initTestAIP1640Driver (line 17) | func initTestAIP1640Driver() *AIP1640Driver { function initTestAIP1640DriverWithStubbedAdaptor (line 22) | func initTestAIP1640DriverWithStubbedAdaptor() (*AIP1640Driver, *gpioTes... function TestNewAIP1640Driver (line 27) | func TestNewAIP1640Driver(t *testing.T) { function TestNewAIP1640Driver_options (line 48) | func TestNewAIP1640Driver_options(t *testing.T) { function TestAIP1640Start (line 68) | func TestAIP1640Start(t *testing.T) { function TestAIP1640DrawPixel (line 73) | func TestAIP1640DrawPixel(t *testing.T) { function TestAIP1640DrawRow (line 80) | func TestAIP1640DrawRow(t *testing.T) { function TestAIP1640DrawMatrix (line 86) | func TestAIP1640DrawMatrix(t *testing.T) { function TestAIP1640Clear (line 93) | func TestAIP1640Clear(t *testing.T) { function TestAIP1640SetIntensity (line 102) | func TestAIP1640SetIntensity(t *testing.T) { function TestAIP1640SetIntensityHigherThan7 (line 108) | func TestAIP1640SetIntensityHigherThan7(t *testing.T) { FILE: drivers/gpio/button_driver.go type buttonOptionApplier (line 11) | type buttonOptionApplier interface type buttonConfiguration (line 16) | type buttonConfiguration struct type buttonReadIntervalOption (line 22) | type buttonReadIntervalOption method String (line 163) | func (o buttonReadIntervalOption) String() string { method apply (line 171) | func (o buttonReadIntervalOption) apply(cfg *buttonConfiguration) { type buttonDefaultStateOption (line 25) | type buttonDefaultStateOption method String (line 167) | func (o buttonDefaultStateOption) String() string { method apply (line 175) | func (o buttonDefaultStateOption) apply(cfg *buttonConfiguration) { type ButtonDriver (line 28) | type ButtonDriver struct method Active (line 81) | func (d *ButtonDriver) Active() bool { method SetDefaultState (line 91) | func (d *ButtonDriver) SetDefaultState(s int) { method initialize (line 106) | func (d *ButtonDriver) initialize() error { method shutdown (line 139) | func (d *ButtonDriver) shutdown() error { method update (line 149) | func (d *ButtonDriver) update(newValue int) { function NewButtonDriver (line 44) | func NewButtonDriver(a DigitalReader, pin string, opts ...interface{}) *... function WithButtonPollInterval (line 71) | func WithButtonPollInterval(interval time.Duration) buttonOptionApplier { function WithButtonDefaultState (line 76) | func WithButtonDefaultState(s int) buttonOptionApplier { FILE: drivers/gpio/button_driver_test.go constant buttonTestDelay (line 19) | buttonTestDelay = 250 function initTestButtonDriverWithStubbedAdaptor (line 21) | func initTestButtonDriverWithStubbedAdaptor() (*ButtonDriver, *gpioTestA... function TestNewButtonDriver (line 27) | func TestNewButtonDriver(t *testing.T) { function TestNewButtonDriver_options (line 52) | func TestNewButtonDriver_options(t *testing.T) { function TestButton_WithButtonDefaultState (line 72) | func TestButton_WithButtonDefaultState(t *testing.T) { function TestButtonStart (line 82) | func TestButtonStart(t *testing.T) { function TestButtonStart_WithDefaultState (line 156) | func TestButtonStart_WithDefaultState(t *testing.T) { function TestButtonHalt (line 200) | func TestButtonHalt(t *testing.T) { function TestButtonActive (line 220) | func TestButtonActive(t *testing.T) { FILE: drivers/gpio/buzzer_driver.go constant Whole (line 12) | Whole = 4 constant Half (line 13) | Half = 2 constant Quarter (line 14) | Quarter = 1 constant Eighth (line 15) | Eighth = 0.500 constant Rest (line 20) | Rest = 0 constant C0 (line 21) | C0 = 16.35 constant Db0 (line 22) | Db0 = 17.32 constant D0 (line 23) | D0 = 18.35 constant Eb0 (line 24) | Eb0 = 19.45 constant E0 (line 25) | E0 = 20.60 constant F0 (line 26) | F0 = 21.83 constant Gb0 (line 27) | Gb0 = 23.12 constant G0 (line 28) | G0 = 24.50 constant Ab0 (line 29) | Ab0 = 25.96 constant A0 (line 30) | A0 = 27.50 constant Bb0 (line 31) | Bb0 = 29.14 constant B0 (line 32) | B0 = 30.87 constant C1 (line 33) | C1 = 32.70 constant Db1 (line 34) | Db1 = 34.65 constant D1 (line 35) | D1 = 36.71 constant Eb1 (line 36) | Eb1 = 38.89 constant E1 (line 37) | E1 = 41.20 constant F1 (line 38) | F1 = 43.65 constant Gb1 (line 39) | Gb1 = 46.25 constant G1 (line 40) | G1 = 49.00 constant Ab1 (line 41) | Ab1 = 51.91 constant A1 (line 42) | A1 = 55.00 constant Bb1 (line 43) | Bb1 = 58.27 constant B1 (line 44) | B1 = 61.74 constant C2 (line 45) | C2 = 65.41 constant Db2 (line 46) | Db2 = 69.30 constant D2 (line 47) | D2 = 73.42 constant Eb2 (line 48) | Eb2 = 77.78 constant E2 (line 49) | E2 = 82.41 constant F2 (line 50) | F2 = 87.31 constant Gb2 (line 51) | Gb2 = 92.50 constant G2 (line 52) | G2 = 98.00 constant Ab2 (line 53) | Ab2 = 103.83 constant A2 (line 54) | A2 = 110.00 constant Bb2 (line 55) | Bb2 = 116.54 constant B2 (line 56) | B2 = 123.47 constant C3 (line 57) | C3 = 130.81 constant Db3 (line 58) | Db3 = 138.59 constant D3 (line 59) | D3 = 146.83 constant Eb3 (line 60) | Eb3 = 155.56 constant E3 (line 61) | E3 = 164.81 constant F3 (line 62) | F3 = 174.61 constant Gb3 (line 63) | Gb3 = 185.00 constant G3 (line 64) | G3 = 196.00 constant Ab3 (line 65) | Ab3 = 207.65 constant A3 (line 66) | A3 = 220.00 constant Bb3 (line 67) | Bb3 = 233.08 constant B3 (line 68) | B3 = 246.94 constant C4 (line 69) | C4 = 261.63 constant Db4 (line 70) | Db4 = 277.18 constant D4 (line 71) | D4 = 293.66 constant Eb4 (line 72) | Eb4 = 311.13 constant E4 (line 73) | E4 = 329.63 constant F4 (line 74) | F4 = 349.23 constant Gb4 (line 75) | Gb4 = 369.99 constant G4 (line 76) | G4 = 392.00 constant Ab4 (line 77) | Ab4 = 415.30 constant A4 (line 78) | A4 = 440.00 constant Bb4 (line 79) | Bb4 = 466.16 constant B4 (line 80) | B4 = 493.88 constant C5 (line 81) | C5 = 523.25 constant Db5 (line 82) | Db5 = 554.37 constant D5 (line 83) | D5 = 587.33 constant Eb5 (line 84) | Eb5 = 622.25 constant E5 (line 85) | E5 = 659.25 constant F5 (line 86) | F5 = 698.46 constant Gb5 (line 87) | Gb5 = 739.99 constant G5 (line 88) | G5 = 783.99 constant Ab5 (line 89) | Ab5 = 830.61 constant A5 (line 90) | A5 = 880.00 constant Bb5 (line 91) | Bb5 = 932.33 constant B5 (line 92) | B5 = 987.77 constant C6 (line 93) | C6 = 1046.50 constant Db6 (line 94) | Db6 = 1108.73 constant D6 (line 95) | D6 = 1174.66 constant Eb6 (line 96) | Eb6 = 1244.51 constant E6 (line 97) | E6 = 1318.51 constant F6 (line 98) | F6 = 1396.91 constant Gb6 (line 99) | Gb6 = 1479.98 constant G6 (line 100) | G6 = 1567.98 constant Ab6 (line 101) | Ab6 = 1661.22 constant A6 (line 102) | A6 = 1760.00 constant Bb6 (line 103) | Bb6 = 1864.66 constant B6 (line 104) | B6 = 1975.53 constant C7 (line 105) | C7 = 2093.00 constant Db7 (line 106) | Db7 = 2217.46 constant D7 (line 107) | D7 = 2349.32 constant Eb7 (line 108) | Eb7 = 2489.02 constant E7 (line 109) | E7 = 2637.02 constant F7 (line 110) | F7 = 2793.83 constant Gb7 (line 111) | Gb7 = 2959.96 constant G7 (line 112) | G7 = 3135.96 constant Ab7 (line 113) | Ab7 = 3322.44 constant A7 (line 114) | A7 = 3520.00 constant Bb7 (line 115) | Bb7 = 3729.31 constant B7 (line 116) | B7 = 3951.07 constant C8 (line 117) | C8 = 4186.01 constant Db8 (line 118) | Db8 = 4434.92 constant D8 (line 119) | D8 = 4698.63 constant Eb8 (line 120) | Eb8 = 4978.03 constant E8 (line 121) | E8 = 5274.04 constant F8 (line 122) | F8 = 5587.65 constant Gb8 (line 123) | Gb8 = 5919.91 constant G8 (line 124) | G8 = 6271.93 constant Ab8 (line 125) | Ab8 = 6644.88 constant A8 (line 126) | A8 = 7040.00 constant Bb8 (line 127) | Bb8 = 7458.62 constant B8 (line 128) | B8 = 7902.13 type BuzzerDriver (line 132) | type BuzzerDriver struct method SetBPM (line 164) | func (d *BuzzerDriver) SetBPM(val float64) { method BPM (line 169) | func (d *BuzzerDriver) BPM() float64 { method State (line 174) | func (d *BuzzerDriver) State() bool { method On (line 179) | func (d *BuzzerDriver) On() error { method Off (line 188) | func (d *BuzzerDriver) Off() error { method Toggle (line 197) | func (d *BuzzerDriver) Toggle() error { method Tone (line 205) | func (d *BuzzerDriver) Tone(hz, duration float64) error { function NewBuzzerDriver (line 144) | func NewBuzzerDriver(a DigitalWriter, pin string, opts ...interface{}) *... FILE: drivers/gpio/buzzer_driver_test.go function initTestBuzzerDriver (line 17) | func initTestBuzzerDriver(conn DigitalWriter) *BuzzerDriver { function TestNewBuzzerDriver (line 21) | func TestNewBuzzerDriver(t *testing.T) { function TestNewBuzzerDriver_options (line 42) | func TestNewBuzzerDriver_options(t *testing.T) { function TestBuzzerToggle (line 61) | func TestBuzzerToggle(t *testing.T) { function TestBuzzerTone (line 70) | func TestBuzzerTone(t *testing.T) { function TestBuzzerOnError (line 75) | func TestBuzzerOnError(t *testing.T) { function TestBuzzerOffError (line 85) | func TestBuzzerOffError(t *testing.T) { function TestBuzzerToneError (line 95) | func TestBuzzerToneError(t *testing.T) { FILE: drivers/gpio/direct_pin_driver.go type DirectPinDriver (line 10) | type DirectPinDriver struct method Off (line 55) | func (d *DirectPinDriver) Off() error { method On (line 60) | func (d *DirectPinDriver) On() error { method DigitalRead (line 65) | func (d *DirectPinDriver) DigitalRead() (int, error) { method DigitalWrite (line 70) | func (d *DirectPinDriver) DigitalWrite(level byte) error { method PwmWrite (line 75) | func (d *DirectPinDriver) PwmWrite(level byte) error { method ServoWrite (line 80) | func (d *DirectPinDriver) ServoWrite(level byte) error { function NewDirectPinDriver (line 26) | func NewDirectPinDriver(a gobot.Connection, pin string, opts ...interfac... FILE: drivers/gpio/direct_pin_driver_test.go function initTestDirectPinDriver (line 18) | func initTestDirectPinDriver() *DirectPinDriver { function TestNewDirectPinDriver (line 35) | func TestNewDirectPinDriver(t *testing.T) { function TestNewDirectPinDriver_options (line 53) | func TestNewDirectPinDriver_options(t *testing.T) { function TestDirectPin_Commands (line 72) | func TestDirectPin_Commands(t *testing.T) { function TestDirectPinOff (line 92) | func TestDirectPinOff(t *testing.T) { function TestDirectPinOffNotSupported (line 101) | func TestDirectPinOffNotSupported(t *testing.T) { function TestDirectPinOn (line 107) | func TestDirectPinOn(t *testing.T) { function TestDirectPinOnError (line 113) | func TestDirectPinOnError(t *testing.T) { function TestDirectPinOnNotSupported (line 118) | func TestDirectPinOnNotSupported(t *testing.T) { function TestDirectPinDigitalWrite (line 124) | func TestDirectPinDigitalWrite(t *testing.T) { function TestDirectPinDigitalWriteNotSupported (line 130) | func TestDirectPinDigitalWriteNotSupported(t *testing.T) { function TestDirectPinDigitalWriteError (line 136) | func TestDirectPinDigitalWriteError(t *testing.T) { function TestDirectPinDigitalRead (line 141) | func TestDirectPinDigitalRead(t *testing.T) { function TestDirectPinDigitalReadNotSupported (line 148) | func TestDirectPinDigitalReadNotSupported(t *testing.T) { function TestDirectPinPwmWrite (line 155) | func TestDirectPinPwmWrite(t *testing.T) { function TestDirectPinPwmWriteNotSupported (line 161) | func TestDirectPinPwmWriteNotSupported(t *testing.T) { function TestDirectPinPwmWriteError (line 167) | func TestDirectPinPwmWriteError(t *testing.T) { function TestDirectPinServoWrite (line 172) | func TestDirectPinServoWrite(t *testing.T) { function TestDirectPinServoWriteNotSupported (line 178) | func TestDirectPinServoWriteNotSupported(t *testing.T) { function TestDirectPinServoWriteError (line 184) | func TestDirectPinServoWriteError(t *testing.T) { FILE: drivers/gpio/easy_driver.go constant easyDriverDebug (line 11) | easyDriverDebug = false type easyOptionApplier (line 14) | type easyOptionApplier interface type easyConfiguration (line 19) | type easyConfiguration struct type easyDirPinOption (line 26) | type easyDirPinOption method String (line 249) | func (o easyDirPinOption) String() string { method apply (line 261) | func (o easyDirPinOption) apply(cfg *easyConfiguration) { type easyEnPinOption (line 29) | type easyEnPinOption method String (line 253) | func (o easyEnPinOption) String() string { method apply (line 265) | func (o easyEnPinOption) apply(cfg *easyConfiguration) { type easySleepPinOption (line 32) | type easySleepPinOption method String (line 257) | func (o easySleepPinOption) String() string { method apply (line 269) | func (o easySleepPinOption) apply(cfg *easyConfiguration) { type EasyDriver (line 37) | type EasyDriver struct method SetDirection (line 118) | func (d *EasyDriver) SetDirection(direction string) error { method Enable (line 147) | func (d *EasyDriver) Enable() error { method Disable (line 163) | func (d *EasyDriver) Disable() error { method IsEnabled (line 180) | func (d *EasyDriver) IsEnabled() bool { method Wake (line 185) | func (d *EasyDriver) Wake() error { method IsSleeping (line 204) | func (d *EasyDriver) IsSleeping() bool { method onePinStepping (line 208) | func (d *EasyDriver) onePinStepping() error { method sleepWithSleepPin (line 233) | func (d *EasyDriver) sleepWithSleepPin() error { function NewEasyDriver (line 58) | func NewEasyDriver(a DigitalWriter, anglePerStep float32, stepPin string... function WithEasyDirectionPin (line 103) | func WithEasyDirectionPin(pin string) easyOptionApplier { function WithEasyEnablePin (line 108) | func WithEasyEnablePin(pin string) easyOptionApplier { function WithEasySleepPin (line 113) | func WithEasySleepPin(pin string) easyOptionApplier { FILE: drivers/gpio/easy_driver_test.go function initTestEasyDriverWithStubbedAdaptor (line 15) | func initTestEasyDriverWithStubbedAdaptor() (*EasyDriver, *gpioTestAdapt... function TestNewEasyDriver (line 23) | func TestNewEasyDriver(t *testing.T) { function TestNewEasyDriver_options (line 55) | func TestNewEasyDriver_options(t *testing.T) { function TestEasy_WithEasyEnablePin (line 77) | func TestEasy_WithEasyEnablePin(t *testing.T) { function TestEasy_WithEasySleepPin (line 87) | func TestEasy_WithEasySleepPin(t *testing.T) { function TestEasyMoveDeg_IsMoving (line 97) | func TestEasyMoveDeg_IsMoving(t *testing.T) { function TestEasyRun_IsMoving (line 172) | func TestEasyRun_IsMoving(t *testing.T) { function TestEasyStop_IsMoving (line 228) | func TestEasyStop_IsMoving(t *testing.T) { function TestEasyDriverHalt_IsMoving (line 240) | func TestEasyDriverHalt_IsMoving(t *testing.T) { function TestEasySetDirection (line 252) | func TestEasySetDirection(t *testing.T) { function TestEasyMaxSpeed (line 321) | func TestEasyMaxSpeed(t *testing.T) { function TestEasySetSpeed (line 366) | func TestEasySetSpeed(t *testing.T) { function TestEasy_onePinStepping (line 416) | func TestEasy_onePinStepping(t *testing.T) { function TestEasyEnable_IsEnabled (line 520) | func TestEasyEnable_IsEnabled(t *testing.T) { function TestEasyDisable_IsEnabled (line 579) | func TestEasyDisable_IsEnabled(t *testing.T) { function TestEasySleep_IsSleeping (line 660) | func TestEasySleep_IsSleeping(t *testing.T) { function TestEasyWake_IsSleeping (line 739) | func TestEasyWake_IsSleeping(t *testing.T) { FILE: drivers/gpio/gpio_driver.go constant Error (line 29) | Error = "error" constant ButtonRelease (line 31) | ButtonRelease = "release" constant ButtonPush (line 33) | ButtonPush = "push" constant MotionDetected (line 35) | MotionDetected = "motion-detected" constant MotionStopped (line 37) | MotionStopped = "motion-stopped" type PwmWriter (line 41) | type PwmWriter interface type ServoWriter (line 46) | type ServoWriter interface type DigitalWriter (line 51) | type DigitalWriter interface type DigitalReader (line 56) | type DigitalReader interface type optionApplier (line 61) | type optionApplier interface type configuration (line 66) | type configuration struct type nameOption (line 72) | type nameOption method String (line 230) | func (o nameOption) String() string { method apply (line 239) | func (o nameOption) apply(c *configuration) { type pinOption (line 75) | type pinOption method String (line 234) | func (o pinOption) String() string { method apply (line 244) | func (o pinOption) apply(c *configuration) { type driver (line 78) | type driver struct method Name (line 128) | func (d *driver) Name() string { method SetName (line 134) | func (d *driver) SetName(name string) { method Pin (line 139) | func (d *driver) Pin() string { method Connection (line 144) | func (d *driver) Connection() gobot.Connection { method Start (line 159) | func (d *driver) Start() error { method Halt (line 169) | func (d *driver) Halt() error { method digitalRead (line 179) | func (d *driver) digitalRead(pin string) (int, error) { method digitalWrite (line 192) | func (d *driver) digitalWrite(pin string, val byte) error { method pwmWrite (line 205) | func (d *driver) pwmWrite(pin string, level byte) error { method servoWrite (line 218) | func (d *driver) servoWrite(pin string, level byte) error { function newDriver (line 94) | func newDriver(a gobot.Adaptor, name string, opts ...interface{}) *driver { function WithName (line 117) | func WithName(name string) optionApplier { function withPin (line 123) | func withPin(pin string) optionApplier { FILE: drivers/gpio/gpio_driver_test.go function initTestDriverWithStubbedAdaptor (line 15) | func initTestDriverWithStubbedAdaptor() (*driver, *gpioTestAdaptor) { function initTestDriver (line 21) | func initTestDriver() *driver { function TestNewDriver (line 26) | func TestNewDriver(t *testing.T) { function Test_applyWithName (line 41) | func Test_applyWithName(t *testing.T) { function Test_applywithPin (line 51) | func Test_applywithPin(t *testing.T) { function TestConnection (line 61) | func TestConnection(t *testing.T) { function TestStart (line 68) | func TestStart(t *testing.T) { function TestHalt (line 79) | func TestHalt(t *testing.T) { FILE: drivers/gpio/grove_drivers.go type GroveRelayDriver (line 4) | type GroveRelayDriver struct function NewGroveRelayDriver (line 21) | func NewGroveRelayDriver(a DigitalWriter, pin string) *GroveRelayDriver { type GroveLedDriver (line 28) | type GroveLedDriver struct function NewGroveLedDriver (line 46) | func NewGroveLedDriver(a DigitalWriter, pin string) *GroveLedDriver { type GroveBuzzerDriver (line 53) | type GroveBuzzerDriver struct function NewGroveBuzzerDriver (line 64) | func NewGroveBuzzerDriver(a DigitalWriter, pin string, opts ...interface... type GroveButtonDriver (line 71) | type GroveButtonDriver struct function NewGroveButtonDriver (line 84) | func NewGroveButtonDriver(a DigitalReader, pin string, opts ...interface... type GroveTouchDriver (line 92) | type GroveTouchDriver struct function NewGroveTouchDriver (line 105) | func NewGroveTouchDriver(a DigitalReader, pin string, opts ...interface{... type GroveMagneticSwitchDriver (line 112) | type GroveMagneticSwitchDriver struct function NewGroveMagneticSwitchDriver (line 125) | func NewGroveMagneticSwitchDriver(a DigitalReader, pin string, opts ...i... FILE: drivers/gpio/grove_drivers_test.go type DriverAndPinner (line 17) | type DriverAndPinner interface type DriverAndEventer (line 22) | type DriverAndEventer interface function TestDriverDefaults (line 27) | func TestDriverDefaults(t *testing.T) { function TestDigitalDriverHalt (line 46) | func TestDigitalDriverHalt(t *testing.T) { function TestDriverPublishesError (line 79) | func TestDriverPublishesError(t *testing.T) { function getType (line 116) | func getType(driver interface{}) string { FILE: drivers/gpio/hcsr04_driver.go constant hcsr04SoundSpeed (line 13) | hcsr04SoundSpeed = 343 constant hcsr04StartTransmitTimeout (line 17) | hcsr04StartTransmitTimeout time.Duration = 100 * time.Millisecond constant hcsr04ReceiveTimeout (line 18) | hcsr04ReceiveTimeout time.Duration = 60 * time.Millisecond constant hcsr04EmitTriggerDuration (line 19) | hcsr04EmitTriggerDuration time.Duration = 10 * time.Microsecond constant hcsr04MonitorUpdate (line 20) | hcsr04MonitorUpdate time.Duration = 200 * time.Millisecond constant hcsr04PollInputIntervall (line 25) | hcsr04PollInputIntervall time.Duration = 10 * time.Microsecond type hcsr04OptionApplier (line 29) | type hcsr04OptionApplier interface type hcsr04Configuration (line 34) | type hcsr04Configuration struct type hcsr04UseEdgePollingOption (line 40) | type hcsr04UseEdgePollingOption method String (line 255) | func (o hcsr04UseEdgePollingOption) String() string { method apply (line 259) | func (o hcsr04UseEdgePollingOption) apply(cfg *hcsr04Configuration) { type HCSR04Driver (line 43) | type HCSR04Driver struct method MeasureDistance (line 143) | func (d *HCSR04Driver) MeasureDistance() (float64, error) { method Distance (line 152) | func (d *HCSR04Driver) Distance() float64 { method StartDistanceMonitor (line 158) | func (d *HCSR04Driver) StartDistanceMonitor() error { method StopDistanceMonitor (line 191) | func (d *HCSR04Driver) StopDistanceMonitor() error { method createEventHandler (line 199) | func (d *HCSR04Driver) createEventHandler() func(int, time.Duration, s... method stopDistanceMonitor (line 217) | func (d *HCSR04Driver) stopDistanceMonitor() error { method measureDistance (line 228) | func (d *HCSR04Driver) measureDistance() error { method emitTrigger (line 247) | func (d *HCSR04Driver) emitTrigger() error { function NewHCSR04Driver (line 66) | func NewHCSR04Driver(a gobot.Adaptor, triggerPinID, echoPinID string, op... function WithHCSR04UseEdgePolling (line 137) | func WithHCSR04UseEdgePolling() hcsr04OptionApplier { FILE: drivers/gpio/hcsr04_driver_test.go function initTestHCSR04DriverWithStubbedAdaptor (line 18) | func initTestHCSR04DriverWithStubbedAdaptor(triggerPinID string, echoPin... function TestNewHCSR04Driver (line 29) | func TestNewHCSR04Driver(t *testing.T) { function TestNewHCSR04Driver_options (line 59) | func TestNewHCSR04Driver_options(t *testing.T) { function TestHCSR04MeasureDistance (line 80) | func TestHCSR04MeasureDistance(t *testing.T) { function TestHCSR04Distance (line 154) | func TestHCSR04Distance(t *testing.T) { function TestHCSR04StartDistanceMonitor (line 186) | func TestHCSR04StartDistanceMonitor(t *testing.T) { function TestHCSR04StopDistanceMonitor (line 237) | func TestHCSR04StopDistanceMonitor(t *testing.T) { function TestHCSR04_createEventHandler (line 279) | func TestHCSR04_createEventHandler(t *testing.T) { FILE: drivers/gpio/hd44780_driver.go constant HD44780_CLEARDISPLAY (line 13) | HD44780_CLEARDISPLAY = 0x01 constant HD44780_RETURNHOME (line 14) | HD44780_RETURNHOME = 0x02 constant HD44780_ENTRYMODESET (line 15) | HD44780_ENTRYMODESET = 0x04 constant HD44780_DISPLAYCONTROL (line 16) | HD44780_DISPLAYCONTROL = 0x08 constant HD44780_CURSORSHIFT (line 17) | HD44780_CURSORSHIFT = 0x10 constant HD44780_FUNCTIONSET (line 18) | HD44780_FUNCTIONSET = 0x20 constant HD44780_SETCGRAMADDR (line 19) | HD44780_SETCGRAMADDR = 0x40 constant HD44780_SETDDRAMADDR (line 20) | HD44780_SETDDRAMADDR = 0x80 constant HD44780_ENTRYRIGHT (line 21) | HD44780_ENTRYRIGHT = 0x00 constant HD44780_ENTRYLEFT (line 22) | HD44780_ENTRYLEFT = 0x02 constant HD44780_ENTRYSHIFTINCREMENT (line 23) | HD44780_ENTRYSHIFTINCREMENT = 0x01 constant HD44780_ENTRYSHIFTDECREMENT (line 24) | HD44780_ENTRYSHIFTDECREMENT = 0x00 constant HD44780_DISPLAYON (line 25) | HD44780_DISPLAYON = 0x04 constant HD44780_DISPLAYOFF (line 26) | HD44780_DISPLAYOFF = 0x00 constant HD44780_CURSORON (line 27) | HD44780_CURSORON = 0x02 constant HD44780_CURSOROFF (line 28) | HD44780_CURSOROFF = 0x00 constant HD44780_BLINKON (line 29) | HD44780_BLINKON = 0x01 constant HD44780_BLINKOFF (line 30) | HD44780_BLINKOFF = 0x00 constant HD44780_DISPLAYMOVE (line 31) | HD44780_DISPLAYMOVE = 0x08 constant HD44780_CURSORMOVE (line 32) | HD44780_CURSORMOVE = 0x00 constant HD44780_MOVERIGHT (line 33) | HD44780_MOVERIGHT = 0x04 constant HD44780_MOVELEFT (line 34) | HD44780_MOVELEFT = 0x00 constant HD44780_1LINE (line 35) | HD44780_1LINE = 0x00 constant HD44780_2LINE (line 36) | HD44780_2LINE = 0x08 constant HD44780_5x8DOTS (line 37) | HD44780_5x8DOTS = 0x00 constant HD44780_5x10DOTS (line 38) | HD44780_5x10DOTS = 0x04 constant HD44780_4BITBUS (line 39) | HD44780_4BITBUS = 0x00 constant HD44780_8BITBUS (line 40) | HD44780_8BITBUS = 0x10 constant HD44780_2NDLINEOFFSET (line 45) | HD44780_2NDLINEOFFSET = 0x40 type HD44780BusMode (line 49) | type HD44780BusMode constant HD44780_4BITMODE (line 53) | HD44780_4BITMODE HD44780BusMode = iota + 1 constant HD44780_8BITMODE (line 54) | HD44780_8BITMODE type HD44780DataPin (line 58) | type HD44780DataPin struct type hd44780OptionApplier (line 70) | type hd44780OptionApplier interface type hd44780Configuration (line 75) | type hd44780Configuration struct type hd44780PinRWOption (line 80) | type hd44780PinRWOption method String (line 526) | func (o hd44780PinRWOption) String() string { method apply (line 530) | func (o hd44780PinRWOption) apply(cfg *hd44780Configuration) { type HD44780Driver (line 84) | type HD44780Driver struct method initialize (line 184) | func (d *HD44780Driver) initialize() error { method Write (line 266) | func (d *HD44780Driver) Write(message string) error { method Clear (line 293) | func (d *HD44780Driver) Clear() error { method Home (line 301) | func (d *HD44780Driver) Home() error { method SetCursor (line 314) | func (d *HD44780Driver) SetCursor(col int, row int) error { method Display (line 322) | func (d *HD44780Driver) Display(on bool) error { method Cursor (line 336) | func (d *HD44780Driver) Cursor(on bool) error { method Blink (line 350) | func (d *HD44780Driver) Blink(on bool) error { method ScrollLeft (line 364) | func (d *HD44780Driver) ScrollLeft() error { method ScrollRight (line 372) | func (d *HD44780Driver) ScrollRight() error { method LeftToRight (line 380) | func (d *HD44780Driver) LeftToRight() error { method RightToLeft (line 389) | func (d *HD44780Driver) RightToLeft() error { method SendCommand (line 398) | func (d *HD44780Driver) SendCommand(data int) error { method WriteChar (line 406) | func (d *HD44780Driver) WriteChar(data int) error { method CreateChar (line 414) | func (d *HD44780Driver) CreateChar(pos int, charMap [8]byte) error { method sendCommand (line 435) | func (d *HD44780Driver) sendCommand(data int) error { method writeChar (line 451) | func (d *HD44780Driver) writeChar(data int) error { method clear (line 468) | func (d *HD44780Driver) clear() error { method setCursor (line 480) | func (d *HD44780Driver) setCursor(col int, row int) error { method writeDataPins (line 488) | func (d *HD44780Driver) writeDataPins(data int) error { method fallingEdge (line 504) | func (d *HD44780Driver) fallingEdge() error { method activateWriteMode (line 519) | func (d *HD44780Driver) activateWriteMode() error { function NewHD44780Driver (line 113) | func NewHD44780Driver( function WithHD44780RWPin (line 178) | func WithHD44780RWPin(pin string) hd44780OptionApplier { FILE: drivers/gpio/hd44780_driver_test.go function initTestHD44780Driver (line 17) | func initTestHD44780Driver() *HD44780Driver { function initTestHD44780Driver4BitModeWithStubbedAdaptor (line 25) | func initTestHD44780Driver4BitModeWithStubbedAdaptor() (*HD44780Driver, ... function initTestHD44780Driver8BitModeWithStubbedAdaptor (line 37) | func initTestHD44780Driver8BitModeWithStubbedAdaptor() (*HD44780Driver, ... function TestNewHD44780Driver (line 53) | func TestNewHD44780Driver(t *testing.T) { function TestNewHD44780Driver_options (line 93) | func TestNewHD44780Driver_options(t *testing.T) { function TestHD44780Start (line 121) | func TestHD44780Start(t *testing.T) { function TestHD44780StartError (line 128) | func TestHD44780StartError(t *testing.T) { function TestHD44780Write (line 157) | func TestHD44780Write(t *testing.T) { function TestHD44780WriteError (line 169) | func TestHD44780WriteError(t *testing.T) { function TestHD44780Clear (line 188) | func TestHD44780Clear(t *testing.T) { function TestHD44780Home (line 193) | func TestHD44780Home(t *testing.T) { function TestHD44780SetCursor (line 198) | func TestHD44780SetCursor(t *testing.T) { function TestHD44780SetCursorInvalid (line 203) | func TestHD44780SetCursorInvalid(t *testing.T) { function TestHD44780DisplayOn (line 212) | func TestHD44780DisplayOn(t *testing.T) { function TestHD44780DisplayOff (line 217) | func TestHD44780DisplayOff(t *testing.T) { function TestHD44780CursorOn (line 222) | func TestHD44780CursorOn(t *testing.T) { function TestHD44780CursorOff (line 227) | func TestHD44780CursorOff(t *testing.T) { function TestHD44780BlinkOn (line 232) | func TestHD44780BlinkOn(t *testing.T) { function TestHD44780BlinkOff (line 237) | func TestHD44780BlinkOff(t *testing.T) { function TestHD44780ScrollLeft (line 242) | func TestHD44780ScrollLeft(t *testing.T) { function TestHD44780ScrollRight (line 247) | func TestHD44780ScrollRight(t *testing.T) { function TestHD44780LeftToRight (line 252) | func TestHD44780LeftToRight(t *testing.T) { function TestHD44780RightToLeft (line 257) | func TestHD44780RightToLeft(t *testing.T) { function TestHD44780SendCommand (line 262) | func TestHD44780SendCommand(t *testing.T) { function TestHD44780WriteChar (line 267) | func TestHD44780WriteChar(t *testing.T) { function TestHD44780CreateChar (line 272) | func TestHD44780CreateChar(t *testing.T) { function TestHD44780CreateCharError (line 278) | func TestHD44780CreateCharError(t *testing.T) { FILE: drivers/gpio/helpers_test.go type gpioTestBareAdaptor (line 10) | type gpioTestBareAdaptor struct method Connect (line 12) | func (t *gpioTestBareAdaptor) Connect() error { return nil } method Finalize (line 13) | func (t *gpioTestBareAdaptor) Finalize() error { return nil } method Name (line 14) | func (t *gpioTestBareAdaptor) Name() string { return "" } method SetName (line 15) | func (t *gpioTestBareAdaptor) SetName(n string) {} type digitalPinMock (line 17) | type digitalPinMock struct method ApplyOptions (line 109) | func (d *digitalPinMock) ApplyOptions(options ...func(gobot.DigitalPin... method Export (line 114) | func (d *digitalPinMock) Export() error { method Unexport (line 119) | func (d *digitalPinMock) Unexport() error { method Read (line 124) | func (d *digitalPinMock) Read() (int, error) { method Write (line 129) | func (d *digitalPinMock) Write(b int) error { type gpioTestWritten (line 21) | type gpioTestWritten struct type gpioTestAdaptor (line 26) | type gpioTestAdaptor struct method DigitalRead (line 62) | func (t *gpioTestAdaptor) DigitalRead(pin string) (int, error) { method DigitalWrite (line 69) | func (t *gpioTestAdaptor) DigitalWrite(pin string, val byte) error { method PwmWrite (line 81) | func (t *gpioTestAdaptor) PwmWrite(pin string, val byte) error { method ServoWrite (line 88) | func (t *gpioTestAdaptor) ServoWrite(pin string, val byte) error { method Connect (line 94) | func (t *gpioTestAdaptor) Connect() error { return nil } method Finalize (line 95) | func (t *gpioTestAdaptor) Finalize() error { return nil } method Name (line 96) | func (t *gpioTestAdaptor) Name() string { return t.name } method SetName (line 97) | func (t *gpioTestAdaptor) SetName(n string) { t.name = n } method Port (line 98) | func (t *gpioTestAdaptor) Port() string { return t.port } method DigitalPin (line 101) | func (t *gpioTestAdaptor) DigitalPin(id string) (gobot.DigitalPinner, ... method addDigitalPin (line 133) | func (t *gpioTestAdaptor) addDigitalPin(id string) *digitalPinMock { function newGpioTestAdaptor (line 39) | func newGpioTestAdaptor() *gpioTestAdaptor { FILE: drivers/gpio/led_driver.go type LedDriver (line 8) | type LedDriver struct method State (line 53) | func (d *LedDriver) State() bool { method On (line 58) | func (d *LedDriver) On() error { method Off (line 67) | func (d *LedDriver) Off() error { method Toggle (line 76) | func (d *LedDriver) Toggle() error { method Brightness (line 84) | func (d *LedDriver) Brightness(level byte) error { function NewLedDriver (line 26) | func NewLedDriver(a DigitalWriter, pin string, opts ...interface{}) *Led... FILE: drivers/gpio/led_driver_test.go function initTestLedDriver (line 18) | func initTestLedDriver() *LedDriver { function TestNewLedDriver (line 29) | func TestNewLedDriver(t *testing.T) { function TestNewLedDriver_options (line 49) | func TestNewLedDriver_options(t *testing.T) { function TestLed_Commands (line 67) | func TestLed_Commands(t *testing.T) { function TestLedToggle (line 92) | func TestLedToggle(t *testing.T) { function TestLedBrightness (line 101) | func TestLedBrightness(t *testing.T) { FILE: drivers/gpio/max7219_driver.go constant MAX7219Digit0 (line 11) | MAX7219Digit0 = 0x01 constant MAX7219Digit1 (line 12) | MAX7219Digit1 = 0x02 constant MAX7219Digit2 (line 13) | MAX7219Digit2 = 0x03 constant MAX7219Digit3 (line 14) | MAX7219Digit3 = 0x04 constant MAX7219Digit4 (line 15) | MAX7219Digit4 = 0x05 constant MAX7219Digit5 (line 16) | MAX7219Digit5 = 0x06 constant MAX7219Digit6 (line 17) | MAX7219Digit6 = 0x07 constant MAX7219Digit7 (line 18) | MAX7219Digit7 = 0x08 constant MAX7219DecodeMode (line 20) | MAX7219DecodeMode = 0x09 constant MAX7219Intensity (line 21) | MAX7219Intensity = 0x0a constant MAX7219ScanLimit (line 22) | MAX7219ScanLimit = 0x0b constant MAX7219Shutdown (line 23) | MAX7219Shutdown = 0x0c constant MAX7219DisplayTest (line 24) | MAX7219DisplayTest = 0x0f type MAX7219Driver (line 30) | type MAX7219Driver struct method SetIntensity (line 65) | func (d *MAX7219Driver) SetIntensity(level byte) error { method ClearAll (line 73) | func (d *MAX7219Driver) ClearAll() error { method ClearOne (line 85) | func (d *MAX7219Driver) ClearOne(which uint) error { method All (line 97) | func (d *MAX7219Driver) All(address byte, data byte) error { method One (line 114) | func (d *MAX7219Driver) One(which uint, address byte, data byte) error { method initialize (line 140) | func (d *MAX7219Driver) initialize() error { method send (line 170) | func (d *MAX7219Driver) send(data byte) error { function NewMAX7219Driver (line 44) | func NewMAX7219Driver( FILE: drivers/gpio/max7219_driver_test.go function initTestMAX7219Driver (line 16) | func initTestMAX7219Driver() *MAX7219Driver { function initTestMAX7219DriverWithStubbedAdaptor (line 21) | func initTestMAX7219DriverWithStubbedAdaptor() (*MAX7219Driver, *gpioTes... function TestNewMAX7219Driver (line 26) | func TestNewMAX7219Driver(t *testing.T) { function TestNewMAX7219Driver_options (line 48) | func TestNewMAX7219Driver_options(t *testing.T) { function TestMAX7219Start (line 67) | func TestMAX7219Start(t *testing.T) { FILE: drivers/gpio/motor_driver.go type motorOptionApplier (line 10) | type motorOptionApplier interface type motorConfiguration (line 15) | type motorConfiguration struct type motorModeIsAnalogOption (line 23) | type motorModeIsAnalogOption method String (line 275) | func (o motorModeIsAnalogOption) String() string { method apply (line 291) | func (o motorModeIsAnalogOption) apply(cfg *motorConfiguration) { type motorDirectionPinOption (line 26) | type motorDirectionPinOption method String (line 279) | func (o motorDirectionPinOption) String() string { method apply (line 295) | func (o motorDirectionPinOption) apply(cfg *motorConfiguration) { type motorForwardPinOption (line 29) | type motorForwardPinOption method String (line 283) | func (o motorForwardPinOption) String() string { method apply (line 299) | func (o motorForwardPinOption) apply(cfg *motorConfiguration) { type motorBackwardPinOption (line 32) | type motorBackwardPinOption method String (line 287) | func (o motorBackwardPinOption) String() string { method apply (line 303) | func (o motorBackwardPinOption) apply(cfg *motorConfiguration) { type MotorDriver (line 35) | type MotorDriver struct method Off (line 101) | func (d *MotorDriver) Off() error { method On (line 110) | func (d *MotorDriver) On() error { method RunMin (line 123) | func (d *MotorDriver) RunMin() error { method RunMax (line 128) | func (d *MotorDriver) RunMax() error { method Toggle (line 133) | func (d *MotorDriver) Toggle() error { method SetSpeed (line 142) | func (d *MotorDriver) SetSpeed(value byte) error { method Forward (line 152) | func (d *MotorDriver) Forward(speed byte) error { method Backward (line 164) | func (d *MotorDriver) Backward(speed byte) error { method SetDirection (line 176) | func (d *MotorDriver) SetDirection(direction string) error { method IsAnalog (line 215) | func (d *MotorDriver) IsAnalog() bool { method IsDigital (line 220) | func (d *MotorDriver) IsDigital() bool { method IsOn (line 225) | func (d *MotorDriver) IsOn() bool { method IsOff (line 233) | func (d *MotorDriver) IsOff() bool { method Direction (line 238) | func (d *MotorDriver) Direction() string { method Speed (line 243) | func (d *MotorDriver) Speed() byte { method changeState (line 247) | func (d *MotorDriver) changeState(state byte) error { function NewMotorDriver (line 58) | func NewMotorDriver(a DigitalWriter, speedPin string, opts ...interface{... function WithMotorAnalog (line 81) | func WithMotorAnalog() motorOptionApplier { function WithMotorDirectionPin (line 86) | func WithMotorDirectionPin(pin string) motorOptionApplier { function WithMotorForwardPin (line 91) | func WithMotorForwardPin(pin string) motorOptionApplier { function WithMotorBackwardPin (line 96) | func WithMotorBackwardPin(pin string) motorOptionApplier { FILE: drivers/gpio/motor_driver_test.go function initTestMotorDriver (line 16) | func initTestMotorDriver() *MotorDriver { function TestMotorDriver (line 20) | func TestMotorDriver(t *testing.T) { function TestNewMotorDriver (line 25) | func TestNewMotorDriver(t *testing.T) { function TestNewMotorDriver_options (line 51) | func TestNewMotorDriver_options(t *testing.T) { function TestMotor_WithMotorDirectionPin (line 70) | func TestMotor_WithMotorDirectionPin(t *testing.T) { function TestMotor_WithMotorForwardPin (line 80) | func TestMotor_WithMotorForwardPin(t *testing.T) { function TestMotor_WithMotorBackwardPin (line 90) | func TestMotor_WithMotorBackwardPin(t *testing.T) { function TestMotorIsOn (line 100) | func TestMotorIsOn(t *testing.T) { function TestMotorIsOff (line 112) | func TestMotorIsOff(t *testing.T) { function TestMotorOn (line 118) | func TestMotorOn(t *testing.T) { function TestMotorOff (line 131) | func TestMotorOff(t *testing.T) { function TestMotorToggle (line 144) | func TestMotorToggle(t *testing.T) { function TestMotorRunMin (line 153) | func TestMotorRunMin(t *testing.T) { function TestMotorRunMax (line 158) | func TestMotorRunMax(t *testing.T) { function TestMotorSetSpeed (line 163) | func TestMotorSetSpeed(t *testing.T) { function TestMotorForward (line 168) | func TestMotorForward(t *testing.T) { function TestMotorBackward (line 175) | func TestMotorBackward(t *testing.T) { function TestMotorSetDirection (line 182) | func TestMotorSetDirection(t *testing.T) { function TestMotorDigital (line 190) | func TestMotorDigital(t *testing.T) { FILE: drivers/gpio/pir_motion_driver.go type pirMotionOptionApplier (line 11) | type pirMotionOptionApplier interface type pirMotionConfiguration (line 16) | type pirMotionConfiguration struct type pirMotionReadIntervalOption (line 21) | type pirMotionReadIntervalOption method String (line 155) | func (o pirMotionReadIntervalOption) String() string { method apply (line 159) | func (o pirMotionReadIntervalOption) apply(cfg *pirMotionConfiguration) { type PIRMotionDriver (line 28) | type PIRMotionDriver struct method Active (line 76) | func (d *PIRMotionDriver) Active() bool { method initialize (line 96) | func (d *PIRMotionDriver) initialize() error { method shutdown (line 126) | func (d *PIRMotionDriver) shutdown() error { method update (line 136) | func (d *PIRMotionDriver) update(newValue int) { function NewPIRMotionDriver (line 44) | func NewPIRMotionDriver(a DigitalReader, pin string, opts ...interface{}... function WithPIRMotionPollInterval (line 71) | func WithPIRMotionPollInterval(interval time.Duration) pirMotionOptionAp... FILE: drivers/gpio/pir_motion_driver_test.go constant motionTestDelay (line 19) | motionTestDelay = 150 function initTestPIRMotionDriverWithStubbedAdaptor (line 21) | func initTestPIRMotionDriverWithStubbedAdaptor() (*PIRMotionDriver, *gpi... function TestNewPIRMotionDriver (line 27) | func TestNewPIRMotionDriver(t *testing.T) { function TestNewPIRMotionDriver_options (line 50) | func TestNewPIRMotionDriver_options(t *testing.T) { function TestPIRMotionStart (line 71) | func TestPIRMotionStart(t *testing.T) { function TestPIRMotionHalt (line 146) | func TestPIRMotionHalt(t *testing.T) { function TestPIRMotionActive (line 166) | func TestPIRMotionActive(t *testing.T) { FILE: drivers/gpio/relay_driver.go type relayOptionApplier (line 10) | type relayOptionApplier interface type relayConfiguration (line 15) | type relayConfiguration struct type relayInvertedOption (line 20) | type relayInvertedOption method String (line 132) | func (o relayInvertedOption) String() string { method apply (line 136) | func (o relayInvertedOption) apply(cfg *relayConfiguration) { type RelayDriver (line 23) | type RelayDriver struct method State (line 81) | func (d *RelayDriver) State() bool { method On (line 89) | func (d *RelayDriver) On() error { method Off (line 104) | func (d *RelayDriver) Off() error { method Toggle (line 119) | func (d *RelayDriver) Toggle() error { method IsInverted (line 128) | func (d *RelayDriver) IsInverted() bool { function NewRelayDriver (line 42) | func NewRelayDriver(a DigitalWriter, pin string, opts ...interface{}) *R... function WithRelayInverted (line 76) | func WithRelayInverted() relayOptionApplier { FILE: drivers/gpio/relay_driver_test.go method High (line 17) | func (l *RelayDriver) High() bool { return l.high } function initTestRelayDriver (line 19) | func initTestRelayDriver() (*RelayDriver, *gpioTestAdaptor) { function TestNewRelayDriver (line 30) | func TestNewRelayDriver(t *testing.T) { function TestNewRelayDriver_options (line 51) | func TestNewRelayDriver_options(t *testing.T) { function TestRelayToggle (line 70) | func TestRelayToggle(t *testing.T) { function TestRelayToggleInverted (line 89) | func TestRelayToggleInverted(t *testing.T) { function TestRelay_Commands (line 109) | func TestRelay_Commands(t *testing.T) { function TestRelay_CommandsInverted (line 130) | func TestRelay_CommandsInverted(t *testing.T) { FILE: drivers/gpio/rgb_led_driver.go type RgbLedDriver (line 8) | type RgbLedDriver struct method Pin (line 65) | func (d *RgbLedDriver) Pin() string { method RedPin (line 70) | func (d *RgbLedDriver) RedPin() string { return d.pinRed } method GreenPin (line 73) | func (d *RgbLedDriver) GreenPin() string { return d.pinGreen } method BluePin (line 76) | func (d *RgbLedDriver) BluePin() string { return d.pinBlue } method State (line 79) | func (d *RgbLedDriver) State() bool { method On (line 84) | func (d *RgbLedDriver) On() error { method Off (line 102) | func (d *RgbLedDriver) Off() error { method Toggle (line 120) | func (d *RgbLedDriver) Toggle() error { method SetLevel (line 129) | func (d *RgbLedDriver) SetLevel(pin string, level byte) error { method SetRGB (line 134) | func (d *RgbLedDriver) SetRGB(r, g, b byte) error { function NewRgbLedDriver (line 32) | func NewRgbLedDriver(a PwmWriter, redPin string, greenPin string, bluePi... FILE: drivers/gpio/rgb_led_driver_test.go function initTestRgbLedDriver (line 18) | func initTestRgbLedDriver() *RgbLedDriver { function TestNewRgbLedDriver (line 29) | func TestNewRgbLedDriver(t *testing.T) { function TestNewRgbLedDriver_options (line 55) | func TestNewRgbLedDriver_options(t *testing.T) { function TestRgbLed_Commands (line 74) | func TestRgbLed_Commands(t *testing.T) { function TestRgbLedDriverToggle (line 100) | func TestRgbLedDriverToggle(t *testing.T) { function TestRgbLedSetLevel (line 109) | func TestRgbLedSetLevel(t *testing.T) { FILE: drivers/gpio/servo_driver.go type ServoDriver (line 10) | type ServoDriver struct method Move (line 53) | func (d *ServoDriver) Move(angle uint8) error { method ToMin (line 62) | func (d *ServoDriver) ToMin() error { method ToCenter (line 67) | func (d *ServoDriver) ToCenter() error { method ToMax (line 72) | func (d *ServoDriver) ToMax() error { method Angle (line 77) | func (d *ServoDriver) Angle() uint8 { function NewServoDriver (line 28) | func NewServoDriver(a ServoWriter, pin string, opts ...interface{}) *Ser... FILE: drivers/gpio/servo_driver_test.go function initTestServoDriver (line 18) | func initTestServoDriver() *ServoDriver { function TestNewServoDriver (line 22) | func TestNewServoDriver(t *testing.T) { function TestNewServoDriver_options (line 42) | func TestNewServoDriver_options(t *testing.T) { function TestServo_Commands (line 61) | func TestServo_Commands(t *testing.T) { function TestServoMove (line 84) | func TestServoMove(t *testing.T) { function TestServoMin (line 92) | func TestServoMin(t *testing.T) { function TestServoMax (line 99) | func TestServoMax(t *testing.T) { function TestServoCenter (line 105) | func TestServoCenter(t *testing.T) { FILE: drivers/gpio/stepper_driver.go constant stepperDriverDebug (line 18) | stepperDriverDebug = false constant StepperDriverForward (line 21) | StepperDriverForward = "forward" constant StepperDriverBackward (line 23) | StepperDriverBackward = "backward" type phase (line 26) | type phase type StepperDriver (line 62) | type StepperDriver struct method Move (line 150) | func (d *StepperDriver) Move(stepsToMove int) error { method MoveDeg (line 166) | func (d *StepperDriver) MoveDeg(degs int) error { method Run (line 184) | func (d *StepperDriver) Run() error { method IsMoving (line 192) | func (d *StepperDriver) IsMoving() bool { method Stop (line 197) | func (d *StepperDriver) Stop() error { method Sleep (line 209) | func (d *StepperDriver) Sleep() error { method SetDirection (line 215) | func (d *StepperDriver) SetDirection(direction string) error { method MaxSpeed (line 239) | func (d *StepperDriver) MaxSpeed() uint { method SetSpeed (line 246) | func (d *StepperDriver) SetSpeed(rpm uint) error { method CurrentStep (line 267) | func (d *StepperDriver) CurrentStep() int { method SetHaltIfRunning (line 277) | func (d *StepperDriver) SetHaltIfRunning(val bool) { method shutdown (line 282) | func (d *StepperDriver) shutdown() error { method stepAsynch (line 287) | func (d *StepperDriver) stepAsynch(stepsToMove float64) error { method getDelayPerStep (line 431) | func (d *StepperDriver) getDelayPerStep() time.Duration { method phasedStepping (line 439) | func (d *StepperDriver) phasedStepping() error { method sleepOuputs (line 473) | func (d *StepperDriver) sleepOuputs() error { method stopIfRunning (line 483) | func (d *StepperDriver) stopIfRunning() error { method debug (line 495) | func (d *StepperDriver) debug(text string) { function NewStepperDriver (line 91) | func NewStepperDriver( FILE: drivers/gpio/stepper_driver_test.go function initTestStepperDriverWithStubbedAdaptor (line 16) | func initTestStepperDriverWithStubbedAdaptor() (*StepperDriver, *gpioTes... function TestNewStepperDriver (line 24) | func TestNewStepperDriver(t *testing.T) { function TestNewStepperDriver_options (line 48) | func TestNewStepperDriver_options(t *testing.T) { function TestStepperMove_IsMoving (line 68) | func TestStepperMove_IsMoving(t *testing.T) { function TestStepperRun_IsMoving (line 179) | func TestStepperRun_IsMoving(t *testing.T) { function TestStepperStop_IsMoving (line 267) | func TestStepperStop_IsMoving(t *testing.T) { function TestStepperHalt_IsMoving (line 301) | func TestStepperHalt_IsMoving(t *testing.T) { function TestStepperSetDirection (line 329) | func TestStepperSetDirection(t *testing.T) { function TestStepperMaxSpeed (line 367) | func TestStepperMaxSpeed(t *testing.T) { function TestStepperSetSpeed (line 410) | func TestStepperSetSpeed(t *testing.T) { FILE: drivers/gpio/tm1638_driver.go constant TM1638None (line 12) | TM1638None = iota constant TM1638Red (line 13) | TM1638Red constant TM1638Green (line 14) | TM1638Green constant TM1638DataCmd (line 19) | TM1638DataCmd = 0x40 constant TM1638DispCtrl (line 20) | TM1638DispCtrl = 0x80 constant TM1638AddrCmd (line 21) | TM1638AddrCmd = 0xC0 constant TM1638WriteDisp (line 23) | TM1638WriteDisp = 0x00 constant TM1638ReadKeys (line 24) | TM1638ReadKeys = 0x02 constant TM1638FixedAddr (line 25) | TM1638FixedAddr = 0x04 type TM1638Driver (line 35) | type TM1638Driver struct method SetLED (line 65) | func (d *TM1638Driver) SetLED(color byte, pos byte) error { method SetDisplay (line 73) | func (d *TM1638Driver) SetDisplay(data []byte) error { method SetDisplayText (line 84) | func (d *TM1638Driver) SetDisplayText(text string) error { method SendChar (line 96) | func (d *TM1638Driver) SendChar(pos byte, data byte, dot bool) error { method AddFonts (line 108) | func (d *TM1638Driver) AddFonts(fonts map[string]byte) { method ClearFonts (line 115) | func (d *TM1638Driver) ClearFonts() { method initialize (line 120) | func (d *TM1638Driver) initialize() error { method fromStringToByteArray (line 151) | func (d *TM1638Driver) fromStringToByteArray(str string) []byte { method sendData (line 164) | func (d *TM1638Driver) sendData(address byte, data byte) error { method sendCommand (line 181) | func (d *TM1638Driver) sendCommand(cmd byte) error { method send (line 192) | func (d *TM1638Driver) send(data byte) error { function NewTM1638Driver (line 49) | func NewTM1638Driver(a gobot.Connection, clockPin, dataPin, strobePin st... function NewTM1638Fonts (line 218) | func NewTM1638Fonts() map[string]byte { FILE: drivers/gpio/tm1638_driver_test.go function initTestTM1638Driver (line 16) | func initTestTM1638Driver() *TM1638Driver { function initTestTM1638DriverWithStubbedAdaptor (line 21) | func initTestTM1638DriverWithStubbedAdaptor() (*TM1638Driver, *gpioTestA... function TestNewTM1638Driver (line 26) | func TestNewTM1638Driver(t *testing.T) { function TestNewTM1638Driver_options (line 48) | func TestNewTM1638Driver_options(t *testing.T) { function TestTM1638Start (line 67) | func TestTM1638Start(t *testing.T) { function TestTM1638FromStringToByteArray (line 74) | func TestTM1638FromStringToByteArray(t *testing.T) { function TestTM1638AddFonts (line 80) | func TestTM1638AddFonts(t *testing.T) { function TestTM1638ClearFonts (line 87) | func TestTM1638ClearFonts(t *testing.T) { FILE: drivers/i2c/adafruit1109_driver.go constant adafruit1109Debug (line 12) | adafruit1109Debug = false type adafruit1109PortPin (line 14) | type adafruit1109PortPin struct method String (line 291) | func (ap *adafruit1109PortPin) String() string { type Adafruit1109Driver (line 24) | type Adafruit1109Driver struct method Connect (line 97) | func (d *Adafruit1109Driver) Connect() error { return nil } method Finalize (line 101) | func (d *Adafruit1109Driver) Finalize() error { return nil } method Name (line 104) | func (d *Adafruit1109Driver) Name() string { method SetName (line 109) | func (d *Adafruit1109Driver) SetName(n string) { d.name = n } method Connection (line 112) | func (d *Adafruit1109Driver) Connection() gobot.Connection { return d.... method Start (line 115) | func (d *Adafruit1109Driver) Start() error { method Halt (line 166) | func (d *Adafruit1109Driver) Halt() error { method DigitalWrite (line 206) | func (d *Adafruit1109Driver) DigitalWrite(id string, val byte) error { method DigitalRead (line 214) | func (d *Adafruit1109Driver) DigitalRead(id string) (int, error) { method SetRGB (line 225) | func (d *Adafruit1109Driver) SetRGB(r, g, b bool) error { method SelectButton (line 259) | func (d *Adafruit1109Driver) SelectButton() (uint8, error) { method UpButton (line 264) | func (d *Adafruit1109Driver) UpButton() (uint8, error) { method DownButton (line 269) | func (d *Adafruit1109Driver) DownButton() (uint8, error) { method LeftButton (line 274) | func (d *Adafruit1109Driver) LeftButton() (uint8, error) { method RightButton (line 279) | func (d *Adafruit1109Driver) RightButton() (uint8, error) { method writePin (line 283) | func (d *Adafruit1109Driver) writePin(ap adafruit1109PortPin, val uint... method readPin (line 287) | func (d *Adafruit1109Driver) readPin(ap adafruit1109PortPin) (uint8, e... method adafruit1109InitButton (line 304) | func (d *Adafruit1109Driver) adafruit1109InitButton(p adafruit1109Port... method debuglnf (line 320) | func (d *Adafruit1109Driver) debuglnf(format string, p ...interface{}) { function NewAdafruit1109Driver (line 53) | func NewAdafruit1109Driver(a Connector, options ...func(Config)) *Adafru... function adafruit1109ParseID (line 295) | func adafruit1109ParseID(id string) adafruit1109PortPin { FILE: drivers/i2c/adafruit1109_driver_test.go function initTestAdafruit1109WithStubbedAdaptor (line 17) | func initTestAdafruit1109WithStubbedAdaptor() (*Adafruit1109Driver, *i2c... function TestNewAdafruit1109Driver (line 22) | func TestNewAdafruit1109Driver(t *testing.T) { function TestAdafruit1109Connect (line 52) | func TestAdafruit1109Connect(t *testing.T) { function TestAdafruit1109Finalize (line 57) | func TestAdafruit1109Finalize(t *testing.T) { function TestAdafruit1109SetName (line 62) | func TestAdafruit1109SetName(t *testing.T) { function TestAdafruit1109Start (line 68) | func TestAdafruit1109Start(t *testing.T) { function TestAdafruit1109StartWriteErr (line 73) | func TestAdafruit1109StartWriteErr(t *testing.T) { function TestAdafruit1109StartReadErr (line 81) | func TestAdafruit1109StartReadErr(t *testing.T) { function TestAdafruit1109Halt (line 89) | func TestAdafruit1109Halt(t *testing.T) { function TestAdafruit1109DigitalRead (line 96) | func TestAdafruit1109DigitalRead(t *testing.T) { function TestAdafruit1109SelectButton (line 143) | func TestAdafruit1109SelectButton(t *testing.T) { function TestAdafruit1109UpButton (line 173) | func TestAdafruit1109UpButton(t *testing.T) { function TestAdafruit1109DownButton (line 203) | func TestAdafruit1109DownButton(t *testing.T) { function TestAdafruit1109LeftButton (line 233) | func TestAdafruit1109LeftButton(t *testing.T) { function TestAdafruit1109RightButton (line 263) | func TestAdafruit1109RightButton(t *testing.T) { function TestAdafruit1109_parseID (line 293) | func TestAdafruit1109_parseID(t *testing.T) { FILE: drivers/i2c/adafruit2327_driver.go type Adafruit2327Driver (line 12) | type Adafruit2327Driver struct method SetServoMotorFreq (line 37) | func (d *Adafruit2327Driver) SetServoMotorFreq(freq float64) error { method SetServoMotorPulse (line 43) | func (d *Adafruit2327Driver) SetServoMotorPulse(channel byte, on, off ... function NewAdafruit2327Driver (line 25) | func NewAdafruit2327Driver(c Connector, options ...func(Config)) *Adafru... FILE: drivers/i2c/adafruit2327_driver_test.go function initTestAdafruit2327WithStubbedAdaptor (line 17) | func initTestAdafruit2327WithStubbedAdaptor() (*Adafruit2327Driver, *i2c... function TestNewAdafruit2327Driver (line 26) | func TestNewAdafruit2327Driver(t *testing.T) { function TestAdafruit2327Halt (line 35) | func TestAdafruit2327Halt(t *testing.T) { function TestAdafruit2327Options (line 44) | func TestAdafruit2327Options(t *testing.T) { function TestAdafruit2327SetServoMotorFreq (line 53) | func TestAdafruit2327SetServoMotorFreq(t *testing.T) { function TestAdafruit2327SetServoMotorFreqError (line 65) | func TestAdafruit2327SetServoMotorFreqError(t *testing.T) { function TestAdafruit2327SetServoMotorPulse (line 76) | func TestAdafruit2327SetServoMotorPulse(t *testing.T) { function TestAdafruit2327SetServoMotorPulseError (line 92) | func TestAdafruit2327SetServoMotorPulseError(t *testing.T) { FILE: drivers/i2c/adafruit2348_driver.go constant adafruit2348Debug (line 12) | adafruit2348Debug = false constant adafruit2348MotorHatDefaultAddress (line 15) | adafruit2348MotorHatDefaultAddress = 0x60 constant adafruit2348StepperMicrosteps (line 16) | adafruit2348StepperMicrosteps = 8 type Adafruit2348Direction (line 20) | type Adafruit2348Direction type Adafruit2348StepStyle (line 23) | type Adafruit2348StepStyle constant Adafruit2348Forward (line 27) | Adafruit2348Forward Adafruit2348Direction = iota constant Adafruit2348Backward (line 28) | Adafruit2348Backward constant Adafruit2348Release (line 29) | Adafruit2348Release constant Adafruit2348Single (line 34) | Adafruit2348Single Adafruit2348StepStyle = iota constant Adafruit2348Double (line 35) | Adafruit2348Double constant Adafruit2348Interleave (line 36) | Adafruit2348Interleave constant Adafruit2348Microstep (line 37) | Adafruit2348Microstep type adafruit2348DCMotor (line 40) | type adafruit2348DCMotor struct type adafruit2348StepperMotor (line 44) | type adafruit2348StepperMotor struct type Adafruit2348Driver (line 58) | type Adafruit2348Driver struct method SetDCMotorSpeed (line 128) | func (d *Adafruit2348Driver) SetDCMotorSpeed(dcMotor int, speed int32)... method RunDCMotor (line 133) | func (d *Adafruit2348Driver) RunDCMotor(dcMotor int, dir Adafruit2348D... method SetStepperMotorSpeed (line 161) | func (d *Adafruit2348Driver) SetStepperMotorSpeed(stepperMotor int, rp... method Step (line 171) | func (d *Adafruit2348Driver) Step(motor, steps int, dir Adafruit2348Di... method oneStep (line 207) | func (d *Adafruit2348Driver) oneStep(motor int, dir Adafruit2348Direct... method setPin (line 330) | func (d *Adafruit2348Driver) setPin(pin byte, value int32) error { function NewAdafruit2348Driver (line 77) | func NewAdafruit2348Driver(c Connector, options ...func(Config)) *Adafru... FILE: drivers/i2c/adafruit2348_driver_test.go function initTestAdafruit2348WithStubbedAdaptor (line 17) | func initTestAdafruit2348WithStubbedAdaptor() (*Adafruit2348Driver, *i2c... function TestNewAdafruit2348Driver (line 26) | func TestNewAdafruit2348Driver(t *testing.T) { function TestAdafruit2348Halt (line 36) | func TestAdafruit2348Halt(t *testing.T) { function TestAdafruit2348Options (line 45) | func TestAdafruit2348Options(t *testing.T) { function TestAdafruit2348SetDCMotorSpeed (line 55) | func TestAdafruit2348SetDCMotorSpeed(t *testing.T) { function TestAdafruit2348SetDCMotorSpeedError (line 70) | func TestAdafruit2348SetDCMotorSpeedError(t *testing.T) { function TestAdafruit2348RunDCMotor (line 80) | func TestAdafruit2348RunDCMotor(t *testing.T) { function TestAdafruit2348RunDCMotorError (line 90) | func TestAdafruit2348RunDCMotorError(t *testing.T) { function TestAdafruit2348SetStepperMotorSpeed (line 103) | func TestAdafruit2348SetStepperMotorSpeed(t *testing.T) { function TestAdafruit2348StepperSingleStep (line 115) | func TestAdafruit2348StepperSingleStep(t *testing.T) { function TestAdafruit2348StepperDoubleStep (line 130) | func TestAdafruit2348StepperDoubleStep(t *testing.T) { function TestAdafruit2348StepperInterleaveStep (line 145) | func TestAdafruit2348StepperInterleaveStep(t *testing.T) { function TestAdafruit2348StepperMicroStep (line 160) | func TestAdafruit2348StepperMicroStep(t *testing.T) { FILE: drivers/i2c/ads1x15_driver.go constant ads1x15DefaultAddress (line 12) | ads1x15DefaultAddress = 0x48 constant ads1x15Debug (line 15) | ads1x15Debug = false constant ads1x15WaitMaxCount (line 16) | ads1x15WaitMaxCount = 200 constant ads1x15FullScaleValue (line 17) | ads1x15FullScaleValue = 0x7FFF constant ads1x15PointerConversion (line 22) | ads1x15PointerConversion = 0x00 constant ads1x15PointerConfig (line 23) | ads1x15PointerConfig = 0x01 constant ads1x15PointerLowThreshold (line 24) | ads1x15PointerLowThreshold = 0x02 constant ads1x15PointerHighThreshold (line 25) | ads1x15PointerHighThreshold = 0x03 constant ads1x15ConfigCompQueDisable (line 28) | ads1x15ConfigCompQueDisable = 0x0003 constant ads1x15ConfigCompLatching (line 29) | ads1x15ConfigCompLatching = 0x0004 constant ads1x15ConfigCompActiveHigh (line 30) | ads1x15ConfigCompActiveHigh = 0x0008 constant ads1x15ConfigCompWindow (line 31) | ads1x15ConfigCompWindow = 0x0010 constant ads1x15ConfigModeContinuous (line 33) | ads1x15ConfigModeContinuous = 0x0000 constant ads1x15ConfigModeSingle (line 34) | ads1x15ConfigModeSingle = 0x0100 constant ads1x15ConfigOsSingle (line 35) | ads1x15ConfigOsSingle = 0x8000 constant ads1x15ConfigMuxOffset (line 36) | ads1x15ConfigMuxOffset = 12 constant ads1x15ConfigPgaOffset (line 37) | ads1x15ConfigPgaOffset = 9 type ads1x15ChanCfg (line 40) | type ads1x15ChanCfg struct type ADS1x15Driver (line 52) | type ADS1x15Driver struct method ReadDifferenceWithDefaults (line 290) | func (d *ADS1x15Driver) ReadDifferenceWithDefaults(diff int) (float64,... method ReadDifference (line 306) | func (d *ADS1x15Driver) ReadDifference(diff int, gain int, dataRate in... method ReadWithDefaults (line 318) | func (d *ADS1x15Driver) ReadWithDefaults(channel int) (float64, error) { method Read (line 329) | func (d *ADS1x15Driver) Read(channel int, gain int, dataRate int) (flo... method AnalogRead (line 340) | func (d *ADS1x15Driver) AnalogRead(pin string) (int, error) { method readVoltage (line 374) | func (d *ADS1x15Driver) readVoltage(channel int, channelOffset int, ga... method rawRead (line 388) | func (d *ADS1x15Driver) rawRead(channel int, channelOffset int, gain i... method checkChannel (line 437) | func (d *ADS1x15Driver) checkChannel(channel int) error { method waitForConversionFinished (line 444) | func (d *ADS1x15Driver) waitForConversionFinished(delay time.Duration)... method writeWordBigEndian (line 478) | func (d *ADS1x15Driver) writeWordBigEndian(reg uint8, val uint16) error { method readWordBigEndian (line 482) | func (d *ADS1x15Driver) readWordBigEndian(reg uint8) (uint16, error) { method setChannelDataRates (line 490) | func (d *ADS1x15Driver) setChannelDataRates(ddr int) { method setChannelGains (line 496) | func (d *ADS1x15Driver) setChannelGains(gain int) { function NewADS1015Driver (line 72) | func NewADS1015Driver(a Connector, options ...func(Config)) *ADS1x15Driv... function NewADS1115Driver (line 88) | func NewADS1115Driver(a Connector, options ...func(Config)) *ADS1x15Driv... function newADS1x15Driver (line 104) | func newADS1x15Driver(c Connector, name string, drs map[int]uint16, ddr ... function WithADS1x15BestGainForVoltage (line 159) | func WithADS1x15BestGainForVoltage(voltage float64) func(Config) { function WithADS1x15ChannelBestGainForVoltage (line 176) | func WithADS1x15ChannelBestGainForVoltage(channel int, voltage float64) ... function WithADS1x15Gain (line 194) | func WithADS1x15Gain(val int) func(Config) { function WithADS1x15ChannelGain (line 211) | func WithADS1x15ChannelGain(channel int, val int) func(Config) { function WithADS1x15DataRate (line 231) | func WithADS1x15DataRate(val int) func(Config) { function WithADS1x15ChannelDataRate (line 248) | func WithADS1x15ChannelDataRate(channel int, val int) func(Config) { function WithADS1x15WaitSingleCycle (line 273) | func WithADS1x15WaitSingleCycle() func(Config) { function ads1x15GetFullScaleRange (line 502) | func ads1x15GetFullScaleRange(gain int) (float64, error) { function ads1x15GetDataRateBits (line 516) | func ads1x15GetDataRateBits(dataRates map[int]uint16, dataRate int) (uin... function ads1x15BestGainForVoltage (line 531) | func ads1x15BestGainForVoltage(voltage float64) (int, error) { FILE: drivers/i2c/ads1x15_driver_1015_test.go function initTestADS1015DriverWithStubbedAdaptor (line 12) | func initTestADS1015DriverWithStubbedAdaptor() (*ADS1x15Driver, *i2cTest... function TestNewADS1015Driver (line 21) | func TestNewADS1015Driver(t *testing.T) { function TestADS1015Halt (line 35) | func TestADS1015Halt(t *testing.T) { function TestADS1015Options (line 44) | func TestADS1015Options(t *testing.T) { function TestADS1015WithADS1x15BestGainForVoltage (line 55) | func TestADS1015WithADS1x15BestGainForVoltage(t *testing.T) { function TestADS1015WithADS1x15ChannelBestGainForVoltage (line 63) | func TestADS1015WithADS1x15ChannelBestGainForVoltage(t *testing.T) { function TestADS1015AnalogRead (line 75) | func TestADS1015AnalogRead(t *testing.T) { function TestADS1x15AnalogReadError (line 120) | func TestADS1x15AnalogReadError(t *testing.T) { function TestADS1x15AnalogReadInvalidPin (line 131) | func TestADS1x15AnalogReadInvalidPin(t *testing.T) { function TestADS1x15AnalogReadWriteError (line 138) | func TestADS1x15AnalogReadWriteError(t *testing.T) { function TestADS1x15ReadInvalidChannel (line 155) | func TestADS1x15ReadInvalidChannel(t *testing.T) { function TestADS1x15ReadInvalidGain (line 162) | func TestADS1x15ReadInvalidGain(t *testing.T) { function TestADS1x15ReadInvalidDataRate (line 169) | func TestADS1x15ReadInvalidDataRate(t *testing.T) { function TestADS1x15ReadDifferenceInvalidChannel (line 176) | func TestADS1x15ReadDifferenceInvalidChannel(t *testing.T) { function TestADS1015_rawRead (line 183) | func TestADS1015_rawRead(t *testing.T) { FILE: drivers/i2c/ads1x15_driver_1115_test.go function initTestADS1115DriverWithStubbedAdaptor (line 12) | func initTestADS1115DriverWithStubbedAdaptor() (*ADS1x15Driver, *i2cTest... function TestNewADS1115Driver (line 21) | func TestNewADS1115Driver(t *testing.T) { function TestADS1115Halt (line 35) | func TestADS1115Halt(t *testing.T) { function TestADS1115Options (line 44) | func TestADS1115Options(t *testing.T) { function TestADS1115WithADS1x15BestGainForVoltage (line 55) | func TestADS1115WithADS1x15BestGainForVoltage(t *testing.T) { function TestADS1115WithADS1x15ChannelBestGainForVoltage (line 63) | func TestADS1115WithADS1x15ChannelBestGainForVoltage(t *testing.T) { function TestADS1115AnalogRead (line 75) | func TestADS1115AnalogRead(t *testing.T) { function TestADS1115AnalogReadError (line 120) | func TestADS1115AnalogReadError(t *testing.T) { function TestADS1115AnalogReadInvalidPin (line 131) | func TestADS1115AnalogReadInvalidPin(t *testing.T) { function TestADS1115AnalogReadWriteError (line 138) | func TestADS1115AnalogReadWriteError(t *testing.T) { function TestADS1115ReadInvalidChannel (line 155) | func TestADS1115ReadInvalidChannel(t *testing.T) { function TestADS1115ReadInvalidGain (line 162) | func TestADS1115ReadInvalidGain(t *testing.T) { function TestADS1115ReadInvalidDataRate (line 169) | func TestADS1115ReadInvalidDataRate(t *testing.T) { function TestADS1115ReadDifferenceInvalidChannel (line 176) | func TestADS1115ReadDifferenceInvalidChannel(t *testing.T) { function TestADS1115_rawRead (line 183) | func TestADS1115_rawRead(t *testing.T) { FILE: drivers/i2c/ads1x15_driver_test.go function initTestADS1x15DriverWithStubbedAdaptor (line 21) | func initTestADS1x15DriverWithStubbedAdaptor() (*ADS1x15Driver, *i2cTest... function TestADS1x15CommandsReadDifferenceWithDefaults (line 47) | func TestADS1x15CommandsReadDifferenceWithDefaults(t *testing.T) { function TestADS1x15CommandsReadDifference (line 57) | func TestADS1x15CommandsReadDifference(t *testing.T) { function TestADS1x15CommandsReadWithDefaults (line 67) | func TestADS1x15CommandsReadWithDefaults(t *testing.T) { function TestADS1x15CommandsRead (line 77) | func TestADS1x15CommandsRead(t *testing.T) { function TestADS1x15CommandsAnalogRead (line 87) | func TestADS1x15CommandsAnalogRead(t *testing.T) { function TestADS1x15_ads1x15BestGainForVoltage (line 100) | func TestADS1x15_ads1x15BestGainForVoltage(t *testing.T) { FILE: drivers/i2c/adxl345_driver.go constant adxl345Debug (line 8) | adxl345Debug = false constant ADXL345AddressPullUp (line 13) | ADXL345AddressPullUp = 0x1D constant adxl345DefaultAddress (line 14) | adxl345DefaultAddress = 0x53 type ADXL345RateConfig (line 18) | type ADXL345RateConfig type ADXL345FsRangeConfig (line 19) | type ADXL345FsRangeConfig constant adxl345Reg_DEVID (line 24) | adxl345Reg_DEVID = 0x00 constant adxl345Reg_THRESH_TAP (line 25) | adxl345Reg_THRESH_TAP = 0x1D constant adxl345Reg_OFSX (line 26) | adxl345Reg_OFSX = 0x1E constant adxl345Reg_OFSY (line 27) | adxl345Reg_OFSY = 0x1F constant adxl345Reg_OFSZ (line 28) | adxl345Reg_OFSZ = 0x20 constant adxl345Reg_DUR (line 29) | adxl345Reg_DUR = 0x21 constant adxl345Reg_LATENT (line 30) | adxl345Reg_LATENT = 0x22 constant adxl345Reg_WINDOW (line 31) | adxl345Reg_WINDOW = 0x23 constant adxl345Reg_THRESH_ACT (line 32) | adxl345Reg_THRESH_ACT = 0x24 constant adxl345Reg_THRESH_INACT (line 33) | adxl345Reg_THRESH_INACT = 0x25 constant adxl345Reg_TIME_INACT (line 34) | adxl345Reg_TIME_INACT = 0x26 constant adxl345Reg_ACT_INACT_CTL (line 35) | adxl345Reg_ACT_INACT_CTL = 0x27 constant adxl345Reg_THRESH_FF (line 36) | adxl345Reg_THRESH_FF = 0x28 constant adxl345Reg_TIME_FF (line 37) | adxl345Reg_TIME_FF = 0x29 constant adxl345Reg_TAP_AXES (line 38) | adxl345Reg_TAP_AXES = 0x2A constant adxl345Reg_ACT_TAP_STATUS (line 39) | adxl345Reg_ACT_TAP_STATUS = 0x2B constant adxl345Reg_BW_RATE (line 40) | adxl345Reg_BW_RATE = 0x2C constant adxl345Reg_POWER_CTL (line 41) | adxl345Reg_POWER_CTL = 0x2D constant adxl345Reg_INT_ENABLE (line 42) | adxl345Reg_INT_ENABLE = 0x2E constant adxl345Reg_INT_MAP (line 43) | adxl345Reg_INT_MAP = 0x2F constant adxl345Reg_INT_SOUCE (line 44) | adxl345Reg_INT_SOUCE = 0x30 constant adxl345Reg_DATA_FORMAT (line 45) | adxl345Reg_DATA_FORMAT = 0x31 constant adxl345Reg_DATAX0 (line 46) | adxl345Reg_DATAX0 = 0x32 constant adxl345Reg_DATAX1 (line 47) | adxl345Reg_DATAX1 = 0x33 constant adxl345Reg_DATAY0 (line 48) | adxl345Reg_DATAY0 = 0x34 constant adxl345Reg_DATAY1 (line 49) | adxl345Reg_DATAY1 = 0x35 constant adxl345Reg_DATAZ0 (line 50) | adxl345Reg_DATAZ0 = 0x36 constant adxl345Reg_DATAZ1 (line 51) | adxl345Reg_DATAZ1 = 0x37 constant adxl345Reg_FIFO_CTL (line 52) | adxl345Reg_FIFO_CTL = 0x38 constant adxl345Reg_FIFO_STATUS (line 53) | adxl345Reg_FIFO_STATUS = 0x39 constant adxl345Rate_LowPowerBit (line 55) | adxl345Rate_LowPowerBit = 0x10 constant ADXL345Rate_100mHZ (line 57) | ADXL345Rate_100mHZ ADXL345RateConfig = 0x00 constant ADXL345Rate_200mHZ (line 58) | ADXL345Rate_200mHZ ADXL345RateConfig = 0x01 constant ADXL345Rate_390mHZ (line 59) | ADXL345Rate_390mHZ ADXL345RateConfig = 0x02 constant ADXL345Rate_780mHZ (line 60) | ADXL345Rate_780mHZ ADXL345RateConfig = 0x03 constant ADXL345Rate_1560mHZ (line 61) | ADXL345Rate_1560mHZ ADXL345RateConfig = 0x04 constant ADXL345Rate_3130mHZ (line 62) | ADXL345Rate_3130mHZ ADXL345RateConfig = 0x05 constant ADXL345Rate_6250mHZ (line 63) | ADXL345Rate_6250mHZ ADXL345RateConfig = 0x06 constant ADXL345Rate_12500mHZ (line 64) | ADXL345Rate_12500mHZ ADXL345RateConfig = 0x07 constant ADXL345Rate_25HZ (line 65) | ADXL345Rate_25HZ ADXL345RateConfig = 0x08 constant ADXL345Rate_50HZ (line 66) | ADXL345Rate_50HZ ADXL345RateConfig = 0x09 constant ADXL345Rate_100HZ (line 67) | ADXL345Rate_100HZ ADXL345RateConfig = 0x0A constant ADXL345Rate_200HZ (line 68) | ADXL345Rate_200HZ ADXL345RateConfig = 0x0B constant ADXL345Rate_400HZ (line 69) | ADXL345Rate_400HZ ADXL345RateConfig = 0x0C constant ADXL345Rate_800HZ (line 70) | ADXL345Rate_800HZ ADXL345RateConfig = 0x0D constant ADXL345Rate_1600HZ (line 71) | ADXL345Rate_1600HZ ADXL345RateConfig = 0x0E constant ADXL345Rate_3200HZ (line 72) | ADXL345Rate_3200HZ ADXL345RateConfig = 0x0F constant ADXL345FsRange_2G (line 74) | ADXL345FsRange_2G ADXL345FsRangeConfig = 0x00 constant ADXL345FsRange_4G (line 75) | ADXL345FsRange_4G ADXL345FsRangeConfig = 0x01 constant ADXL345FsRange_8G (line 76) | ADXL345FsRange_8G ADXL345FsRangeConfig = 0x02 constant ADXL345FsRange_16G (line 77) | ADXL345FsRange_16G ADXL345FsRangeConfig = 0x03 type ADXL345Driver (line 86) | type ADXL345Driver struct method UseLowPower (line 189) | func (d *ADXL345Driver) UseLowPower(lowPower bool) error { method SetRate (line 198) | func (d *ADXL345Driver) SetRate(rate ADXL345RateConfig) error { method SetRange (line 207) | func (d *ADXL345Driver) SetRange(fullScaleRange ADXL345FsRangeConfig) ... method XYZ (line 216) | func (d *ADXL345Driver) XYZ() (float64, float64, float64, error) { method RawXYZ (line 229) | func (d *ADXL345Driver) RawXYZ() (int16, int16, int16, error) { method readRawData (line 236) | func (d *ADXL345Driver) readRawData() (int16, int16, int16, error) { method initialize (line 248) | func (d *ADXL345Driver) initialize() error { method shutdown (line 262) | func (d *ADXL345Driver) shutdown() error { type adxl345PowerCtl (line 95) | type adxl345PowerCtl struct method toByte (line 288) | func (p *adxl345PowerCtl) toByte() uint8 { type adxl345DataFormat (line 104) | type adxl345DataFormat struct method convertToG (line 272) | func (d *adxl345DataFormat) convertToG(rawValue int16) float64 { method toByte (line 297) | func (d *adxl345DataFormat) toByte() uint8 { type adxl345BwRate (line 114) | type adxl345BwRate struct method toByte (line 307) | func (b *adxl345BwRate) toByte() uint8 { function NewADXL345Driver (line 128) | func NewADXL345Driver(c Connector, options ...func(Config)) *ADXL345Driv... function WithADXL345LowPowerMode (line 154) | func WithADXL345LowPowerMode(val bool) func(Config) { function WithADXL345DataOutputRate (line 166) | func WithADXL345DataOutputRate(val ADXL345RateConfig) func(Config) { function WithADXL345FullScaleRange (line 178) | func WithADXL345FullScaleRange(val ADXL345FsRangeConfig) func(Config) { FILE: drivers/i2c/adxl345_driver_test.go function initTestADXL345WithStubbedAdaptor (line 18) | func initTestADXL345WithStubbedAdaptor() (*ADXL345Driver, *i2cTestAdapto... function TestNewADXL345Driver (line 24) | func TestNewADXL345Driver(t *testing.T) { function TestADXL345Halt (line 39) | func TestADXL345Halt(t *testing.T) { function TestADXL345Options (line 48) | func TestADXL345Options(t *testing.T) { function TestADXL345WithADXL345DataOutputRate (line 56) | func TestADXL345WithADXL345DataOutputRate(t *testing.T) { function TestADXL345WithADXL345FullScaleRange (line 70) | func TestADXL345WithADXL345FullScaleRange(t *testing.T) { function TestADXL345UseLowPower (line 84) | func TestADXL345UseLowPower(t *testing.T) { function TestADXL345SetRate (line 106) | func TestADXL345SetRate(t *testing.T) { function TestADXL345SetRange (line 128) | func TestADXL345SetRange(t *testing.T) { function TestADXL345RawXYZ (line 150) | func TestADXL345RawXYZ(t *testing.T) { function TestADXL345RawXYZError (line 209) | func TestADXL345RawXYZError(t *testing.T) { function TestADXL345XYZ (line 225) | func TestADXL345XYZ(t *testing.T) { function TestADXL345XYZError (line 276) | func TestADXL345XYZError(t *testing.T) { function TestADXL345_initialize (line 292) | func TestADXL345_initialize(t *testing.T) { function TestADXL345_shutdown (line 322) | func TestADXL345_shutdown(t *testing.T) { FILE: drivers/i2c/bh1750_driver.go constant bh1750DefaultAddress (line 8) | bh1750DefaultAddress = 0x23 constant BH1750_POWER_DOWN (line 11) | BH1750_POWER_DOWN = 0x00 constant BH1750_POWER_ON (line 12) | BH1750_POWER_ON = 0x01 constant BH1750_RESET (line 13) | BH1750_RESET = 0x07 constant BH1750_CONTINUOUS_HIGH_RES_MODE (line 14) | BH1750_CONTINUOUS_HIGH_RES_MODE = 0x10 constant BH1750_CONTINUOUS_HIGH_RES_MODE_2 (line 15) | BH1750_CONTINUOUS_HIGH_RES_MODE_2 = 0x11 constant BH1750_CONTINUOUS_LOW_RES_MODE (line 16) | BH1750_CONTINUOUS_LOW_RES_MODE = 0x13 constant BH1750_ONE_TIME_HIGH_RES_MODE (line 17) | BH1750_ONE_TIME_HIGH_RES_MODE = 0x20 constant BH1750_ONE_TIME_HIGH_RES_MODE_2 (line 18) | BH1750_ONE_TIME_HIGH_RES_MODE_2 = 0x21 constant BH1750_ONE_TIME_LOW_RES_MODE (line 19) | BH1750_ONE_TIME_LOW_RES_MODE = 0x23 type BH1750Driver (line 23) | type BH1750Driver struct method RawSensorData (line 54) | func (d *BH1750Driver) RawSensorData() (int, error) { method Lux (line 70) | func (d *BH1750Driver) Lux() (int, error) { method initialize (line 77) | func (d *BH1750Driver) initialize() error { function NewBH1750Driver (line 38) | func NewBH1750Driver(c Connector, options ...func(Config)) *BH1750Driver { FILE: drivers/i2c/bh1750_driver_test.go function initTestBH1750DriverWithStubbedAdaptor (line 19) | func initTestBH1750DriverWithStubbedAdaptor() (*BH1750Driver, *i2cTestAd... function TestNewBH1750Driver (line 28) | func TestNewBH1750Driver(t *testing.T) { function TestBH1750Options (line 39) | func TestBH1750Options(t *testing.T) { function TestBH1750Start (line 46) | func TestBH1750Start(t *testing.T) { function TestBH1750Halt (line 51) | func TestBH1750Halt(t *testing.T) { function TestBH1750NullLux (line 58) | func TestBH1750NullLux(t *testing.T) { function TestBH1750Lux (line 64) | func TestBH1750Lux(t *testing.T) { function TestBH1750NullRawSensorData (line 77) | func TestBH1750NullRawSensorData(t *testing.T) { function TestBH1750RawSensorData (line 83) | func TestBH1750RawSensorData(t *testing.T) { function TestBH1750LuxError (line 96) | func TestBH1750LuxError(t *testing.T) { function TestBH1750RawSensorDataError (line 106) | func TestBH1750RawSensorDataError(t *testing.T) { FILE: drivers/i2c/blinkm_driver.go constant blinkmDefaultAddress (line 7) | blinkmDefaultAddress = 0x09 type BlinkMDriver (line 10) | type BlinkMDriver struct method Rgb (line 64) | func (b *BlinkMDriver) Rgb(red byte, green byte, blue byte) error { method Fade (line 73) | func (b *BlinkMDriver) Fade(red byte, green byte, blue byte) error { method FirmwareVersion (line 82) | func (b *BlinkMDriver) FirmwareVersion() (string, error) { method Color (line 95) | func (b *BlinkMDriver) Color() ([]byte, error) { method initialize (line 107) | func (b *BlinkMDriver) initialize() error { function NewBlinkMDriver (line 24) | func NewBlinkMDriver(c Connector, options ...func(Config)) *BlinkMDriver { FILE: drivers/i2c/blinkm_driver_test.go function initTestBlinkMDriverWithStubbedAdaptor (line 19) | func initTestBlinkMDriverWithStubbedAdaptor() (*BlinkMDriver, *i2cTestAd... function TestNewBlinkMDriver (line 28) | func TestNewBlinkMDriver(t *testing.T) { function TestBlinkMOptions (line 39) | func TestBlinkMOptions(t *testing.T) { function TestBlinkMStart (line 46) | func TestBlinkMStart(t *testing.T) { function TestBlinkMHalt (line 51) | func TestBlinkMHalt(t *testing.T) { function TestNewBlinkMDriverCommands_Rgb (line 59) | func TestNewBlinkMDriverCommands_Rgb(t *testing.T) { function TestNewBlinkMDriverCommands_Fade (line 66) | func TestNewBlinkMDriverCommands_Fade(t *testing.T) { function TestNewBlinkMDriverCommands_FirmwareVersion (line 73) | func TestNewBlinkMDriverCommands_FirmwareVersion(t *testing.T) { function TestNewBlinkMDriverCommands_Color (line 98) | func TestNewBlinkMDriverCommands_Color(t *testing.T) { function TestBlinkMFirmwareVersion (line 108) | func TestBlinkMFirmwareVersion(t *testing.T) { function TestBlinkMColor (line 136) | func TestBlinkMColor(t *testing.T) { function TestBlinkMFade (line 164) | func TestBlinkMFade(t *testing.T) { function TestBlinkMRGB (line 174) | func TestBlinkMRGB(t *testing.T) { FILE: drivers/i2c/bme280_driver.go constant bme280Debug (line 12) | bme280Debug = true type BME280HumidityOversampling (line 14) | type BME280HumidityOversampling constant bme280RegCalibDigH1 (line 17) | bme280RegCalibDigH1 = 0xA1 constant bme280RegCalibDigH2LSB (line 18) | bme280RegCalibDigH2LSB = 0xE1 constant bme280RegControlHumidity (line 19) | bme280RegControlHumidity = 0xF2 constant bme280RegHumidityMSB (line 20) | bme280RegHumidityMSB = 0xFD constant BME280CtrlHumidityNoMeasurement (line 23) | BME280CtrlHumidityNoMeasurement BME280HumidityOversampling = 0x00 constant BME280CtrlHumidityOversampling1 (line 24) | BME280CtrlHumidityOversampling1 BME280HumidityOversampling = 0x01 constant BME280CtrlHumidityOversampling2 (line 25) | BME280CtrlHumidityOversampling2 BME280HumidityOversampling = 0x02 constant BME280CtrlHumidityOversampling4 (line 26) | BME280CtrlHumidityOversampling4 BME280HumidityOversampling = 0x03 constant BME280CtrlHumidityOversampling8 (line 27) | BME280CtrlHumidityOversampling8 BME280HumidityOversampling = 0x04 constant BME280CtrlHumidityOversampling16 (line 28) | BME280CtrlHumidityOversampling16 BME280HumidityOversampling = 0x05 type bmeHumidityCalibrationCoefficients (line 31) | type bmeHumidityCalibrationCoefficients struct type BME280Driver (line 46) | type BME280Driver struct method Humidity (line 130) | func (d *BME280Driver) Humidity() (float32, error) { method initializationBME280 (line 142) | func (d *BME280Driver) initializationBME280() error { method initHumidity (line 159) | func (d *BME280Driver) initHumidity() error { method rawHumidity (line 222) | func (d *BME280Driver) rawHumidity() (uint32, error) { method calculateHumidity (line 240) | func (d *BME280Driver) calculateHumidity(rawH uint32) float32 { function NewBME280Driver (line 62) | func NewBME280Driver(c Connector, options ...func(Config)) *BME280Driver { function WithBME280PressureOversampling (line 83) | func WithBME280PressureOversampling(val BMP280PressureOversampling) func... function WithBME280TemperatureOversampling (line 95) | func WithBME280TemperatureOversampling(val BMP280TemperatureOversampling... function WithBME280IIRFilter (line 107) | func WithBME280IIRFilter(val BMP280IIRFilter) func(Config) { function WithBME280HumidityOversampling (line 119) | func WithBME280HumidityOversampling(val BME280HumidityOversampling) func... FILE: drivers/i2c/bme280_driver_test.go function initTestBME280WithStubbedAdaptor (line 19) | func initTestBME280WithStubbedAdaptor() (*BME280Driver, *i2cTestAdaptor) { function TestNewBME280Driver (line 24) | func TestNewBME280Driver(t *testing.T) { function TestBME280Halt (line 41) | func TestBME280Halt(t *testing.T) { function TestBME280Options (line 50) | func TestBME280Options(t *testing.T) { function TestBME280Measurements (line 65) | func TestBME280Measurements(t *testing.T) { function TestBME280InitH1Error (line 93) | func TestBME280InitH1Error(t *testing.T) { function TestBME280InitH2Error (line 115) | func TestBME280InitH2Error(t *testing.T) { function TestBME280HumidityWriteError (line 137) | func TestBME280HumidityWriteError(t *testing.T) { function TestBME280HumidityReadError (line 149) | func TestBME280HumidityReadError(t *testing.T) { function TestBME280HumidityNotEnabled (line 161) | func TestBME280HumidityNotEnabled(t *testing.T) { function TestBME280_initializationBME280 (line 189) | func TestBME280_initializationBME280(t *testing.T) { FILE: drivers/i2c/bmp180_driver.go constant bmp180Debug (line 10) | bmp180Debug = false constant bmp180DefaultAddress (line 13) | bmp180DefaultAddress = 0x77 constant bmp180RegisterAC1MSB (line 16) | bmp180RegisterAC1MSB = 0xAA constant bmp180RegisterCtl (line 17) | bmp180RegisterCtl = 0xF4 constant bmp180RegisterDataMSB (line 18) | bmp180RegisterDataMSB = 0xF6 constant bmp180CtlTemp (line 20) | bmp180CtlTemp = 0x2E constant bmp180CtlPressure (line 21) | bmp180CtlPressure = 0x34 constant BMP180UltraLowPower (line 26) | BMP180UltraLowPower BMP180OversamplingMode = iota constant BMP180Standard (line 28) | BMP180Standard constant BMP180HighResolution (line 30) | BMP180HighResolution constant BMP180UltraHighResolution (line 32) | BMP180UltraHighResolution type BMP180OversamplingMode (line 36) | type BMP180OversamplingMode type bmp180CalibrationCoefficients (line 38) | type bmp180CalibrationCoefficients struct type BMP180Driver (line 54) | type BMP180Driver struct method Temperature (line 99) | func (d *BMP180Driver) Temperature() (float32, error) { method Pressure (line 111) | func (d *BMP180Driver) Pressure() (float32, error) { method initialization (line 126) | func (d *BMP180Driver) initialization() error { method rawTemp (line 166) | func (d *BMP180Driver) rawTemp() (int16, error) { method calculateTemp (line 184) | func (d *BMP180Driver) calculateTemp(rawTemp int16) float32 { method calculateB5 (line 190) | func (d *BMP180Driver) calculateB5(rawTemp int16) int32 { method rawPressure (line 196) | func (d *BMP180Driver) rawPressure(oversampling BMP180OversamplingMode... method calculatePressure (line 209) | func (d *BMP180Driver) calculatePressure( function NewBMP180Driver (line 70) | func NewBMP180Driver(c Connector, options ...func(Config)) *BMP180Driver { function WithBMP180OversamplingMode (line 88) | func WithBMP180OversamplingMode(val BMP180OversamplingMode) func(Config) { function bmp180PauseForReading (line 237) | func bmp180PauseForReading(oversampling BMP180OversamplingMode) time.Dur... FILE: drivers/i2c/bmp180_driver_test.go function initTestBMP180WithStubbedAdaptor (line 21) | func initTestBMP180WithStubbedAdaptor() (*BMP180Driver, *i2cTestAdaptor) { function TestNewBMP180Driver (line 26) | func TestNewBMP180Driver(t *testing.T) { function TestBMP180Halt (line 40) | func TestBMP180Halt(t *testing.T) { function TestBMP180Options (line 49) | func TestBMP180Options(t *testing.T) { function TestBMP180Measurements (line 57) | func TestBMP180Measurements(t *testing.T) { function TestBMP180TemperatureError (line 96) | func TestBMP180TemperatureError(t *testing.T) { function TestBMP180PressureError (line 131) | func TestBMP180PressureError(t *testing.T) { function TestBMP180PressureWriteError (line 164) | func TestBMP180PressureWriteError(t *testing.T) { function TestBMP180_initialization (line 176) | func TestBMP180_initialization(t *testing.T) { function TestBMP180_bmp180PauseForReading (line 223) | func TestBMP180_bmp180PauseForReading(t *testing.T) { FILE: drivers/i2c/bmp280_driver.go constant bmp280Debug (line 10) | bmp280Debug = true constant bmp280DefaultAddress (line 14) | bmp280DefaultAddress = 0x77 type BMP280PressureOversampling (line 17) | type BMP280PressureOversampling type BMP280TemperatureOversampling (line 18) | type BMP280TemperatureOversampling type BMP280IIRFilter (line 19) | type BMP280IIRFilter constant bmp280RegCalib00 (line 23) | bmp280RegCalib00 = 0x88 constant bmp280RegCtrl (line 24) | bmp280RegCtrl = 0xF4 constant bmp280RegConf (line 25) | bmp280RegConf = 0xF5 constant bmp280RegPressureData (line 26) | bmp280RegPressureData = 0xF7 constant bmp280RegTempData (line 27) | bmp280RegTempData = 0xFA constant bmp280CtrlPwrSleepMode (line 30) | bmp280CtrlPwrSleepMode = 0x00 constant bmp280CtrlPwrForcedMode (line 31) | bmp280CtrlPwrForcedMode = 0x01 constant bmp280CtrlPwrForcedMode2 (line 32) | bmp280CtrlPwrForcedMode2 = 0x02 constant bmp280CtrlPwrNormalMode (line 33) | bmp280CtrlPwrNormalMode = 0x03 constant BMP280CtrlPressNoMeasurement (line 36) | BMP280CtrlPressNoMeasurement BMP280PressureOversampling = 0x00 constant BMP280CtrlPressOversampling1 (line 37) | BMP280CtrlPressOversampling1 BMP280PressureOversampling = 0x01 constant BMP280CtrlPressOversampling2 (line 38) | BMP280CtrlPressOversampling2 BMP280PressureOversampling = 0x02 constant BMP280CtrlPressOversampling4 (line 39) | BMP280CtrlPressOversampling4 BMP280PressureOversampling = 0x03 constant BMP280CtrlPressOversampling8 (line 40) | BMP280CtrlPressOversampling8 BMP280PressureOversampling = 0x04 constant BMP280CtrlPressOversampling16 (line 41) | BMP280CtrlPressOversampling16 BMP280PressureOversampling = 0x05 constant BMP280CtrlTempNoMeasurement (line 44) | BMP280CtrlTempNoMeasurement BMP280TemperatureOversampling = 0x00 constant BMP280CtrlTempOversampling1 (line 45) | BMP280CtrlTempOversampling1 BMP280TemperatureOversampling = 0x01 constant BMP280CtrlTempOversampling2 (line 46) | BMP280CtrlTempOversampling2 BMP280TemperatureOversampling = 0x02 constant BMP280CtrlTempOversampling4 (line 47) | BMP280CtrlTempOversampling4 BMP280TemperatureOversampling = 0x03 constant BMP280CtrlTempOversampling8 (line 48) | BMP280CtrlTempOversampling8 BMP280TemperatureOversampling = 0x04 constant BMP280CtrlTempOversampling16 (line 49) | BMP280CtrlTempOversampling16 BMP280TemperatureOversampling = 0x05 constant bmp280ConfSPIBit (line 52) | bmp280ConfSPIBit = 0x01 constant bmp280ConfStandBy0005 (line 55) | bmp280ConfStandBy0005 = 0x00 constant bmp280ConfStandBy0625 (line 56) | bmp280ConfStandBy0625 = 0x01 constant bmp280ConfStandBy0125 (line 57) | bmp280ConfStandBy0125 = 0x02 constant bmp280ConfStandBy0250 (line 58) | bmp280ConfStandBy0250 = 0x03 constant bmp280ConfStandBy0500 (line 59) | bmp280ConfStandBy0500 = 0x04 constant bmp280ConfStandBy1000 (line 60) | bmp280ConfStandBy1000 = 0x05 constant bmp280ConfStandBy2000 (line 61) | bmp280ConfStandBy2000 = 0x06 constant bmp280ConfStandBy4000 (line 62) | bmp280ConfStandBy4000 = 0x07 constant BMP280ConfFilterOff (line 65) | BMP280ConfFilterOff BMP280IIRFilter = 0x00 constant BMP280ConfFilter2 (line 66) | BMP280ConfFilter2 BMP280IIRFilter = 0x01 constant BMP280ConfFilter4 (line 67) | BMP280ConfFilter4 BMP280IIRFilter = 0x02 constant BMP280ConfFilter8 (line 68) | BMP280ConfFilter8 BMP280IIRFilter = 0x03 constant BMP280ConfFilter16 (line 69) | BMP280ConfFilter16 BMP280IIRFilter = 0x04 constant bmp280SeaLevelPressure (line 71) | bmp280SeaLevelPressure = 1013.25 type bmp280CalibrationCoefficients (line 74) | type bmp280CalibrationCoefficients struct type BMP280Driver (line 90) | type BMP280Driver struct method Temperature (line 165) | func (d *BMP280Driver) Temperature() (float32, error) { method Pressure (line 178) | func (d *BMP280Driver) Pressure() (float32, error) { method Altitude (line 200) | func (d *BMP280Driver) Altitude() (float32, error) { method initialization (line 212) | func (d *BMP280Driver) initialization() error { method rawTemp (line 264) | func (d *BMP280Driver) rawTemp() (int32, error) { method rawPressure (line 285) | func (d *BMP280Driver) rawPressure() (int32, error) { method calculateTemp (line 306) | func (d *BMP280Driver) calculateTemp(rawTemp int32) (float32, int32) { method calculatePress (line 316) | func (d *BMP280Driver) calculatePress(rawPress int32, tFine int32) flo... function NewBMP280Driver (line 109) | func NewBMP280Driver(c Connector, options ...func(Config)) *BMP280Driver { function WithBMP280PressureOversampling (line 130) | func WithBMP280PressureOversampling(val BMP280PressureOversampling) func... function WithBMP280TemperatureOversampling (line 142) | func WithBMP280TemperatureOversampling(val BMP280TemperatureOversampling... function WithBMP280IIRFilter (line 154) | func WithBMP280IIRFilter(val BMP280IIRFilter) func(Config) { FILE: drivers/i2c/bmp280_driver_test.go function initTestBMP280WithStubbedAdaptor (line 19) | func initTestBMP280WithStubbedAdaptor() (*BMP280Driver, *i2cTestAdaptor) { function TestNewBMP280Driver (line 24) | func TestNewBMP280Driver(t *testing.T) { function TestBMP280Halt (line 40) | func TestBMP280Halt(t *testing.T) { function TestBMP280Options (line 49) | func TestBMP280Options(t *testing.T) { function TestWithBMP280TemperatureOversampling (line 57) | func TestWithBMP280TemperatureOversampling(t *testing.T) { function TestWithBMP280IIRFilter (line 71) | func TestWithBMP280IIRFilter(t *testing.T) { function TestBMP280Measurements (line 85) | func TestBMP280Measurements(t *testing.T) { function TestBMP280TemperatureWriteError (line 115) | func TestBMP280TemperatureWriteError(t *testing.T) { function TestBMP280TemperatureReadError (line 127) | func TestBMP280TemperatureReadError(t *testing.T) { function TestBMP280PressureWriteError (line 139) | func TestBMP280PressureWriteError(t *testing.T) { function TestBMP280PressureReadError (line 151) | func TestBMP280PressureReadError(t *testing.T) { function TestBMP280_initialization (line 163) | func TestBMP280_initialization(t *testing.T) { FILE: drivers/i2c/bmp388_driver.go constant bmp388Debug (line 11) | bmp388Debug = false constant bmp388DefaultAddress (line 14) | bmp388DefaultAddress = 0x77 type BMP388Accuracy (line 18) | type BMP388Accuracy type BMP388IIRFilter (line 19) | type BMP388IIRFilter constant bmp388ChipID (line 23) | bmp388ChipID = 0x50 constant bmp388RegChipID (line 25) | bmp388RegChipID = 0x00 constant bmp388RegStatus (line 26) | bmp388RegStatus = 0x03 constant bmp388RegPressureData (line 27) | bmp388RegPressureData = 0x04 constant bmp388RegTempData (line 28) | bmp388RegTempData = 0x07 constant bmp388RegPWRCTRL (line 29) | bmp388RegPWRCTRL = 0x1B constant bmp388RegOSR (line 30) | bmp388RegOSR = 0x1C constant bmp388RegODR (line 31) | bmp388RegODR = 0x1D constant bmp388RegConf (line 32) | bmp388RegConf = 0x1F constant bmp388RegCalib00 (line 33) | bmp388RegCalib00 = 0x31 constant bmp388RegCMD (line 34) | bmp388RegCMD = 0x7E constant bmp388PWRCTRLPressEnableBit (line 37) | bmp388PWRCTRLPressEnableBit = 0x01 constant bmp388PWRCTRLTempEnableBit (line 38) | bmp388PWRCTRLTempEnableBit = 0x02 constant bmp388PWRCTRLSleep (line 41) | bmp388PWRCTRLSleep = 0x00 constant bmp388PWRCTRLForced (line 42) | bmp388PWRCTRLForced = 0x01 constant bmp388PWRCTRLNormal (line 43) | bmp388PWRCTRLNormal = 0x03 constant bmp388ConfFilterCoef0 (line 46) | bmp388ConfFilterCoef0 BMP388IIRFilter = 0 constant bmp388ConfFilterCoef1 (line 47) | bmp388ConfFilterCoef1 BMP388IIRFilter = 1 constant bmp388ConfFilterCoef3 (line 48) | bmp388ConfFilterCoef3 BMP388IIRFilter = 2 constant bmp388ConfFilterCoef7 (line 49) | bmp388ConfFilterCoef7 BMP388IIRFilter = 3 constant bmp388ConfFilterCoef15 (line 50) | bmp388ConfFilterCoef15 BMP388IIRFilter = 4 constant bmp388ConfFilterCoef31 (line 51) | bmp388ConfFilterCoef31 BMP388IIRFilter = 5 constant bmp388ConfFilterCoef63 (line 52) | bmp388ConfFilterCoef63 BMP388IIRFilter = 6 constant bmp388ConfFilterCoef127 (line 53) | bmp388ConfFilterCoef127 BMP388IIRFilter = 7 constant BMP388AccuracyUltraLow (line 56) | BMP388AccuracyUltraLow BMP388Accuracy = 0 constant BMP388AccuracyLow (line 57) | BMP388AccuracyLow BMP388Accuracy = 1 constant BMP388AccuracyStandard (line 58) | BMP388AccuracyStandard BMP388Accuracy = 2 constant BMP388AccuracyHigh (line 59) | BMP388AccuracyHigh BMP388Accuracy = 3 constant BMP388AccuracyUltraHigh (line 60) | BMP388AccuracyUltraHigh BMP388Accuracy = 4 constant BMP388AccuracyHighest (line 61) | BMP388AccuracyHighest BMP388Accuracy = 5 constant bmp388CMDReserved (line 63) | bmp388CMDReserved = 0x00 constant bmp388CMDExtModeEnMiddle (line 64) | bmp388CMDExtModeEnMiddle = 0x34 constant bmp388CMDFifoFlush (line 65) | bmp388CMDFifoFlush = 0xB0 constant bmp388CMDSoftReset (line 66) | bmp388CMDSoftReset = 0xB6 constant bmp388SeaLevelPressure (line 68) | bmp388SeaLevelPressure = 1013.25 type bmp388CalibrationCoefficients (line 71) | type bmp388CalibrationCoefficients struct type BMP388Driver (line 89) | type BMP388Driver struct method Temperature (line 136) | func (d *BMP388Driver) Temperature(accuracy BMP388Accuracy) (float32, ... method Pressure (line 161) | func (d *BMP388Driver) Pressure(accuracy BMP388Accuracy) (float32, err... method Altitude (line 192) | func (d *BMP388Driver) Altitude(accuracy BMP388Accuracy) (float32, err... method initialization (line 204) | func (d *BMP388Driver) initialization() error { method rawTemp (line 302) | func (d *BMP388Driver) rawTemp() (int32, error) { method rawPressure (line 326) | func (d *BMP388Driver) rawPressure() (int32, error) { method calculateTemp (line 350) | func (d *BMP388Driver) calculateTemp(rawTemp int32) float32 { method calculatePress (line 360) | func (d *BMP388Driver) calculatePress(rawPress int32, tLin float64) fl... function NewBMP388Driver (line 106) | func NewBMP388Driver(c Connector, options ...func(Config)) *BMP388Driver { function WithBMP388IIRFilter (line 125) | func WithBMP388IIRFilter(val BMP388IIRFilter) func(Config) { FILE: drivers/i2c/bmp388_driver_test.go function initTestBMP388WithStubbedAdaptor (line 20) | func initTestBMP388WithStubbedAdaptor() (*BMP388Driver, *i2cTestAdaptor) { function TestNewBMP388Driver (line 43) | func TestNewBMP388Driver(t *testing.T) { function TestBMP388Halt (line 57) | func TestBMP388Halt(t *testing.T) { function TestBMP388Options (line 66) | func TestBMP388Options(t *testing.T) { function TestBMP388Measurements (line 74) | func TestBMP388Measurements(t *testing.T) { function TestBMP388TemperatureWriteError (line 110) | func TestBMP388TemperatureWriteError(t *testing.T) { function TestBMP388TemperatureReadError (line 122) | func TestBMP388TemperatureReadError(t *testing.T) { function TestBMP388PressureWriteError (line 134) | func TestBMP388PressureWriteError(t *testing.T) { function TestBMP388PressureReadError (line 146) | func TestBMP388PressureReadError(t *testing.T) { function TestBMP388_initialization (line 158) | func TestBMP388_initialization(t *testing.T) { FILE: drivers/i2c/ccs811_driver.go type CCS811DriveMode (line 10) | type CCS811DriveMode constant CCS811DriveModeIdle (line 15) | CCS811DriveModeIdle CCS811DriveMode = 0x00 constant CCS811DriveMode1Sec (line 16) | CCS811DriveMode1Sec CCS811DriveMode = 0x01 constant CCS811DriveMode10Sec (line 17) | CCS811DriveMode10Sec CCS811DriveMode = 0x02 constant CCS811DriveMode60Sec (line 18) | CCS811DriveMode60Sec CCS811DriveMode = 0x03 constant CCS811DriveMode250MS (line 19) | CCS811DriveMode250MS CCS811DriveMode = 0x04 constant ccs811DefaultAddress (line 25) | ccs811DefaultAddress = 0x5A constant ccs811RegStatus (line 30) | ccs811RegStatus = 0x00 constant ccs811RegMeasMode (line 32) | ccs811RegMeasMode = 0x01 constant ccs811RegAlgResultData (line 35) | ccs811RegAlgResultData = 0x02 constant ccs811RegNtc (line 41) | ccs811RegNtc = 0x06 constant ccs811RegSwReset (line 43) | ccs811RegSwReset = 0xFF constant ccs811RegHwID (line 45) | ccs811RegHwID = 0x20 constant ccs811RegHwVersion (line 47) | ccs811RegHwVersion = 0x21 constant ccs811RegFwBootVersion (line 50) | ccs811RegFwBootVersion = 0x23 constant ccs811RegFwAppVersion (line 53) | ccs811RegFwAppVersion = 0x24 constant ccs811RegAppStart (line 56) | ccs811RegAppStart = 0xF4 constant ccs811HwIDCode (line 60) | ccs811HwIDCode = 0x81 type CCS811Status (line 69) | type CCS811Status struct function NewCCS811Status (line 81) | func NewCCS811Status(data uint8) *CCS811Status { type CCS811MeasMode (line 93) | type CCS811MeasMode struct method GetMeasMode (line 115) | func (mm *CCS811MeasMode) GetMeasMode() byte { function NewCCS811MeasMode (line 105) | func NewCCS811MeasMode() *CCS811MeasMode { type CCS811Driver (line 120) | type CCS811Driver struct method GetHardwareVersion (line 162) | func (d *CCS811Driver) GetHardwareVersion() (uint8, error) { method GetFirmwareBootVersion (line 175) | func (d *CCS811Driver) GetFirmwareBootVersion() (uint16, error) { method GetFirmwareAppVersion (line 188) | func (d *CCS811Driver) GetFirmwareAppVersion() (uint16, error) { method GetStatus (line 201) | func (d *CCS811Driver) GetStatus() (*CCS811Status, error) { method GetTemperature (line 216) | func (d *CCS811Driver) GetTemperature() (float32, error) { method GetGasData (line 241) | func (d *CCS811Driver) GetGasData() (uint16, uint16, error) { method HasData (line 260) | func (d *CCS811Driver) HasData() (bool, error) { method EnableExternalInterrupt (line 274) | func (d *CCS811Driver) EnableExternalInterrupt() error { method DisableExternalInterrupt (line 283) | func (d *CCS811Driver) DisableExternalInterrupt() error { method initialize (line 291) | func (d *CCS811Driver) initialize() error { method resetDevice (line 322) | func (d *CCS811Driver) resetDevice() error { method startApp (line 328) | func (d *CCS811Driver) startApp() error { method updateMeasMode (line 335) | func (d *CCS811Driver) updateMeasMode() error { function NewCCS811Driver (line 128) | func NewCCS811Driver(c Connector, options ...func(Config)) *CCS811Driver { function WithCCS811MeasMode (line 145) | func WithCCS811MeasMode(mode CCS811DriveMode) func(Config) { function WithCCS811NTCResistance (line 154) | func WithCCS811NTCResistance(val uint32) func(Config) { FILE: drivers/i2c/ccs811_driver_test.go function initTestCCS811WithStubbedAdaptor (line 18) | func initTestCCS811WithStubbedAdaptor() (*CCS811Driver, *i2cTestAdaptor) { function TestNewCCS811Driver (line 28) | func TestNewCCS811Driver(t *testing.T) { function TestCCS811Halt (line 41) | func TestCCS811Halt(t *testing.T) { function TestCCS811Options (line 50) | func TestCCS811Options(t *testing.T) { function TestCCS811WithCCS811MeasMode (line 59) | func TestCCS811WithCCS811MeasMode(t *testing.T) { function TestCCS811GetGasData (line 64) | func TestCCS811GetGasData(t *testing.T) { function TestCCS811GetTemperature (line 117) | func TestCCS811GetTemperature(t *testing.T) { function TestCCS811HasData (line 173) | func TestCCS811HasData(t *testing.T) { function TestCCS811_initialize (line 237) | func TestCCS811_initialize(t *testing.T) { FILE: drivers/i2c/drv2605l_driver.go type DRV2605Mode (line 4) | type DRV2605Mode constant DRV2605ModeIntTrig (line 8) | DRV2605ModeIntTrig DRV2605Mode = 0x00 constant DRV2605ModeExtTrigEdge (line 9) | DRV2605ModeExtTrigEdge DRV2605Mode = 0x01 constant DRV2605ModeExtTrigLvl (line 10) | DRV2605ModeExtTrigLvl DRV2605Mode = 0x02 constant DRV2605ModePWMAnalog (line 11) | DRV2605ModePWMAnalog DRV2605Mode = 0x03 constant DRV2605ModeAudioVibe (line 12) | DRV2605ModeAudioVibe DRV2605Mode = 0x04 constant DRV2605ModeRealtime (line 13) | DRV2605ModeRealtime DRV2605Mode = 0x05 constant DRV2605ModeDiagnose (line 14) | DRV2605ModeDiagnose DRV2605Mode = 0x06 constant DRV2605ModeAutocal (line 15) | DRV2605ModeAutocal DRV2605Mode = 0x07 constant drv2605DefaultAddress (line 19) | drv2605DefaultAddress = 0x5A constant drv2605RegStatus (line 21) | drv2605RegStatus = 0x00 constant drv2605RegMode (line 22) | drv2605RegMode = 0x01 constant drv2605Standby (line 24) | drv2605Standby = 0x40 constant drv2605RegRTPin (line 26) | drv2605RegRTPin = 0x02 constant drv2605RegLibrary (line 27) | drv2605RegLibrary = 0x03 constant drv2605RegWaveSeq1 (line 28) | drv2605RegWaveSeq1 = 0x04 constant drv2605RegWaveSeq2 (line 29) | drv2605RegWaveSeq2 = 0x05 constant drv2605RegWaveSeq3 (line 30) | drv2605RegWaveSeq3 = 0x06 constant drv2605RegWaveSeq4 (line 31) | drv2605RegWaveSeq4 = 0x07 constant drv2605RegWaveSeq5 (line 32) | drv2605RegWaveSeq5 = 0x08 constant drv2605RegWaveSeq6 (line 33) | drv2605RegWaveSeq6 = 0x09 constant drv2605RegWaveSeq7 (line 34) | drv2605RegWaveSeq7 = 0x0A constant drv2605RegWaveSeq8 (line 35) | drv2605RegWaveSeq8 = 0x0B constant drv2605RegGo (line 37) | drv2605RegGo = 0x0C constant drv2605RegOverdrive (line 38) | drv2605RegOverdrive = 0x0D constant drv2605RegSustainPos (line 39) | drv2605RegSustainPos = 0x0E constant drv2605RegSustainNeg (line 40) | drv2605RegSustainNeg = 0x0F constant drv2605RegBreak (line 41) | drv2605RegBreak = 0x10 constant drv2605RegAudioCtrl (line 42) | drv2605RegAudioCtrl = 0x11 constant drv2605RegAudioMinLevel (line 43) | drv2605RegAudioMinLevel = 0x12 constant drv2605RegAudioMaxLevel (line 44) | drv2605RegAudioMaxLevel = 0x13 constant drv2605RegAudioMinDrive (line 45) | drv2605RegAudioMinDrive = 0x14 constant drv2605RegAudioMaxDrive (line 46) | drv2605RegAudioMaxDrive = 0x15 constant drv2605RegRatedV (line 47) | drv2605RegRatedV = 0x16 constant drv2605RegClampV (line 48) | drv2605RegClampV = 0x17 constant drv2605RegAutocalComp (line 49) | drv2605RegAutocalComp = 0x18 constant drv2605RegAutocalEmp (line 50) | drv2605RegAutocalEmp = 0x19 constant drv2605RegFeedback (line 51) | drv2605RegFeedback = 0x1A constant drv2605RegControl1 (line 52) | drv2605RegControl1 = 0x1B constant drv2605RegControl2 (line 53) | drv2605RegControl2 = 0x1C constant drv2605RegControl3 (line 54) | drv2605RegControl3 = 0x1D constant drv2605RegControl4 (line 55) | drv2605RegControl4 = 0x1E constant drv2605RegVBat (line 56) | drv2605RegVBat = 0x21 constant drv2605RegLRAResoPeriod (line 57) | drv2605RegLRAResoPeriod = 0x22 type DRV2605LDriver (line 71) | type DRV2605LDriver struct method SetMode (line 101) | func (d *DRV2605LDriver) SetMode(newMode DRV2605Mode) error { method SetStandbyMode (line 118) | func (d *DRV2605LDriver) SetStandbyMode(standby bool) error { method SelectLibrary (line 136) | func (d *DRV2605LDriver) SelectLibrary(library uint8) error { method GetPauseWaveform (line 144) | func (d *DRV2605LDriver) GetPauseWaveform(delayTime10MS uint8) uint8 { method SetSequence (line 158) | func (d *DRV2605LDriver) SetSequence(waveforms []uint8) error { method Go (line 176) | func (d *DRV2605LDriver) Go() error { method writeByteRegisters (line 180) | func (d *DRV2605LDriver) writeByteRegisters(regValPairs []struct{ reg,... method initialize (line 189) | func (d *DRV2605LDriver) initialize() error { method shutdown (line 218) | func (d *DRV2605LDriver) shutdown() error { function NewDRV2605LDriver (line 85) | func NewDRV2605LDriver(c Connector, options ...func(Config)) *DRV2605LDr... FILE: drivers/i2c/drv2605l_driver_test.go function initTestDRV2605LDriverWithStubbedAdaptor (line 20) | func initTestDRV2605LDriverWithStubbedAdaptor() (*DRV2605LDriver, *i2cTe... function TestNewDRV2605LDriver (line 36) | func TestNewDRV2605LDriver(t *testing.T) { function TestDRV2605LOptions (line 47) | func TestDRV2605LOptions(t *testing.T) { function TestDRV2605LStart (line 54) | func TestDRV2605LStart(t *testing.T) { function TestDRV2605LHaltIdempotent (line 59) | func TestDRV2605LHaltIdempotent(t *testing.T) { function TestDRV2605LHalt (line 68) | func TestDRV2605LHalt(t *testing.T) { function TestDRV2605LGetPause (line 84) | func TestDRV2605LGetPause(t *testing.T) { function TestDRV2605LSequenceTermination (line 91) | func TestDRV2605LSequenceTermination(t *testing.T) { function TestDRV2605LSequenceTruncation (line 102) | func TestDRV2605LSequenceTruncation(t *testing.T) { function TestDRV2605LSetMode (line 118) | func TestDRV2605LSetMode(t *testing.T) { function TestDRV2605LSetModeReadError (line 123) | func TestDRV2605LSetModeReadError(t *testing.T) { function TestDRV2605LSetStandbyMode (line 131) | func TestDRV2605LSetStandbyMode(t *testing.T) { function TestDRV2605LSetStandbyModeReadError (line 136) | func TestDRV2605LSetStandbyModeReadError(t *testing.T) { function TestDRV2605LSelectLibrary (line 144) | func TestDRV2605LSelectLibrary(t *testing.T) { function TestDRV2605LGo (line 149) | func TestDRV2605LGo(t *testing.T) { FILE: drivers/i2c/generic_driver.go type GenericDriver (line 9) | type GenericDriver struct method WriteByte (line 19) | func (d *GenericDriver) WriteByte(val byte) error { method WriteByteData (line 27) | func (d *GenericDriver) WriteByteData(reg uint8, val byte) error { method WriteWordData (line 35) | func (d *GenericDriver) WriteWordData(reg uint8, val uint16) error { method WriteBlockData (line 43) | func (d *GenericDriver) WriteBlockData(reg uint8, data []byte) error { method WriteData (line 52) | func (d *GenericDriver) WriteData(reg uint8, data []byte) error { method Write (line 64) | func (d *GenericDriver) Write(data []byte) error { method ReadByte (line 72) | func (d *GenericDriver) ReadByte() (byte, error) { method ReadByteData (line 80) | func (d *GenericDriver) ReadByteData(reg uint8) (byte, error) { method ReadWordData (line 88) | func (d *GenericDriver) ReadWordData(reg uint8) (uint16, error) { method ReadBlockData (line 96) | func (d *GenericDriver) ReadBlockData(reg uint8, data []byte) error { method ReadData (line 105) | func (d *GenericDriver) ReadData(reg uint8, data []byte) error { method Read (line 121) | func (d *GenericDriver) Read(data []byte) error { method writeAndCheckCount (line 128) | func (d *GenericDriver) writeAndCheckCount(data []byte) error { method readAndCheckCount (line 139) | func (d *GenericDriver) readAndCheckCount(data []byte) error { function NewGenericDriver (line 14) | func NewGenericDriver(c Connector, name string, address int, options ...... FILE: drivers/i2c/generic_driver_test.go function TestNewGenericDriver (line 15) | func TestNewGenericDriver(t *testing.T) { FILE: drivers/i2c/grove_drivers.go type GroveLcdDriver (line 7) | type GroveLcdDriver struct type GroveAccelerometerDriver (line 12) | type GroveAccelerometerDriver struct function NewGroveLcdDriver (line 25) | func NewGroveLcdDriver(a Connector, options ...func(Config)) *GroveLcdDr... function NewGroveAccelerometerDriver (line 46) | func NewGroveAccelerometerDriver(a Connector, options ...func(Config)) *... FILE: drivers/i2c/grove_drivers_test.go function initTestGroveLcdDriver (line 17) | func initTestGroveLcdDriver() *GroveLcdDriver { function initGroveLcdDriverWithStubbedAdaptor (line 22) | func initGroveLcdDriverWithStubbedAdaptor() (*GroveLcdDriver, *i2cTestAd... function initTestGroveAccelerometerDriver (line 27) | func initTestGroveAccelerometerDriver() *GroveAccelerometerDriver { function initGroveAccelerometerDriverWithStubbedAdaptor (line 32) | func initGroveAccelerometerDriverWithStubbedAdaptor() (*GroveAcceleromet... function TestGroveLcdDriverName (line 37) | func TestGroveLcdDriverName(t *testing.T) { function TestLcdDriverWithAddress (line 43) | func TestLcdDriverWithAddress(t *testing.T) { function TestGroveAccelerometerDriverName (line 49) | func TestGroveAccelerometerDriverName(t *testing.T) { function TestGroveAccelerometerDriverWithAddress (line 55) | func TestGroveAccelerometerDriverWithAddress(t *testing.T) { FILE: drivers/i2c/grovepi_driver.go constant grovePiDefaultAddress (line 13) | grovePiDefaultAddress = 0x04 constant commandReadDigital (line 19) | commandReadDigital = 1 constant commandWriteDigital (line 20) | commandWriteDigital = 2 constant commandReadAnalog (line 21) | commandReadAnalog = 3 constant commandWriteAnalog (line 22) | commandWriteAnalog = 4 constant commandSetPinMode (line 23) | commandSetPinMode = 5 constant commandReadUltrasonic (line 24) | commandReadUltrasonic = 7 constant commandReadFirmwareVersion (line 25) | commandReadFirmwareVersion = 8 constant commandReadDHT (line 26) | commandReadDHT = 40 type GrovePiDriver (line 34) | type GrovePiDriver struct method Connect (line 64) | func (d *GrovePiDriver) Connect() error { method Finalize (line 69) | func (d *GrovePiDriver) Finalize() error { method AnalogRead (line 74) | func (d *GrovePiDriver) AnalogRead(pin string) (int, error) { method DigitalRead (line 99) | func (d *GrovePiDriver) DigitalRead(pin string) (int, error) { method UltrasonicRead (line 124) | func (d *GrovePiDriver) UltrasonicRead(pin string, duration int) (int,... method FirmwareVersionRead (line 153) | func (d *GrovePiDriver) FirmwareVersionRead() (string, error) { method DHTRead (line 177) | func (d *GrovePiDriver) DHTRead(pin string, sensorType byte, duration ... method DigitalWrite (line 221) | func (d *GrovePiDriver) DigitalWrite(pin string, val byte) error { method AnalogWrite (line 242) | func (d *GrovePiDriver) AnalogWrite(pin string, val int) error { method SetPinMode (line 263) | func (d *GrovePiDriver) SetPinMode(pin byte, mode string) error { method setPinMode (line 280) | func (d *GrovePiDriver) setPinMode(pin byte, mode string) error { method ensurePinMode (line 297) | func (d *GrovePiDriver) ensurePinMode(pinNum int, mode string) error { method preparePin (line 307) | func (d *GrovePiDriver) preparePin(pin string, mode string) (int, erro... method readForCommand (line 321) | func (d *GrovePiDriver) readForCommand(command byte, data []byte) error { function NewGrovePiDriver (line 49) | func NewGrovePiDriver(c Connector, options ...func(Config)) *GrovePiDriv... function getPin (line 270) | func getPin(pin string) string { function float32Of4BytesLittleEndian (line 335) | func float32Of4BytesLittleEndian(bytes []byte) float32 { FILE: drivers/i2c/grovepi_driver_test.go function initGrovePiDriverWithStubbedAdaptor (line 36) | func initGrovePiDriverWithStubbedAdaptor() (*GrovePiDriver, *i2cTestAdap... function TestNewGrovePiDriver (line 41) | func TestNewGrovePiDriver(t *testing.T) { function TestGrovePiOptions (line 53) | func TestGrovePiOptions(t *testing.T) { function TestGrovePiSomeRead (line 60) | func TestGrovePiSomeRead(t *testing.T) { function TestGrovePiSomeWrite (line 183) | func TestGrovePiSomeWrite(t *testing.T) { function TestGrovePi_getPin (line 231) | func TestGrovePi_getPin(t *testing.T) { FILE: drivers/i2c/helpers_test.go type i2cTestAdaptor (line 15) | type i2cTestAdaptor struct method Testi2cConnectErr (line 26) | func (t *i2cTestAdaptor) Testi2cConnectErr(val bool) { method Testi2cReadImpl (line 32) | func (t *i2cTestAdaptor) Testi2cReadImpl(f func([]byte) (int, error)) { method Testi2cWriteImpl (line 38) | func (t *i2cTestAdaptor) Testi2cWriteImpl(f func([]byte) (int, error)) { method Read (line 44) | func (t *i2cTestAdaptor) Read(b []byte) (int, error) { method Write (line 50) | func (t *i2cTestAdaptor) Write(b []byte) (int, error) { method Close (line 57) | func (t *i2cTestAdaptor) Close() error { method ReadByte (line 61) | func (t *i2cTestAdaptor) ReadByte() (byte, error) { method ReadByteData (line 73) | func (t *i2cTestAdaptor) ReadByteData(reg uint8) (uint8, error) { method ReadWordData (line 88) | func (t *i2cTestAdaptor) ReadWordData(reg uint8) (uint16, error) { method ReadBlockData (line 107) | func (t *i2cTestAdaptor) ReadBlockData(reg uint8, b []byte) error { method WriteByte (line 117) | func (t *i2cTestAdaptor) WriteByte(val byte) error { method WriteByteData (line 123) | func (t *i2cTestAdaptor) WriteByteData(reg uint8, val uint8) error { method WriteWordData (line 131) | func (t *i2cTestAdaptor) WriteWordData(reg uint8, val uint16) error { method WriteBlockData (line 141) | func (t *i2cTestAdaptor) WriteBlockData(reg uint8, b []byte) error { method WriteBytes (line 154) | func (t *i2cTestAdaptor) WriteBytes(b []byte) error { method GetI2cConnection (line 164) | func (t *i2cTestAdaptor) GetI2cConnection(address int, bus int) (Conne... method DefaultI2cBus (line 174) | func (t *i2cTestAdaptor) DefaultI2cBus() int { method Name (line 178) | func (t *i2cTestAdaptor) Name() string { return t.name } method SetName (line 179) | func (t *i2cTestAdaptor) SetName(n string) { t.name = n } method Connect (line 180) | func (t *i2cTestAdaptor) Connect() error { return nil } method Finalize (line 181) | func (t *i2cTestAdaptor) Finalize() error { return nil } method readBytes (line 195) | func (t *i2cTestAdaptor) readBytes(b []byte) error { method writeBytes (line 207) | func (t *i2cTestAdaptor) writeBytes(b []byte) error { function newI2cTestAdaptor (line 183) | func newI2cTestAdaptor() *i2cTestAdaptor { FILE: drivers/i2c/hmc5883l_driver.go constant hmc5883lDebug (line 11) | hmc5883lDebug = false constant hmc5883lDefaultAddress (line 12) | hmc5883lDefaultAddress = 0x1E constant hmc5883lRegA (line 16) | hmc5883lRegA = 0x00 constant hmc5883lRegB (line 17) | hmc5883lRegB = 0x01 constant hmc5883lRegMode (line 18) | hmc5883lRegMode = 0x02 constant hmc5883lAxisX (line 19) | hmc5883lAxisX = 0x03 constant hmc5883lAxisZ (line 20) | hmc5883lAxisZ = 0x05 constant hmc5883lAxisY (line 21) | hmc5883lAxisY = 0x07 constant hmc5883lRegStatus (line 22) | hmc5883lRegStatus = 0x09 constant hmc5883lRegIdA (line 23) | hmc5883lRegIdA = 0x0A constant hmc5883lRegIdB (line 24) | hmc5883lRegIdB = 0x0B constant hmc5883lRegIdC (line 25) | hmc5883lRegIdC = 0x0C constant hmc5883lRegA_SamplesAvg1 (line 27) | hmc5883lRegA_SamplesAvg1 = 0x00 constant hmc5883lRegA_SamplesAvg2 (line 28) | hmc5883lRegA_SamplesAvg2 = 0x01 constant hmc5883lRegA_SamplesAvg4 (line 29) | hmc5883lRegA_SamplesAvg4 = 0x02 constant hmc5883lRegA_SamplesAvg8 (line 30) | hmc5883lRegA_SamplesAvg8 = 0x03 constant hmc5883lRegA_OutputRate750 (line 31) | hmc5883lRegA_OutputRate750 = 0x00 constant hmc5883lRegA_OutputRate1500 (line 32) | hmc5883lRegA_OutputRate1500 = 0x01 constant hmc5883lRegA_OutputRate3000 (line 33) | hmc5883lRegA_OutputRate3000 = 0x02 constant hmc5883lRegA_OutputRate7500 (line 34) | hmc5883lRegA_OutputRate7500 = 0x03 constant hmc5883lRegA_OutputRate15000 (line 35) | hmc5883lRegA_OutputRate15000 = 0x04 constant hmc5883lRegA_OutputRate30000 (line 36) | hmc5883lRegA_OutputRate30000 = 0x05 constant hmc5883lRegA_OutputRate75000 (line 37) | hmc5883lRegA_OutputRate75000 = 0x06 constant hmc5883lRegA_MeasNormal (line 38) | hmc5883lRegA_MeasNormal = 0x00 constant hmc5883lRegA_MeasPositiveBias (line 39) | hmc5883lRegA_MeasPositiveBias = 0x01 constant hmc5883lRegA_MeasNegativeBias (line 40) | hmc5883lRegA_MeasNegativeBias = 0x02 constant hmc5883lRegB_Gain1370 (line 42) | hmc5883lRegB_Gain1370 = 0x00 constant hmc5883lRegB_Gain1090 (line 43) | hmc5883lRegB_Gain1090 = 0x01 constant hmc5883lRegB_Gain820 (line 44) | hmc5883lRegB_Gain820 = 0x02 constant hmc5883lRegB_Gain660 (line 45) | hmc5883lRegB_Gain660 = 0x03 constant hmc5883lRegB_Gain440 (line 46) | hmc5883lRegB_Gain440 = 0x04 constant hmc5883lRegB_Gain390 (line 47) | hmc5883lRegB_Gain390 = 0x05 constant hmc5883lRegB_Gain330 (line 48) | hmc5883lRegB_Gain330 = 0x06 constant hmc5883lRegB_Gain230 (line 49) | hmc5883lRegB_Gain230 = 0x07 constant hmc5883lRegM_Continuous (line 51) | hmc5883lRegM_Continuous = 0x00 constant hmc5883lRegM_Single (line 52) | hmc5883lRegM_Single = 0x01 constant hmc5883lRegM_Idle (line 53) | hmc5883lRegM_Idle = 0x10 type HMC5883LDriver (line 67) | type HMC5883LDriver struct method Read (line 209) | func (d *HMC5883LDriver) Read() (x float64, y float64, z float64, err ... method Heading (line 221) | func (d *HMC5883LDriver) Heading() (float64, error) { method readRawData (line 242) | func (d *HMC5883LDriver) readRawData() (x int16, y int16, z int16, err... method initialize (line 256) | func (d *HMC5883LDriver) initialize() error { function NewHMC5883LDriver (line 124) | func NewHMC5883LDriver(c Connector, options ...func(Config)) *HMC5883LDr... function WithHMC5883LSamplesAveraged (line 144) | func WithHMC5883LSamplesAveraged(val int) func(Config) { function WithHMC5883LDataOutputRate (line 160) | func WithHMC5883LDataOutputRate(val int) func(Config) { function WithHMC5883LApplyBias (line 176) | func WithHMC5883LApplyBias(val int) func(Config) { function WithHMC5883LGain (line 192) | func WithHMC5883LGain(val int) func(Config) { function hmc5883lValidateSamplesAveraged (line 273) | func hmc5883lValidateSamplesAveraged(samplesAvg int) error { function hmc5883lValidateOutputRate (line 288) | func hmc5883lValidateOutputRate(outputRate int) error { function hmc5883lValidateApplyBias (line 303) | func hmc5883lValidateApplyBias(applyBias int) error { function hmc5883lValidateGain (line 318) | func hmc5883lValidateGain(gain int) error { FILE: drivers/i2c/hmc5883l_driver_test.go function initTestHMC5883LWithStubbedAdaptor (line 17) | func initTestHMC5883LWithStubbedAdaptor() (*HMC5883LDriver, *i2cTestAdap... function TestNewHMC5883LDriver (line 22) | func TestNewHMC5883LDriver(t *testing.T) { function TestHMC5883LHalt (line 38) | func TestHMC5883LHalt(t *testing.T) { function TestHMC5883LOptions (line 47) | func TestHMC5883LOptions(t *testing.T) { function TestHMC5883LWithHMC5883LDataOutputRate (line 55) | func TestHMC5883LWithHMC5883LDataOutputRate(t *testing.T) { function TestHMC5883LWithHMC5883LApplyBias (line 61) | func TestHMC5883LWithHMC5883LApplyBias(t *testing.T) { function TestHMC5883LWithHMC5883LGain (line 67) | func TestHMC5883LWithHMC5883LGain(t *testing.T) { function TestHMC5883LRead (line 73) | func TestHMC5883LRead(t *testing.T) { function TestHMC5883L_readRawData (line 143) | func TestHMC5883L_readRawData(t *testing.T) { function TestHMC5883L_initialize (line 202) | func TestHMC5883L_initialize(t *testing.T) { FILE: drivers/i2c/hmc6352_driver.go constant hmc6352DefaultAddress (line 3) | hmc6352DefaultAddress = 0x21 type HMC6352Driver (line 6) | type HMC6352Driver struct method Heading (line 33) | func (d *HMC6352Driver) Heading() (uint16, error) { method initialize (line 50) | func (d *HMC6352Driver) initialize() error { function NewHMC6352Driver (line 19) | func NewHMC6352Driver(c Connector, options ...func(Config)) *HMC6352Driv... FILE: drivers/i2c/hmc6352_driver_test.go function initTestHMC6352DriverWithStubbedAdaptor (line 18) | func initTestHMC6352DriverWithStubbedAdaptor() (*HMC6352Driver, *i2cTest... function TestNewHMC6352Driver (line 27) | func TestNewHMC6352Driver(t *testing.T) { function TestHMC6352Options (line 38) | func TestHMC6352Options(t *testing.T) { function TestHMC6352Start (line 45) | func TestHMC6352Start(t *testing.T) { function TestHMC6352Halt (line 50) | func TestHMC6352Halt(t *testing.T) { function TestHMC6352Heading (line 59) | func TestHMC6352Heading(t *testing.T) { FILE: drivers/i2c/i2c_config.go type i2cConfig (line 3) | type i2cConfig struct method SetBus (line 28) | func (i *i2cConfig) SetBus(bus int) { method GetBusOrDefault (line 34) | func (i *i2cConfig) GetBusOrDefault(d int) int { method SetAddress (line 43) | func (i *i2cConfig) SetAddress(address int) { method GetAddressOrDefault (line 50) | func (i *i2cConfig) GetAddressOrDefault(a int) int { function NewConfig (line 9) | func NewConfig() Config { function WithBus (line 14) | func WithBus(bus int) func(Config) { function WithAddress (line 21) | func WithAddress(address int) func(Config) { FILE: drivers/i2c/i2c_config_test.go function TestNewConfig (line 11) | func TestNewConfig(t *testing.T) { function TestWithBus (line 23) | func TestWithBus(t *testing.T) { function TestWithAddress (line 32) | func TestWithAddress(t *testing.T) { function TestGetBusOrDefaultWithBusOption (line 41) | func TestGetBusOrDefaultWithBusOption(t *testing.T) { function TestGetAddressOrDefaultWithAddressOption (line 63) | func TestGetAddressOrDefaultWithAddressOption(t *testing.T) { FILE: drivers/i2c/i2c_connection.go constant Error (line 11) | Error = "error" constant BusNotInitialized (line 16) | BusNotInitialized = -1 constant AddressNotInitialized (line 19) | AddressNotInitialized = -1 type bitState (line 29) | type bitState constant clearBit (line 32) | clearBit bitState = 0x00 constant setBit (line 33) | setBit bitState = 0x01 type Connection (line 41) | type Connection type i2cConnection (line 43) | type i2cConnection struct method Read (line 54) | func (c *i2cConnection) Read(data []byte) (int, error) { method Write (line 59) | func (c *i2cConnection) Write(data []byte) (int, error) { method Close (line 64) | func (c *i2cConnection) Close() error { method ReadByte (line 69) | func (c *i2cConnection) ReadByte() (byte, error) { method ReadByteData (line 74) | func (c *i2cConnection) ReadByteData(reg uint8) (uint8, error) { method ReadWordData (line 79) | func (c *i2cConnection) ReadWordData(reg uint8) (uint16, error) { method ReadBlockData (line 84) | func (c *i2cConnection) ReadBlockData(reg uint8, b []byte) error { method WriteByte (line 89) | func (c *i2cConnection) WriteByte(val byte) error { method WriteByteData (line 94) | func (c *i2cConnection) WriteByteData(reg uint8, val uint8) error { method WriteWordData (line 99) | func (c *i2cConnection) WriteWordData(reg uint8, val uint16) error { method WriteBlockData (line 104) | func (c *i2cConnection) WriteBlockData(reg uint8, b []byte) error { method WriteBytes (line 109) | func (c *i2cConnection) WriteBytes(b []byte) error { function NewConnection (line 49) | func NewConnection(bus gobot.I2cSystemDevicer, address int) *i2cConnecti... function twosComplement16Bit (line 113) | func twosComplement16Bit(uValue uint16) int16 { function swapBytes (line 121) | func swapBytes(value uint16) uint16 { FILE: drivers/i2c/i2c_connection_test.go constant dev (line 17) | dev = "/dev/i2c-1" function getSyscallFuncImpl (line 19) | func getSyscallFuncImpl( function initI2CDevice (line 56) | func initI2CDevice() gobot.I2cSystemDevicer { function initI2CDeviceAddressError (line 66) | func initI2CDeviceAddressError() gobot.I2cSystemDevicer { function TestI2CAddress (line 76) | func TestI2CAddress(t *testing.T) { function TestI2CClose (line 81) | func TestI2CClose(t *testing.T) { function TestI2CRead (line 86) | func TestI2CRead(t *testing.T) { function TestI2CReadAddressError (line 92) | func TestI2CReadAddressError(t *testing.T) { function TestI2CWrite (line 98) | func TestI2CWrite(t *testing.T) { function TestI2CWriteAddressError (line 104) | func TestI2CWriteAddressError(t *testing.T) { function TestI2CReadByte (line 110) | func TestI2CReadByte(t *testing.T) { function TestI2CReadByteAddressError (line 116) | func TestI2CReadByteAddressError(t *testing.T) { function TestI2CReadByteData (line 122) | func TestI2CReadByteData(t *testing.T) { function TestI2CReadByteDataAddressError (line 128) | func TestI2CReadByteDataAddressError(t *testing.T) { function TestI2CReadWordData (line 134) | func TestI2CReadWordData(t *testing.T) { function TestI2CReadWordDataAddressError (line 140) | func TestI2CReadWordDataAddressError(t *testing.T) { function TestI2CWriteByte (line 146) | func TestI2CWriteByte(t *testing.T) { function TestI2CWriteByteAddressError (line 152) | func TestI2CWriteByteAddressError(t *testing.T) { function TestI2CWriteByteData (line 158) | func TestI2CWriteByteData(t *testing.T) { function TestI2CWriteByteDataAddressError (line 164) | func TestI2CWriteByteDataAddressError(t *testing.T) { function TestI2CWriteWordData (line 170) | func TestI2CWriteWordData(t *testing.T) { function TestI2CWriteWordDataAddressError (line 176) | func TestI2CWriteWordDataAddressError(t *testing.T) { function TestI2CWriteBlockData (line 182) | func TestI2CWriteBlockData(t *testing.T) { function TestI2CWriteBlockDataAddressError (line 188) | func TestI2CWriteBlockDataAddressError(t *testing.T) { FILE: drivers/i2c/i2c_driver.go type Config (line 14) | type Config interface type Connector (line 30) | type Connector interface type Driver (line 41) | type Driver struct method Name (line 75) | func (d *Driver) Name() string { method SetName (line 80) | func (d *Driver) SetName(name string) { method Connection (line 85) | func (d *Driver) Connection() gobot.Connection { method Start (line 100) | func (d *Driver) Start() error { method Halt (line 120) | func (d *Driver) Halt() error { method Write (line 134) | func (d *Driver) Write(pin string, val int) error { method Read (line 159) | func (d *Driver) Read(pin string) (int, error) { method write (line 180) | func (d *Driver) write(data []byte) (int, error) { method writeByte (line 188) | func (d *Driver) writeByte(val byte) error { method writeByteData (line 196) | func (d *Driver) writeByteData(reg uint8, val byte) error { method writeWordData (line 204) | func (d *Driver) writeWordData(reg uint8, val uint16) error { method writeBlockData (line 212) | func (d *Driver) writeBlockData(reg uint8, data []byte) error { method read (line 220) | func (d *Driver) read(data []byte) (int, error) { method readByte (line 228) | func (d *Driver) readByte() (byte, error) { method readByteData (line 236) | func (d *Driver) readByteData(reg uint8) (byte, error) { method readWordData (line 244) | func (d *Driver) readWordData(reg uint8) (uint16, error) { method readBlockData (line 252) | func (d *Driver) readBlockData(reg uint8, data []byte) error { function NewDriver (line 55) | func NewDriver(c Connector, name string, address int, options ...func(Co... function driverParseRegister (line 260) | func driverParseRegister(pin string) (uint8, error) { FILE: drivers/i2c/i2c_driver_test.go function initDriverWithStubbedAdaptor (line 14) | func initDriverWithStubbedAdaptor() (*Driver, *i2cTestAdaptor) { function initTestDriver (line 20) | func initTestDriver() *Driver { function TestNewDriver (line 25) | func TestNewDriver(t *testing.T) { function TestSetName (line 46) | func TestSetName(t *testing.T) { function TestConnection (line 55) | func TestConnection(t *testing.T) { function TestStart (line 62) | func TestStart(t *testing.T) { function TestStartConnectError (line 70) | func TestStartConnectError(t *testing.T) { function TestHalt (line 78) | func TestHalt(t *testing.T) { function TestWrite (line 87) | func TestWrite(t *testing.T) { function TestRead (line 111) | func TestRead(t *testing.T) { FILE: drivers/i2c/ina3221_driver.go type INA3221Channel (line 11) | type INA3221Channel constant ina3221DefaultAddress (line 14) | ina3221DefaultAddress = 0x40 constant ina3221Read (line 15) | ina3221Read uint8 = 0x01 constant ina3221RegConfig (line 16) | ina3221RegConfig uint8 = 0x00 constant ina3221ConfigReset (line 17) | ina3221ConfigReset uint16 = 0x8000 constant ina3221ConfigEnableChan1 (line 18) | ina3221ConfigEnableChan1 uint16 = 0x4000 constant ina3221ConfigEnableChan2 (line 19) | ina3221ConfigEnableChan2 uint16 = 0x2000 constant ina3221ConfigEnableChan3 (line 20) | ina3221ConfigEnableChan3 uint16 = 0x1000 constant ina3221ConfigAvg2 (line 21) | ina3221ConfigAvg2 uint16 = 0x0800 constant ina3221ConfigAvg1 (line 22) | ina3221ConfigAvg1 uint16 = 0x0400 constant ina3221ConfigAvg0 (line 23) | ina3221ConfigAvg0 uint16 = 0x0200 constant ina3221ConfigVBusCT2 (line 24) | ina3221ConfigVBusCT2 uint16 = 0x0100 constant ina3221ConfigVBusCT1 (line 25) | ina3221ConfigVBusCT1 uint16 = 0x0080 constant ina3221ConfigVBusCT0 (line 26) | ina3221ConfigVBusCT0 uint16 = 0x0040 constant ina3221ConfigVShCT2 (line 27) | ina3221ConfigVShCT2 uint16 = 0x0020 constant ina3221ConfigVShCT1 (line 28) | ina3221ConfigVShCT1 uint16 = 0x0010 constant ina3221ConfigVShCT0 (line 29) | ina3221ConfigVShCT0 uint16 = 0x0008 constant ina3221ConfigMode2 (line 30) | ina3221ConfigMode2 uint16 = 0x0004 constant ina3221ConfigMode1 (line 31) | ina3221ConfigMode1 uint16 = 0x0002 constant ina3221ConfigMode0 (line 32) | ina3221ConfigMode0 uint16 = 0x0001 constant ina3221RegShuntVoltage1 (line 33) | ina3221RegShuntVoltage1 uint8 = 0x01 constant ina3221RegBusVoltage1 (line 34) | ina3221RegBusVoltage1 uint8 = 0x02 constant ina3221ShuntResistorValue (line 35) | ina3221ShuntResistorValue float64 = 0.1 constant INA3221Channel1 (line 37) | INA3221Channel1 INA3221Channel = 1 constant INA3221Channel2 (line 38) | INA3221Channel2 INA3221Channel = 2 constant INA3221Channel3 (line 39) | INA3221Channel3 INA3221Channel = 3 type INA3221Driver (line 43) | type INA3221Driver struct method GetBusVoltage (line 70) | func (d *INA3221Driver) GetBusVoltage(channel INA3221Channel) (float64... method GetShuntVoltage (line 80) | func (d *INA3221Driver) GetShuntVoltage(channel INA3221Channel) (float... method GetCurrent (line 90) | func (d *INA3221Driver) GetCurrent(channel INA3221Channel) (float64, e... method GetLoadVoltage (line 101) | func (d *INA3221Driver) GetLoadVoltage(channel INA3221Channel) (float6... method getBusVoltageRaw (line 116) | func (d *INA3221Driver) getBusVoltageRaw(channel INA3221Channel) (int1... method getShuntVoltageRaw (line 131) | func (d *INA3221Driver) getShuntVoltageRaw(channel INA3221Channel) (in... method readWordFromRegister (line 146) | func (d *INA3221Driver) readWordFromRegister(reg uint8) (uint16, error) { method initialize (line 156) | func (d *INA3221Driver) initialize() error { function NewINA3221Driver (line 56) | func NewINA3221Driver(c Connector, options ...func(Config)) *INA3221Driv... FILE: drivers/i2c/ina3221_driver_test.go function initTestINA3221DriverWithStubbedAdaptor (line 18) | func initTestINA3221DriverWithStubbedAdaptor() (*INA3221Driver, *i2cTest... function TestNewINA3221Driver (line 27) | func TestNewINA3221Driver(t *testing.T) { function TestINA3221Options (line 38) | func TestINA3221Options(t *testing.T) { function TestINA3221Start (line 45) | func TestINA3221Start(t *testing.T) { function TestINA3221Halt (line 50) | func TestINA3221Halt(t *testing.T) { function TestINA3221GetBusVoltage (line 59) | func TestINA3221GetBusVoltage(t *testing.T) { function TestINA3221GetBusVoltageReadError (line 72) | func TestINA3221GetBusVoltageReadError(t *testing.T) { function TestINA3221GetShuntVoltage (line 82) | func TestINA3221GetShuntVoltage(t *testing.T) { function TestINA3221GetShuntVoltageReadError (line 95) | func TestINA3221GetShuntVoltageReadError(t *testing.T) { function TestINA3221GetCurrent (line 105) | func TestINA3221GetCurrent(t *testing.T) { function TestINA3221CurrentReadError (line 118) | func TestINA3221CurrentReadError(t *testing.T) { function TestINA3221GetLoadVoltage (line 128) | func TestINA3221GetLoadVoltage(t *testing.T) { function TestINA3221GetLoadVoltageReadError (line 143) | func TestINA3221GetLoadVoltageReadError(t *testing.T) { FILE: drivers/i2c/jhd1313m1_driver.go constant REG_RED (line 13) | REG_RED = 0x04 constant REG_GREEN (line 14) | REG_GREEN = 0x03 constant REG_BLUE (line 15) | REG_BLUE = 0x02 constant LCD_CLEARDISPLAY (line 17) | LCD_CLEARDISPLAY = 0x01 constant LCD_RETURNHOME (line 18) | LCD_RETURNHOME = 0x02 constant LCD_ENTRYMODESET (line 19) | LCD_ENTRYMODESET = 0x04 constant LCD_DISPLAYCONTROL (line 20) | LCD_DISPLAYCONTROL = 0x08 constant LCD_CURSORSHIFT (line 21) | LCD_CURSORSHIFT = 0x10 constant LCD_FUNCTIONSET (line 22) | LCD_FUNCTIONSET = 0x20 constant LCD_SETCGRAMADDR (line 23) | LCD_SETCGRAMADDR = 0x40 constant LCD_SETDDRAMADDR (line 24) | LCD_SETDDRAMADDR = 0x80 constant LCD_ENTRYRIGHT (line 25) | LCD_ENTRYRIGHT = 0x00 constant LCD_ENTRYLEFT (line 26) | LCD_ENTRYLEFT = 0x02 constant LCD_ENTRYSHIFTINCREMENT (line 27) | LCD_ENTRYSHIFTINCREMENT = 0x01 constant LCD_ENTRYSHIFTDECREMENT (line 28) | LCD_ENTRYSHIFTDECREMENT = 0x00 constant LCD_DISPLAYON (line 29) | LCD_DISPLAYON = 0x04 constant LCD_DISPLAYOFF (line 30) | LCD_DISPLAYOFF = 0x00 constant LCD_CURSORON (line 31) | LCD_CURSORON = 0x02 constant LCD_CURSOROFF (line 32) | LCD_CURSOROFF = 0x00 constant LCD_BLINKON (line 33) | LCD_BLINKON = 0x01 constant LCD_BLINKOFF (line 34) | LCD_BLINKOFF = 0x00 constant LCD_DISPLAYMOVE (line 35) | LCD_DISPLAYMOVE = 0x08 constant LCD_CURSORMOVE (line 36) | LCD_CURSORMOVE = 0x00 constant LCD_MOVERIGHT (line 37) | LCD_MOVERIGHT = 0x04 constant LCD_MOVELEFT (line 38) | LCD_MOVELEFT = 0x00 constant LCD_2LINE (line 39) | LCD_2LINE = 0x08 constant LCD_CMD (line 40) | LCD_CMD = 0x80 constant LCD_DATA (line 41) | LCD_DATA = 0x40 constant LCD_2NDLINEOFFSET (line 43) | LCD_2NDLINEOFFSET = 0x40 type JHD1313M1Driver (line 78) | type JHD1313M1Driver struct method Name (line 145) | func (d *JHD1313M1Driver) Name() string { return d.name } method SetName (line 148) | func (d *JHD1313M1Driver) SetName(n string) { d.name = n } method Connection (line 151) | func (d *JHD1313M1Driver) Connection() gobot.Connection { method Start (line 166) | func (d *JHD1313M1Driver) Start() error { method SetRGB (line 237) | func (d *JHD1313M1Driver) SetRGB(r, g, b int) error { method Clear (line 248) | func (d *JHD1313M1Driver) Clear() error { method Home (line 253) | func (d *JHD1313M1Driver) Home() error { method Write (line 261) | func (d *JHD1313M1Driver) Write(message string) error { method SetPosition (line 281) | func (d *JHD1313M1Driver) SetPosition(pos int) error { method Scroll (line 296) | func (d *JHD1313M1Driver) Scroll(lr bool) error { method Halt (line 307) | func (d *JHD1313M1Driver) Halt() error { return nil } method SetCustomChar (line 317) | func (d *JHD1313M1Driver) SetCustomChar(pos int, charMap [8]byte) error { method setReg (line 329) | func (d *JHD1313M1Driver) setReg(command int, data int) error { method command (line 334) | func (d *JHD1313M1Driver) command(buf []byte) error { function NewJHD1313M1Driver (line 98) | func NewJHD1313M1Driver(a Connector, options ...func(Config)) *JHD1313M1... FILE: drivers/i2c/jhd1313m1_driver_test.go function initTestJHD1313M1Driver (line 17) | func initTestJHD1313M1Driver() *JHD1313M1Driver { function initTestJHD1313M1DriverWithStubbedAdaptor (line 22) | func initTestJHD1313M1DriverWithStubbedAdaptor() (*JHD1313M1Driver, *i2c... function TestNewJHD1313M1Driver (line 29) | func TestNewJHD1313M1Driver(t *testing.T) { function TestJHD1313M1Driver (line 39) | func TestJHD1313M1Driver(t *testing.T) { function TestJHD1313MDriverSetName (line 46) | func TestJHD1313MDriverSetName(t *testing.T) { function TestJHD1313MDriverOptions (line 52) | func TestJHD1313MDriverOptions(t *testing.T) { function TestJHD1313MDriverStart (line 57) | func TestJHD1313MDriverStart(t *testing.T) { function TestJHD1313MStartConnectError (line 62) | func TestJHD1313MStartConnectError(t *testing.T) { function TestJHD1313MDriverStartWriteError (line 68) | func TestJHD1313MDriverStartWriteError(t *testing.T) { function TestJHD1313MDriverHalt (line 76) | func TestJHD1313MDriverHalt(t *testing.T) { function TestJHD1313MDriverSetRgb (line 85) | func TestJHD1313MDriverSetRgb(t *testing.T) { function TestJHD1313MDriverSetRgbError (line 91) | func TestJHD1313MDriverSetRgbError(t *testing.T) { function TestJHD1313MDriverClear (line 101) | func TestJHD1313MDriverClear(t *testing.T) { function TestJHD1313MDriverClearError (line 107) | func TestJHD1313MDriverClearError(t *testing.T) { function TestJHD1313MDriverHome (line 117) | func TestJHD1313MDriverHome(t *testing.T) { function TestJHD1313MDriverWrite (line 123) | func TestJHD1313MDriverWrite(t *testing.T) { function TestJHD1313MDriverWriteError (line 129) | func TestJHD1313MDriverWriteError(t *testing.T) { function TestJHD1313MDriverWriteTwoLines (line 139) | func TestJHD1313MDriverWriteTwoLines(t *testing.T) { function TestJHD1313MDriverWriteTwoLinesError (line 145) | func TestJHD1313MDriverWriteTwoLinesError(t *testing.T) { function TestJHD1313MDriverSetPosition (line 155) | func TestJHD1313MDriverSetPosition(t *testing.T) { function TestJHD1313MDriverSetSecondLinePosition (line 161) | func TestJHD1313MDriverSetSecondLinePosition(t *testing.T) { function TestJHD1313MDriverSetPositionInvalid (line 167) | func TestJHD1313MDriverSetPositionInvalid(t *testing.T) { function TestJHD1313MDriverScroll (line 174) | func TestJHD1313MDriverScroll(t *testing.T) { function TestJHD1313MDriverReverseScroll (line 180) | func TestJHD1313MDriverReverseScroll(t *testing.T) { function TestJHD1313MDriverSetCustomChar (line 186) | func TestJHD1313MDriverSetCustomChar(t *testing.T) { function TestJHD1313MDriverSetCustomCharError (line 193) | func TestJHD1313MDriverSetCustomCharError(t *testing.T) { function TestJHD1313MDriverSetCustomCharWriteError (line 200) | func TestJHD1313MDriverSetCustomCharWriteError(t *testing.T) { function TestJHD1313MDriverCommands (line 211) | func TestJHD1313MDriverCommands(t *testing.T) { FILE: drivers/i2c/l3gd20h_driver.go constant l3gd20hDebug (line 11) | l3gd20hDebug = false constant l3gd20hDefaultAddress (line 12) | l3gd20hDefaultAddress = 0x6B constant l3gd20hReg_Ctl1 (line 16) | l3gd20hReg_Ctl1 = 0x20 constant l3gd20hReg_Ctl4 (line 17) | l3gd20hReg_Ctl4 = 0x23 constant l3gd20hReg_OutXLSB (line 18) | l3gd20hReg_OutXLSB = 0x28 constant l3gd20hCtl1_NormalModeBit (line 20) | l3gd20hCtl1_NormalModeBit = 0x08 constant l3gd20hCtl1_EnableZBit (line 21) | l3gd20hCtl1_EnableZBit = 0x04 constant l3gd20hCtl1_EnableYBit (line 22) | l3gd20hCtl1_EnableYBit = 0x02 constant l3gd20hCtl1_EnableXBit (line 23) | l3gd20hCtl1_EnableXBit = 0x01 constant l3gd20hCtl4_FullScaleRangeBits (line 25) | l3gd20hCtl4_FullScaleRangeBits = 0x30 type L3GD20HScale (line 29) | type L3GD20HScale constant L3GD20HScale250dps (line 33) | L3GD20HScale250dps L3GD20HScale = 0x00 constant L3GD20HScale500dps (line 35) | L3GD20HScale500dps L3GD20HScale = 0x10 constant L3GD20HScale2001dps (line 37) | L3GD20HScale2001dps L3GD20HScale = 0x20 constant L3GD20HScale2000dps (line 39) | L3GD20HScale2000dps L3GD20HScale = 0x30 type L3GD20HDriver (line 52) | type L3GD20HDriver struct method SetScale (line 94) | func (d *L3GD20HDriver) SetScale(s L3GD20HScale) { method Scale (line 99) | func (d *L3GD20HDriver) Scale() L3GD20HScale { method FullScaleRange (line 104) | func (d *L3GD20HDriver) FullScaleRange() (uint8, error) { method XYZ (line 118) | func (d *L3GD20HDriver) XYZ() (x float32, y float32, z float32, err er... method initialize (line 147) | func (d *L3GD20HDriver) initialize() error { function NewL3GD20HDriver (line 69) | func NewL3GD20HDriver(c Connector, options ...func(Config)) *L3GD20HDriv... function WithL3GD20HFullScaleRange (line 82) | func WithL3GD20HFullScaleRange(val L3GD20HScale) func(Config) { FILE: drivers/i2c/l3gd20h_driver_test.go function initL3GD20HDriver (line 18) | func initL3GD20HDriver() *L3GD20HDriver { function initL3GD20HWithStubbedAdaptor (line 23) | func initL3GD20HWithStubbedAdaptor() (*L3GD20HDriver, *i2cTestAdaptor) { function TestNewL3GD20HDriver (line 32) | func TestNewL3GD20HDriver(t *testing.T) { function TestL3GD20HHalt (line 44) | func TestL3GD20HHalt(t *testing.T) { function TestL3GD20HOptions (line 53) | func TestL3GD20HOptions(t *testing.T) { function TestL3GD20HWithL3GD20HFullScaleRange (line 60) | func TestL3GD20HWithL3GD20HFullScaleRange(t *testing.T) { function TestL3GD20HScale (line 94) | func TestL3GD20HScale(t *testing.T) { function TestL3GD20HFullScaleRange (line 128) | func TestL3GD20HFullScaleRange(t *testing.T) { function TestL3GD20HMeasurement (line 150) | func TestL3GD20HMeasurement(t *testing.T) { function TestL3GD20HMeasurementError (line 220) | func TestL3GD20HMeasurementError(t *testing.T) { function TestL3GD20HMeasurementWriteError (line 234) | func TestL3GD20HMeasurementWriteError(t *testing.T) { function TestL3GD20H_initialize (line 246) | func TestL3GD20H_initialize(t *testing.T) { FILE: drivers/i2c/lidarlite_driver.go constant lidarliteDefaultAddress (line 7) | lidarliteDefaultAddress = 0x62 type LIDARLiteDriver (line 10) | type LIDARLiteDriver struct method Distance (line 38) | func (d *LIDARLiteDriver) Distance() (int, error) { function NewLIDARLiteDriver (line 24) | func NewLIDARLiteDriver(c Connector, options ...func(Config)) *LIDARLite... FILE: drivers/i2c/lidarlite_driver_test.go function initTestLIDARLiteDriverWithStubbedAdaptor (line 19) | func initTestLIDARLiteDriverWithStubbedAdaptor() (*LIDARLiteDriver, *i2c... function TestNewLIDARLiteDriver (line 28) | func TestNewLIDARLiteDriver(t *testing.T) { function TestLIDARLiteDriverOptions (line 39) | func TestLIDARLiteDriverOptions(t *testing.T) { function TestLIDARLiteDriverStart (line 46) | func TestLIDARLiteDriverStart(t *testing.T) { function TestLIDARLiteDriverHalt (line 51) | func TestLIDARLiteDriverHalt(t *testing.T) { function TestLIDARLiteDriverDistance (line 60) | func TestLIDARLiteDriverDistance(t *testing.T) { function TestLIDARLiteDriverDistanceError1 (line 100) | func TestLIDARLiteDriverDistanceError1(t *testing.T) { function TestLIDARLiteDriverDistanceError2 (line 111) | func TestLIDARLiteDriverDistanceError2(t *testing.T) { function TestLIDARLiteDriverDistanceError3 (line 125) | func TestLIDARLiteDriverDistanceError3(t *testing.T) { FILE: drivers/i2c/mcp23017_driver.go constant mcp23017DefaultAddress (line 14) | mcp23017DefaultAddress = 0x20 constant mcp23017Debug (line 16) | mcp23017Debug = false type port (line 19) | type port struct type bank (line 37) | type bank struct type mcp23017Config (line 44) | type mcp23017Config struct method getUint8Value (line 421) | func (dc *mcp23017Config) getUint8Value() uint8 { type mcp23017Behavior (line 54) | type mcp23017Behavior struct type MCP23017Driver (line 60) | type MCP23017Driver struct method SetPinMode (line 237) | func (d *MCP23017Driver) SetPinMode(pin uint8, portStr string, val uin... method SetPullUp (line 249) | func (d *MCP23017Driver) SetPullUp(pin uint8, portStr string, val uint... method SetGPIOPolarity (line 260) | func (d *MCP23017Driver) SetGPIOPolarity(pin uint8, portStr string, va... method WriteGPIO (line 269) | func (d *MCP23017Driver) WriteGPIO(pin uint8, portStr string, val uint... method ReadGPIO (line 286) | func (d *MCP23017Driver) ReadGPIO(pin uint8, portStr string) (uint8, e... method initialize (line 309) | func (d *MCP23017Driver) initialize() error { method writePin (line 320) | func (d *MCP23017Driver) writePin(reg uint8, pin uint8, state bitState... method readReg (line 350) | func (d *MCP23017Driver) readReg(reg uint8) (uint8, error) { method getPort (line 364) | func (d *MCP23017Driver) getPort(portStr string) port { method getRegName (line 378) | func (d *MCP23017Driver) getRegName(reg uint8) string { function NewMCP23017Driver (line 84) | func NewMCP23017Driver(c Connector, options ...func(Config)) *MCP23017Dr... function WithMCP23017Bank (line 117) | func WithMCP23017Bank(val uint8) func(Config) { function WithMCP23017Mirror (line 129) | func WithMCP23017Mirror(val uint8) func(Config) { function WithMCP23017Seqop (line 141) | func WithMCP23017Seqop(val uint8) func(Config) { function WithMCP23017Disslw (line 153) | func WithMCP23017Disslw(val uint8) func(Config) { function WithMCP23017Haen (line 166) | func WithMCP23017Haen(val uint8) func(Config) { function WithMCP23017Odr (line 178) | func WithMCP23017Odr(val uint8) func(Config) { function WithMCP23017Intpol (line 190) | func WithMCP23017Intpol(val uint8) func(Config) { function WithMCP23017ForceRefresh (line 206) | func WithMCP23017ForceRefresh(val uint8) func(Config) { function WithMCP23017AutoIODirOff (line 223) | func WithMCP23017AutoIODirOff(val uint8) func(Config) { function mcp23017GetBank (line 426) | func mcp23017GetBank(bnk uint8) bank { FILE: drivers/i2c/mcp23017_driver_test.go function initTestMCP23017 (line 30) | func initTestMCP23017(b uint8) *MCP23017Driver { function initTestMCP23017WithStubbedAdaptor (line 37) | func initTestMCP23017WithStubbedAdaptor(b uint8) (*MCP23017Driver, *i2cT... function TestNewMCP23017Driver (line 47) | func TestNewMCP23017Driver(t *testing.T) { function TestMCP23017Halt (line 60) | func TestMCP23017Halt(t *testing.T) { function TestWithMCP23017Bank (line 67) | func TestWithMCP23017Bank(t *testing.T) { function TestWithMCP23017Mirror (line 72) | func TestWithMCP23017Mirror(t *testing.T) { function TestWithMCP23017Seqop (line 77) | func TestWithMCP23017Seqop(t *testing.T) { function TestWithMCP23017Disslw (line 82) | func TestWithMCP23017Disslw(t *testing.T) { function TestWithMCP23017Haen (line 87) | func TestWithMCP23017Haen(t *testing.T) { function TestWithMCP23017Odr (line 92) | func TestWithMCP23017Odr(t *testing.T) { function TestWithMCP23017Intpol (line 97) | func TestWithMCP23017Intpol(t *testing.T) { function TestWithMCP23017ForceRefresh (line 102) | func TestWithMCP23017ForceRefresh(t *testing.T) { function TestWithMCP23017AutoIODirOff (line 107) | func TestWithMCP23017AutoIODirOff(t *testing.T) { function TestMCP23017CommandsWriteGPIO (line 112) | func TestMCP23017CommandsWriteGPIO(t *testing.T) { function TestMCP23017CommandsReadGPIO (line 121) | func TestMCP23017CommandsReadGPIO(t *testing.T) { function TestMCP23017WriteGPIO (line 130) | func TestMCP23017WriteGPIO(t *testing.T) { function TestMCP23017WriteGPIONoRefresh (line 174) | func TestMCP23017WriteGPIONoRefresh(t *testing.T) { function TestMCP23017WriteGPIONoAutoDir (line 209) | func TestMCP23017WriteGPIONoAutoDir(t *testing.T) { function TestMCP23017CommandsWriteGPIOErrIODIR (line 247) | func TestMCP23017CommandsWriteGPIOErrIODIR(t *testing.T) { function TestMCP23017CommandsWriteGPIOErrOLAT (line 259) | func TestMCP23017CommandsWriteGPIOErrOLAT(t *testing.T) { function TestMCP23017ReadGPIO (line 276) | func TestMCP23017ReadGPIO(t *testing.T) { function TestMCP23017ReadGPIONoRefresh (line 316) | func TestMCP23017ReadGPIONoRefresh(t *testing.T) { function TestMCP23017ReadGPIONoAutoDir (line 352) | func TestMCP23017ReadGPIONoAutoDir(t *testing.T) { function TestMCP23017ReadGPIOErr (line 386) | func TestMCP23017ReadGPIOErr(t *testing.T) { function TestMCP23017SetPinMode (line 399) | func TestMCP23017SetPinMode(t *testing.T) { function TestMCP23017SetPinModeErr (line 437) | func TestMCP23017SetPinModeErr(t *testing.T) { function TestMCP23017SetPullUp (line 449) | func TestMCP23017SetPullUp(t *testing.T) { function TestMCP23017SetPullUpErr (line 487) | func TestMCP23017SetPullUpErr(t *testing.T) { function TestMCP23017SetGPIOPolarity (line 499) | func TestMCP23017SetGPIOPolarity(t *testing.T) { function TestMCP23017SetGPIOPolarityErr (line 537) | func TestMCP23017SetGPIOPolarityErr(t *testing.T) { function TestMCP23017_write (line 549) | func TestMCP23017_write(t *testing.T) { function TestMCP23017_read (line 584) | func TestMCP23017_read(t *testing.T) { function TestMCP23017_getPort (line 616) | func TestMCP23017_getPort(t *testing.T) { FILE: drivers/i2c/mfrc522_driver.go constant mfrc522DefaultAddress (line 7) | mfrc522DefaultAddress = 0x00 type MFRC522Driver (line 11) | type MFRC522Driver struct method initialize (line 38) | func (d *MFRC522Driver) initialize() error { function NewMFRC522Driver (line 26) | func NewMFRC522Driver(c Connector, options ...func(Config)) *MFRC522Driv... FILE: drivers/i2c/mma7660_driver.go constant mma7660DefaultAddress (line 3) | mma7660DefaultAddress = 0x4c constant MMA7660_X (line 6) | MMA7660_X = 0x00 constant MMA7660_Y (line 7) | MMA7660_Y = 0x01 constant MMA7660_Z (line 8) | MMA7660_Z = 0x02 constant MMA7660_TILT (line 9) | MMA7660_TILT = 0x03 constant MMA7660_SRST (line 10) | MMA7660_SRST = 0x04 constant MMA7660_SPCNT (line 11) | MMA7660_SPCNT = 0x05 constant MMA7660_INTSU (line 12) | MMA7660_INTSU = 0x06 constant MMA7660_MODE (line 13) | MMA7660_MODE = 0x07 constant MMA7660_STAND_BY (line 14) | MMA7660_STAND_BY = 0x00 constant MMA7660_ACTIVE (line 15) | MMA7660_ACTIVE = 0x01 constant MMA7660_SR (line 16) | MMA7660_SR = 0x08 constant MMA7660_AUTO_SLEEP_120 (line 17) | MMA7660_AUTO_SLEEP_120 = 0x00 constant MMA7660_AUTO_SLEEP_64 (line 18) | MMA7660_AUTO_SLEEP_64 = 0x01 constant MMA7660_AUTO_SLEEP_32 (line 19) | MMA7660_AUTO_SLEEP_32 = 0x02 constant MMA7660_AUTO_SLEEP_16 (line 20) | MMA7660_AUTO_SLEEP_16 = 0x03 constant MMA7660_AUTO_SLEEP_8 (line 21) | MMA7660_AUTO_SLEEP_8 = 0x04 constant MMA7660_AUTO_SLEEP_4 (line 22) | MMA7660_AUTO_SLEEP_4 = 0x05 constant MMA7660_AUTO_SLEEP_2 (line 23) | MMA7660_AUTO_SLEEP_2 = 0x06 constant MMA7660_AUTO_SLEEP_1 (line 24) | MMA7660_AUTO_SLEEP_1 = 0x07 constant MMA7660_PDET (line 25) | MMA7660_PDET = 0x09 constant MMA7660_PD (line 26) | MMA7660_PD = 0x0A type MMA7660Driver (line 29) | type MMA7660Driver struct method Acceleration (line 59) | func (d *MMA7660Driver) Acceleration(x, y, z float64) (ax, ay, az floa... method XYZ (line 66) | func (d *MMA7660Driver) XYZ() (x float64, y float64, z float64, err er... method initialize (line 92) | func (d *MMA7660Driver) initialize() error { function NewMMA7660Driver (line 42) | func NewMMA7660Driver(c Connector, options ...func(Config)) *MMA7660Driv... FILE: drivers/i2c/mma7660_driver_test.go function initTestMMA7660DriverWithStubbedAdaptor (line 19) | func initTestMMA7660DriverWithStubbedAdaptor() (*MMA7660Driver, *i2cTest... function TestNewMMA7660Driver (line 28) | func TestNewMMA7660Driver(t *testing.T) { function TestMMA7660Options (line 39) | func TestMMA7660Options(t *testing.T) { function TestMMA7660Start (line 46) | func TestMMA7660Start(t *testing.T) { function TestMMA7660Halt (line 51) | func TestMMA7660Halt(t *testing.T) { function TestMMA7660Acceleration (line 60) | func TestMMA7660Acceleration(t *testing.T) { function TestMMA7660NullXYZ (line 68) | func TestMMA7660NullXYZ(t *testing.T) { function TestMMA7660XYZ (line 77) | func TestMMA7660XYZ(t *testing.T) { function TestMMA7660XYZError (line 92) | func TestMMA7660XYZError(t *testing.T) { function TestMMA7660XYZNotReady (line 105) | func TestMMA7660XYZNotReady(t *testing.T) { FILE: drivers/i2c/mpl115a2_driver.go constant mpl115a2DefaultAddress (line 11) | mpl115a2DefaultAddress = 0x60 constant mpl115A2Reg_PressureMSB (line 14) | mpl115A2Reg_PressureMSB = 0x00 constant mpl115A2Reg_PressureLSB (line 15) | mpl115A2Reg_PressureLSB = 0x01 constant mpl115A2Reg_TempMSB (line 16) | mpl115A2Reg_TempMSB = 0x02 constant mpl115A2Reg_TempLSB (line 17) | mpl115A2Reg_TempLSB = 0x03 constant mpl115A2Reg_A0_MSB (line 19) | mpl115A2Reg_A0_MSB = 0x04 constant mpl115A2Reg_A0_LSB (line 20) | mpl115A2Reg_A0_LSB = 0x05 constant mpl115A2Reg_B1_MSB (line 21) | mpl115A2Reg_B1_MSB = 0x06 constant mpl115A2Reg_B1_LSB (line 22) | mpl115A2Reg_B1_LSB = 0x07 constant mpl115A2Reg_B2_MSB (line 23) | mpl115A2Reg_B2_MSB = 0x08 constant mpl115A2Reg_B2_LSB (line 24) | mpl115A2Reg_B2_LSB = 0x09 constant mpl115A2Reg_C12_MSB (line 25) | mpl115A2Reg_C12_MSB = 0x0A constant mpl115A2Reg_C12_LSB (line 26) | mpl115A2Reg_C12_LSB = 0x0B constant mpl115A2Reg_StartConversion (line 28) | mpl115A2Reg_StartConversion = 0x12 type MPL115A2Driver (line 37) | type MPL115A2Driver struct method Pressure (line 76) | func (d *MPL115A2Driver) Pressure() (float32, error) { method Temperature (line 85) | func (d *MPL115A2Driver) Temperature() (float32, error) { method initialization (line 93) | func (d *MPL115A2Driver) initialization() error { method getData (line 131) | func (d *MPL115A2Driver) getData() (p, t float32, err error) { function NewMPL115A2Driver (line 58) | func NewMPL115A2Driver(c Connector, options ...func(Config)) *MPL115A2Dr... FILE: drivers/i2c/mpl115a2_driver_test.go function initTestMPL115A2DriverWithStubbedAdaptor (line 18) | func initTestMPL115A2DriverWithStubbedAdaptor() (*MPL115A2Driver, *i2cTe... function TestNewMPL115A2Driver (line 23) | func TestNewMPL115A2Driver(t *testing.T) { function TestMPL115A2Options (line 34) | func TestMPL115A2Options(t *testing.T) { function TestMPL115A2Halt (line 41) | func TestMPL115A2Halt(t *testing.T) { function TestMPL115A2ReadData (line 50) | func TestMPL115A2ReadData(t *testing.T) { function TestMPL115A2ReadDataError (line 106) | func TestMPL115A2ReadDataError(t *testing.T) { function TestMPL115A2_initialization (line 118) | func TestMPL115A2_initialization(t *testing.T) { FILE: drivers/i2c/mpu6050_driver.go constant mpu6050Debug (line 12) | mpu6050Debug = false constant mpu6050DefaultAddress (line 13) | mpu6050DefaultAddress = 0x68 constant mpu6050EarthStandardGravity (line 14) | mpu6050EarthStandardGravity = 9.80665 type MPU6050DlpfConfig (line 18) | type MPU6050DlpfConfig type MPU6050FrameSyncConfig (line 19) | type MPU6050FrameSyncConfig type MPU6050GyroFsConfig (line 20) | type MPU6050GyroFsConfig type MPU6050AccelFsConfig (line 21) | type MPU6050AccelFsConfig type MPU6050Pwr1ClockConfig (line 22) | type MPU6050Pwr1ClockConfig constant mpu6050Reg_GeneralConfig (line 26) | mpu6050Reg_GeneralConfig = 0x1A constant mpu6050Reg_GyroConfig (line 27) | mpu6050Reg_GyroConfig = 0x1B constant mpu6050Reg_AccelConfig (line 28) | mpu6050Reg_AccelConfig = 0x1C constant mpu6050Reg_AccelXoutH (line 29) | mpu6050Reg_AccelXoutH = 0x3B constant mpu6050Reg_SignalPathReset (line 30) | mpu6050Reg_SignalPathReset = 0x68 constant mpu6050Reg_PwrMgmt1 (line 31) | mpu6050Reg_PwrMgmt1 = 0x6B constant MPU6050General_Dlpf260Hz (line 33) | MPU6050General_Dlpf260Hz MPU6050DlpfConfig = 0x00 constant MPU6050General_Dlpf184Hz (line 34) | MPU6050General_Dlpf184Hz MPU6050DlpfConfig = 0x01 constant MPU6050General_Dlpf94Hz (line 35) | MPU6050General_Dlpf94Hz MPU6050DlpfConfig = 0x02 constant MPU6050General_Dlpf44Hz (line 36) | MPU6050General_Dlpf44Hz MPU6050DlpfConfig = 0x03 constant MPU6050General_Dlpf21Hz (line 37) | MPU6050General_Dlpf21Hz MPU6050DlpfConfig = 0x04 constant MPU6050General_Dlpf10Hz (line 38) | MPU6050General_Dlpf10Hz MPU6050DlpfConfig = 0x05 constant MPU6050General_Dlpf5Hz (line 39) | MPU6050General_Dlpf5Hz MPU6050DlpfConfig = 0x06 constant MPU6050General_FrameSyncDisabled (line 41) | MPU6050General_FrameSyncDisabled MPU6050FrameSyncConfig = 0x00 constant MPU6050General_FrameSyncTemp (line 42) | MPU6050General_FrameSyncTemp MPU6050FrameSyncConfig = 0x01 constant MPU6050General_FrameSyncGyroX (line 43) | MPU6050General_FrameSyncGyroX MPU6050FrameSyncConfig = 0x02 constant MPU6050General_FrameSyncGyroY (line 44) | MPU6050General_FrameSyncGyroY MPU6050FrameSyncConfig = 0x03 constant MPU6050General_FrameSyncGyroZ (line 45) | MPU6050General_FrameSyncGyroZ MPU6050FrameSyncConfig = 0x04 constant MPU6050General_FrameSyncAccelX (line 46) | MPU6050General_FrameSyncAccelX MPU6050FrameSyncConfig = 0x05 constant MPU6050General_FrameSyncAccelY (line 47) | MPU6050General_FrameSyncAccelY MPU6050FrameSyncConfig = 0x06 constant MPU6050General_FrameSyncAccelZ (line 48) | MPU6050General_FrameSyncAccelZ MPU6050FrameSyncConfig = 0x07 constant MPU6050Gyro_FsSel250dps (line 50) | MPU6050Gyro_FsSel250dps MPU6050GyroFsConfig = 0x00 constant MPU6050Gyro_FsSel500dps (line 51) | MPU6050Gyro_FsSel500dps MPU6050GyroFsConfig = 0x01 constant MPU6050Gyro_FsSel1000dps (line 52) | MPU6050Gyro_FsSel1000dps MPU6050GyroFsConfig = 0x02 constant MPU6050Gyro_FsSel2000dps (line 53) | MPU6050Gyro_FsSel2000dps MPU6050GyroFsConfig = 0x03 constant MPU6050Accel_AFsSel2g (line 55) | MPU6050Accel_AFsSel2g MPU6050AccelFsConfig = 0x00 constant MPU6050Accel_AFsSel4g (line 56) | MPU6050Accel_AFsSel4g MPU6050AccelFsConfig = 0x01 constant MPU6050Accel_AFsSel8g (line 57) | MPU6050Accel_AFsSel8g MPU6050AccelFsConfig = 0x02 constant MPU6050Accel_AFsSel16g (line 58) | MPU6050Accel_AFsSel16g MPU6050AccelFsConfig = 0x03 constant mpu6050SignalReset_TempBit (line 60) | mpu6050SignalReset_TempBit = 0x01 constant mpu6050SignalReset_AccelBit (line 61) | mpu6050SignalReset_AccelBit = 0x02 constant mpu6050SignalReset_GyroBit (line 62) | mpu6050SignalReset_GyroBit = 0x04 constant MPU6050Pwr1_ClockIntern8G (line 64) | MPU6050Pwr1_ClockIntern8G MPU6050Pwr1ClockConfig = 0x00 constant MPU6050Pwr1_ClockPllXGyro (line 65) | MPU6050Pwr1_ClockPllXGyro MPU6050Pwr1ClockConfig = 0x01 constant MPU6050Pwr1_ClockPllYGyro (line 66) | MPU6050Pwr1_ClockPllYGyro MPU6050Pwr1ClockConfig = 0x02 constant MPU6050Pwr1_ClockPllZGyro (line 67) | MPU6050Pwr1_ClockPllZGyro MPU6050Pwr1ClockConfig = 0x03 constant MPU6050Pwr1_ClockPllExt32K (line 68) | MPU6050Pwr1_ClockPllExt32K MPU6050Pwr1ClockConfig = 0x04 constant MPU6050Pwr1_ClockPllExt19M (line 69) | MPU6050Pwr1_ClockPllExt19M MPU6050Pwr1ClockConfig = 0x05 constant MPU6050Pwr1_ClockStop (line 70) | MPU6050Pwr1_ClockStop MPU6050Pwr1ClockConfig = 0x07 constant mpu6050Pwr1_SleepOnBit (line 72) | mpu6050Pwr1_SleepOnBit = 0x40 constant mpu6050Pwr1_DeviceResetBit (line 73) | mpu6050Pwr1_DeviceResetBit = 0x80 type MPU6050ThreeDData (line 76) | type MPU6050ThreeDData struct type MPU6050Driver (line 93) | type MPU6050Driver struct method GetData (line 226) | func (d *MPU6050Driver) GetData() error { method waitForReset (line 273) | func (d *MPU6050Driver) waitForReset() error { method initialize (line 287) | func (d *MPU6050Driver) initialize() error { function NewMPU6050Driver (line 133) | func NewMPU6050Driver(a Connector, options ...func(Config)) *MPU6050Driv... function WithMPU6050DigitalFilter (line 155) | func WithMPU6050DigitalFilter(val MPU6050DlpfConfig) func(Config) { function WithMPU6050FrameSync (line 167) | func WithMPU6050FrameSync(val MPU6050FrameSyncConfig) func(Config) { function WithMPU6050AccelFullScaleRange (line 179) | func WithMPU6050AccelFullScaleRange(val MPU6050AccelFsConfig) func(Confi... function WithMPU6050GyroFullScaleRange (line 191) | func WithMPU6050GyroFullScaleRange(val MPU6050GyroFsConfig) func(Config) { function WithMPU6050ClockSource (line 203) | func WithMPU6050ClockSource(val MPU6050Pwr1ClockConfig) func(Config) { function WithMPU6050Gravity (line 215) | func WithMPU6050Gravity(val float64) func(Config) { FILE: drivers/i2c/mpu6050_driver_test.go function initTestMPU6050WithStubbedAdaptor (line 18) | func initTestMPU6050WithStubbedAdaptor() (*MPU6050Driver, *i2cTestAdapto... function TestNewMPU6050Driver (line 27) | func TestNewMPU6050Driver(t *testing.T) { function TestMPU6050Options (line 44) | func TestMPU6050Options(t *testing.T) { function TestMPU6050Halt (line 52) | func TestMPU6050Halt(t *testing.T) { function TestWithMPU6050FrameSync (line 61) | func TestWithMPU6050FrameSync(t *testing.T) { function TestWithMPU6050AccelFullScaleRange (line 66) | func TestWithMPU6050AccelFullScaleRange(t *testing.T) { function TestWithMPU6050GyroFullScaleRange (line 71) | func TestWithMPU6050GyroFullScaleRange(t *testing.T) { function TestWithMPU6050ClockSource (line 76) | func TestWithMPU6050ClockSource(t *testing.T) { function TestWithMPU6050Gravity (line 81) | func TestWithMPU6050Gravity(t *testing.T) { function TestMPU6050GetData (line 86) | func TestMPU6050GetData(t *testing.T) { function TestMPU6050GetDataReadError (line 130) | func TestMPU6050GetDataReadError(t *testing.T) { function TestMPU6050GetDataWriteError (line 141) | func TestMPU6050GetDataWriteError(t *testing.T) { function TestMPU6050_initialize (line 152) | func TestMPU6050_initialize(t *testing.T) { FILE: drivers/i2c/pca9501_driver.go constant pca9501DefaultAddress (line 13) | pca9501DefaultAddress = 0x3F type PCA9501Driver (line 21) | type PCA9501Driver struct method WriteGPIO (line 77) | func (d *PCA9501Driver) WriteGPIO(pin uint8, val uint8) error { method ReadGPIO (line 114) | func (d *PCA9501Driver) ReadGPIO(pin uint8) (uint8, error) { method ReadEEPROM (line 145) | func (d *PCA9501Driver) ReadEEPROM(address uint8) (uint8, error) { method WriteEEPROM (line 153) | func (d *PCA9501Driver) WriteEEPROM(address uint8, val uint8) error { method initialize (line 160) | func (d *PCA9501Driver) initialize() error { function NewPCA9501Driver (line 36) | func NewPCA9501Driver(a Connector, options ...func(Config)) *PCA9501Driv... FILE: drivers/i2c/pca9501_driver_test.go function initPCA9501WithStubbedAdaptor (line 36) | func initPCA9501WithStubbedAdaptor() (*PCA9501Driver, *i2cTestAdaptor) { function TestNewPCA9501Driver (line 45) | func TestNewPCA9501Driver(t *testing.T) { function TestPCA9501Options (line 58) | func TestPCA9501Options(t *testing.T) { function TestPCA9501Halt (line 65) | func TestPCA9501Halt(t *testing.T) { function TestPCA9501CommandsWriteGPIO (line 74) | func TestPCA9501CommandsWriteGPIO(t *testing.T) { function TestPCA9501CommandsReadGPIO (line 89) | func TestPCA9501CommandsReadGPIO(t *testing.T) { function TestPCA9501CommandsWriteEEPROM (line 101) | func TestPCA9501CommandsWriteEEPROM(t *testing.T) { function TestPCA9501CommandsReadEEPROM (line 113) | func TestPCA9501CommandsReadEEPROM(t *testing.T) { function TestPCA9501WriteGPIO (line 128) | func TestPCA9501WriteGPIO(t *testing.T) { function TestPCA9501WriteGPIOErrorAtWriteDirection (line 184) | func TestPCA9501WriteGPIOErrorAtWriteDirection(t *testing.T) { function TestPCA9501WriteGPIOErrorAtWriteValue (line 212) | func TestPCA9501WriteGPIOErrorAtWriteValue(t *testing.T) { function TestPCA9501ReadGPIO (line 237) | func TestPCA9501ReadGPIO(t *testing.T) { function TestPCA9501ReadGPIOErrorAtReadDirection (line 278) | func TestPCA9501ReadGPIOErrorAtReadDirection(t *testing.T) { function TestPCA9501ReadGPIOErrorAtReadValue (line 306) | func TestPCA9501ReadGPIOErrorAtReadValue(t *testing.T) { function TestPCA9501WriteEEPROM (line 333) | func TestPCA9501WriteEEPROM(t *testing.T) { function TestPCA9501ReadEEPROM (line 355) | func TestPCA9501ReadEEPROM(t *testing.T) { function TestPCA9501ReadEEPROMErrorWhileWriteAddress (line 385) | func TestPCA9501ReadEEPROMErrorWhileWriteAddress(t *testing.T) { function TestPCA9501ReadEEPROMErrorWhileReadValue (line 406) | func TestPCA9501ReadEEPROMErrorWhileReadValue(t *testing.T) { function TestPCA9501_initialize (line 427) | func TestPCA9501_initialize(t *testing.T) { FILE: drivers/i2c/pca953x_driver.go constant pca953xDebug (line 9) | pca953xDebug = false constant pca953xDefaultAddress (line 10) | pca953xDefaultAddress = 0x63 type pca953xRegister (line 13) | type pca953xRegister type PCA953xGPIOMode (line 16) | type PCA953xGPIOMode constant pca953xRegInp (line 19) | pca953xRegInp pca953xRegister = 0x00 constant pca953xRegPsc0 (line 20) | pca953xRegPsc0 pca953xRegister = 0x01 constant pca953xRegPwm0 (line 21) | pca953xRegPwm0 pca953xRegister = 0x02 constant pca953xRegPsc1 (line 22) | pca953xRegPsc1 pca953xRegister = 0x03 constant pca953xRegPwm1 (line 23) | pca953xRegPwm1 pca953xRegister = 0x04 constant pca953xRegLs0 (line 24) | pca953xRegLs0 pca953xRegister = 0x05 constant pca953xRegLs1 (line 25) | pca953xRegLs1 pca953xRegister = 0x06 constant pca953xAiMask (line 27) | pca953xAiMask = 0x10 constant PCA953xModeHighImpedance (line 30) | PCA953xModeHighImpedance PCA953xGPIOMode = 0x00 constant PCA953xModeLowImpedance (line 32) | PCA953xModeLowImpedance PCA953xGPIOMode = 0x01 constant PCA953xModePwm0 (line 34) | PCA953xModePwm0 PCA953xGPIOMode = 0x02 constant PCA953xModePwm1 (line 36) | PCA953xModePwm1 PCA953xGPIOMode = 0x03 type PCA953xDriver (line 65) | type PCA953xDriver struct method SetLED (line 92) | func (d *PCA953xDriver) SetLED(idx uint8, mode PCA953xGPIOMode) error { method WriteGPIO (line 100) | func (d *PCA953xDriver) WriteGPIO(idx uint8, val uint8) error { method ReadGPIO (line 113) | func (d *PCA953xDriver) ReadGPIO(idx uint8) (uint8, error) { method WritePeriod (line 131) | func (d *PCA953xDriver) WritePeriod(idx uint8, valSec float32) error { method ReadPeriod (line 148) | func (d *PCA953xDriver) ReadPeriod(idx uint8) (float32, error) { method WriteFrequency (line 164) | func (d *PCA953xDriver) WriteFrequency(idx uint8, valHz float32) error { method ReadFrequency (line 181) | func (d *PCA953xDriver) ReadFrequency(idx uint8) (float32, error) { method WriteDutyCyclePercent (line 198) | func (d *PCA953xDriver) WriteDutyCyclePercent(idx uint8, valPercent fl... method ReadDutyCyclePercent (line 214) | func (d *PCA953xDriver) ReadDutyCyclePercent(idx uint8) (float32, erro... method writeLED (line 230) | func (d *PCA953xDriver) writeLED(idx uint8, mode PCA953xGPIOMode) error { method writeRegister (line 251) | func (d *PCA953xDriver) writeRegister(regAddress pca953xRegister, val ... method readRegister (line 258) | func (d *PCA953xDriver) readRegister(regAddress pca953xRegister) (uint... function NewPCA953xDriver (line 78) | func NewPCA953xDriver(c Connector, options ...func(Config)) *PCA953xDriv... function pca953xCalcPsc (line 264) | func pca953xCalcPsc(valSec float32) (uint8, error) { function pca953xCalcPeriod (line 277) | func pca953xCalcPeriod(psc uint8) float32 { function pca953xCalcPwm (line 281) | func pca953xCalcPwm(valPercent float32) (uint8, error) { function pca953xCalcDutyCyclePercent (line 294) | func pca953xCalcDutyCyclePercent(pwm uint8) float32 { FILE: drivers/i2c/pca953x_driver_test.go function initPCA953xTestDriverWithStubbedAdaptor (line 19) | func initPCA953xTestDriverWithStubbedAdaptor() (*PCA953xDriver, *i2cTest... function TestNewPCA953xDriver (line 26) | func TestNewPCA953xDriver(t *testing.T) { function TestPCA953xHalt (line 39) | func TestPCA953xHalt(t *testing.T) { function TestPCA953xWriteGPIO (line 48) | func TestPCA953xWriteGPIO(t *testing.T) { function TestPCA953xReadGPIO (line 119) | func TestPCA953xReadGPIO(t *testing.T) { function TestPCA953xWritePeriod (line 180) | func TestPCA953xWritePeriod(t *testing.T) { function TestPCA953xReadPeriod (line 220) | func TestPCA953xReadPeriod(t *testing.T) { function TestPCA953xWriteFrequency (line 271) | func TestPCA953xWriteFrequency(t *testing.T) { function TestPCA953xReadFrequency (line 311) | func TestPCA953xReadFrequency(t *testing.T) { function TestPCA953xWriteDutyCyclePercent (line 362) | func TestPCA953xWriteDutyCyclePercent(t *testing.T) { function TestPCA953xReadDutyCyclePercent (line 402) | func TestPCA953xReadDutyCyclePercent(t *testing.T) { function TestPCA953x_readRegister (line 453) | func TestPCA953x_readRegister(t *testing.T) { function TestPCA953x_writeRegister (line 488) | func TestPCA953x_writeRegister(t *testing.T) { function TestPCA953x_pca953xCalcPsc (line 513) | func TestPCA953x_pca953xCalcPsc(t *testing.T) { function TestPCA953x_pca953xCalcPeriod (line 537) | func TestPCA953x_pca953xCalcPeriod(t *testing.T) { function TestPCA953x_pca953xCalcPwm (line 558) | func TestPCA953x_pca953xCalcPwm(t *testing.T) { function TestPCA953x_pca953xCalcDutyCyclePercent (line 583) | func TestPCA953x_pca953xCalcDutyCyclePercent(t *testing.T) { FILE: drivers/i2c/pca9685_driver.go constant pca9685DefaultAddress (line 10) | pca9685DefaultAddress = 0x40 constant pca9685Mode1Reg (line 13) | pca9685Mode1Reg = 0x00 constant pca9685Mode2Reg (line 14) | pca9685Mode2Reg = 0x01 constant pca9685Subadr1Reg (line 15) | pca9685Subadr1Reg = 0x02 constant pca9685Subadr2Reg (line 16) | pca9685Subadr2Reg = 0x03 constant pca9685Subadr3Reg (line 17) | pca9685Subadr3Reg = 0x04 constant pca9685Led0OnLReg (line 18) | pca9685Led0OnLReg = 0x06 constant pca9685Led0OnHReg (line 19) | pca9685Led0OnHReg = 0x07 constant pca9685Led0OffLReg (line 20) | pca9685Led0OffLReg = 0x08 constant pca9685Led0OffHReg (line 21) | pca9685Led0OffHReg = 0x09 constant pca9685AllLedOnLReg (line 22) | pca9685AllLedOnLReg = 0xFA constant pca9685AllLedOnHReg (line 23) | pca9685AllLedOnHReg = 0xFB constant pca9685AllLedOffLReg (line 24) | pca9685AllLedOffLReg = 0xFC constant pca9685AllLedOffHReg (line 25) | pca9685AllLedOffHReg = 0xFD constant pca9685PrescaleReg (line 26) | pca9685PrescaleReg = 0xFE constant pca9685Mode1RegRestartBit (line 28) | pca9685Mode1RegRestartBit = 0x80 constant pca9685Mode1RegSleepBit (line 29) | pca9685Mode1RegSleepBit = 0x10 constant pca9685Mode1RegAllCallBit (line 30) | pca9685Mode1RegAllCallBit = 0x01 constant pca9685Mode2RegInvertBit (line 31) | pca9685Mode2RegInvertBit = 0x10 constant pca9685Mode2RegOutdrvBit (line 32) | pca9685Mode2RegOutdrvBit = 0x04 constant pca9685AllLedOffHRegShutDown (line 33) | pca9685AllLedOffHRegShutDown = 0x10 type PCA9685Driver (line 40) | type PCA9685Driver struct method SetPWM (line 100) | func (d *PCA9685Driver) SetPWM(channel int, on uint16, off uint16) err... method SetAllPWM (line 124) | func (d *PCA9685Driver) SetAllPWM(on uint16, off uint16) error { method SetPWMFreq (line 142) | func (d *PCA9685Driver) SetPWMFreq(freq float32) error { method PwmWrite (line 188) | func (d *PCA9685Driver) PwmWrite(pin string, val byte) error { method ServoWrite (line 200) | func (d *PCA9685Driver) ServoWrite(pin string, val byte) error { method initialize (line 213) | func (d *PCA9685Driver) initialize() error { method shutdown (line 249) | func (d *PCA9685Driver) shutdown() error { function NewPCA9685Driver (line 53) | func NewPCA9685Driver(c Connector, options ...func(Config)) *PCA9685Driv... FILE: drivers/i2c/pca9685_driver_test.go function initTestPCA9685WithStubbedAdaptor (line 25) | func initTestPCA9685WithStubbedAdaptor() (*PCA9685Driver, *i2cTestAdapto... function TestNewPCA9685Driver (line 34) | func TestNewPCA9685Driver(t *testing.T) { function TestPCA9685Options (line 44) | func TestPCA9685Options(t *testing.T) { function TestPCA9685Start (line 53) | func TestPCA9685Start(t *testing.T) { function TestPCA9685StartError (line 65) | func TestPCA9685StartError(t *testing.T) { function TestPCA9685Halt (line 76) | func TestPCA9685Halt(t *testing.T) { function TestPCA9685HaltError (line 89) | func TestPCA9685HaltError(t *testing.T) { function TestPCA9685HaltIdempotent (line 99) | func TestPCA9685HaltIdempotent(t *testing.T) { function TestPCA9685SetPWM (line 108) | func TestPCA9685SetPWM(t *testing.T) { function TestPCA9685SetPWMError (line 149) | func TestPCA9685SetPWMError(t *testing.T) { function TestPCA9685SetAllPWM (line 159) | func TestPCA9685SetAllPWM(t *testing.T) { function TestPCA9685SetAllPWMError (line 203) | func TestPCA9685SetAllPWMError(t *testing.T) { function TestPCA9685SetPWMFreq (line 213) | func TestPCA9685SetPWMFreq(t *testing.T) { function TestPCA9685SetPWMFreqReadError (line 281) | func TestPCA9685SetPWMFreqReadError(t *testing.T) { function TestPCA9685SetPWMFreqWriteError (line 291) | func TestPCA9685SetPWMFreqWriteError(t *testing.T) { function TestPCA9685Commands (line 301) | func TestPCA9685Commands(t *testing.T) { function TestPCA9685_initialize (line 311) | func TestPCA9685_initialize(t *testing.T) { FILE: drivers/i2c/pcf8583_driver.go constant pcf8583Debug (line 10) | pcf8583Debug = false constant pcf8583DefaultAddress (line 14) | pcf8583DefaultAddress = 0x50 constant pcf8583RamOffset (line 17) | pcf8583RamOffset = 0x10 type PCF8583Control (line 21) | type PCF8583Control method isClockMode (line 319) | func (c PCF8583Control) isClockMode() bool { method isCounterMode (line 323) | func (c PCF8583Control) isCounterMode() bool { method isModeDiffer (line 329) | func (c PCF8583Control) isModeDiffer(mode PCF8583Control) bool { constant pcf8583Reg_CTRL (line 25) | pcf8583Reg_CTRL = iota constant pcf8583Reg_SUBSEC_D0D1 (line 26) | pcf8583Reg_SUBSEC_D0D1 constant pcf8583Reg_SEC_D2D3 (line 27) | pcf8583Reg_SEC_D2D3 constant pcf8583Reg_MIN_D4D5 (line 28) | pcf8583Reg_MIN_D4D5 constant pcf8583Reg_HOUR (line 29) | pcf8583Reg_HOUR constant pcf8583Reg_YEARDATE (line 30) | pcf8583Reg_YEARDATE constant pcf8583Reg_WEEKDAYMONTH (line 31) | pcf8583Reg_WEEKDAYMONTH constant pcf8583Reg_TIMER (line 32) | pcf8583Reg_TIMER constant pcf8583Reg_ALARMCTRL (line 33) | pcf8583Reg_ALARMCTRL constant pcf8583CtrlTimerFlag (line 35) | pcf8583CtrlTimerFlag PCF8583Control = 0x01 constant pcf8583CtrlAlarmFlag (line 36) | pcf8583CtrlAlarmFlag PCF8583Control = 0x02 constant pcf8583CtrlAlarmEnable (line 37) | pcf8583CtrlAlarmEnable PCF8583Control = 0x04 constant pcf8583CtrlMask (line 38) | pcf8583CtrlMask PCF8583Control = 0x08 constant PCF8583CtrlModeClock50 (line 39) | PCF8583CtrlModeClock50 PCF8583Control = 0x10 constant PCF8583CtrlModeCounter (line 40) | PCF8583CtrlModeCounter PCF8583Control = 0x20 constant PCF8583CtrlModeTest (line 41) | PCF8583CtrlModeTest PCF8583Control = 0x30 constant pcf8583CtrlHoldLastCount (line 42) | pcf8583CtrlHoldLastCount PCF8583Control = 0x40 constant pcf8583CtrlStopCounting (line 43) | pcf8583CtrlStopCounting PCF8583Control = 0x80 type PCF8583Driver (line 55) | type PCF8583Driver struct method WriteTime (line 138) | func (d *PCF8583Driver) WriteTime(val time.Time) error { method ReadTime (line 173) | func (d *PCF8583Driver) ReadTime() (time.Time, error) { method WriteCounter (line 209) | func (d *PCF8583Driver) WriteCounter(val int32) error { method ReadCounter (line 240) | func (d *PCF8583Driver) ReadCounter() (int32, error) { method WriteRAM (line 269) | func (d *PCF8583Driver) WriteRAM(address uint8, val uint8) error { method ReadRAM (line 281) | func (d *PCF8583Driver) ReadRAM(address uint8) (uint8, error) { method run (line 292) | func (d *PCF8583Driver) run(ctrlRegVal uint8) error { method initialize (line 297) | func (d *PCF8583Driver) initialize() error { function NewPCF8583Driver (line 73) | func NewPCF8583Driver(c Connector, options ...func(Config)) *PCF8583Driv... function WithPCF8583Mode (line 123) | func WithPCF8583Mode(mode PCF8583Control) func(Config) { function pcf8583encodeBcd (line 333) | func pcf8583encodeBcd(val byte) byte { function pcf8583decodeBcd (line 345) | func pcf8583decodeBcd(bcd byte) byte { FILE: drivers/i2c/pcf8583_driver_test.go function initTestPCF8583WithStubbedAdaptor (line 19) | func initTestPCF8583WithStubbedAdaptor() (*PCF8583Driver, *i2cTestAdapto... function TestNewPCF8583Driver (line 26) | func TestNewPCF8583Driver(t *testing.T) { function TestPCF8583Halt (line 40) | func TestPCF8583Halt(t *testing.T) { function TestPCF8583Options (line 49) | func TestPCF8583Options(t *testing.T) { function TestPCF8583CommandsWriteTime (line 57) | func TestPCF8583CommandsWriteTime(t *testing.T) { function TestPCF8583CommandsReadTime (line 78) | func TestPCF8583CommandsReadTime(t *testing.T) { function TestPCF8583CommandsWriteCounter (line 113) | func TestPCF8583CommandsWriteCounter(t *testing.T) { function TestPCF8583CommandsReadCounter (line 134) | func TestPCF8583CommandsReadCounter(t *testing.T) { function TestPCF8583CommandsWriteRAM (line 164) | func TestPCF8583CommandsWriteRAM(t *testing.T) { function TestPCF8583CommandsReadRAM (line 177) | func TestPCF8583CommandsReadRAM(t *testing.T) { function TestPCF8583WriteTime (line 190) | func TestPCF8583WriteTime(t *testing.T) { function TestPCF8583WriteTimeNoTimeModeFails (line 242) | func TestPCF8583WriteTimeNoTimeModeFails(t *testing.T) { function TestPCF8583ReadTime (line 268) | func TestPCF8583ReadTime(t *testing.T) { function TestPCF8583ReadTimeNoTimeModeFails (line 314) | func TestPCF8583ReadTimeNoTimeModeFails(t *testing.T) { function TestPCF8583WriteCounter (line 341) | func TestPCF8583WriteCounter(t *testing.T) { function TestPCF8583WriteCounterNoCounterModeFails (line 385) | func TestPCF8583WriteCounterNoCounterModeFails(t *testing.T) { function TestPCF8583ReadCounter (line 411) | func TestPCF8583ReadCounter(t *testing.T) { function TestPCF8583ReadCounterNoCounterModeFails (line 452) | func TestPCF8583ReadCounterNoCounterModeFails(t *testing.T) { function TestPCF8583WriteRam (line 479) | func TestPCF8583WriteRam(t *testing.T) { function TestPCF8583WriteRamAddressOverflowFails (line 501) | func TestPCF8583WriteRamAddressOverflowFails(t *testing.T) { function TestPCF8583ReadRam (line 513) | func TestPCF8583ReadRam(t *testing.T) { function TestPCF8583ReadRamAddressOverflowFails (line 543) | func TestPCF8583ReadRamAddressOverflowFails(t *testing.T) { function TestPCF8583_initializeNoModeSwitch (line 567) | func TestPCF8583_initializeNoModeSwitch(t *testing.T) { function TestPCF8583_initializeWithModeSwitch (line 593) | func TestPCF8583_initializeWithModeSwitch(t *testing.T) { FILE: drivers/i2c/pcf8591_driver.go constant pcf8591DefaultAddress (line 12) | pcf8591DefaultAddress = 0x48 constant pcf8591Debug (line 15) | pcf8591Debug = false type pcf8591Mode (line 19) | type pcf8591Mode type PCF8591Channel (line 20) | type PCF8591Channel constant pcf8591_CHAN0 (line 24) | pcf8591_CHAN0 PCF8591Channel = 0x00 constant pcf8591_CHAN1 (line 25) | pcf8591_CHAN1 PCF8591Channel = 0x01 constant pcf8591_CHAN2 (line 26) | pcf8591_CHAN2 PCF8591Channel = 0x02 constant pcf8591_CHAN3 (line 27) | pcf8591_CHAN3 PCF8591Channel = 0x03 constant pcf8591_AION (line 30) | pcf8591_AION = 0x04 constant pcf8591_ALLSINGLE (line 33) | pcf8591_ALLSINGLE pcf8591Mode = 0x00 constant pcf8591_THREEDIFF (line 34) | pcf8591_THREEDIFF pcf8591Mode = 0x10 constant pcf8591_MIXED (line 35) | pcf8591_MIXED pcf8591Mode = 0x20 constant pcf8591_TWODIFF (line 36) | pcf8591_TWODIFF pcf8591Mode = 0x30 constant pcf8591_ANAON (line 37) | pcf8591_ANAON pcf8591Mode = 0x40 constant pcf8591_ADMASK (line 40) | pcf8591_ADMASK = 0x33 type pcf8591ModeChan (line 42) | type pcf8591ModeChan struct method pcf8591IsDiff (line 327) | func (mc pcf8591ModeChan) pcf8591IsDiff() bool { type PCF8591Driver (line 101) | type PCF8591Driver struct method AnalogRead (line 195) | func (d *PCF8591Driver) AnalogRead(description string) (int, error) { method AnalogWrite (line 250) | func (d *PCF8591Driver) AnalogWrite(pin string, value int) error { method AnalogOutputState (line 277) | func (d *PCF8591Driver) AnalogOutputState(state bool) error { method writeCtrlByte (line 300) | func (d *PCF8591Driver) writeCtrlByte(ctrlByte uint8, forceRefresh boo... method readBuf (line 312) | func (d *PCF8591Driver) readBuf(nr uint8, cntBytes uint8) error { method initialize (line 340) | func (d *PCF8591Driver) initialize() error { method shutdown (line 344) | func (d *PCF8591Driver) shutdown() error { method analogOutputState (line 348) | func (d *PCF8591Driver) analogOutputState(state bool) error { function NewPCF8591Driver (line 122) | func NewPCF8591Driver(c Connector, options ...func(Config)) *PCF8591Driv... function WithPCF8591With400kbitStabilization (line 137) | func WithPCF8591With400kbitStabilization(additionalReadWrite, additional... function WithPCF8591ForceRefresh (line 163) | func WithPCF8591ForceRefresh(val uint8) func(Config) { function PCF8591ParseModeChan (line 286) | func PCF8591ParseModeChan(description string) (*pcf8591ModeChan, error) { FILE: drivers/i2c/pcf8591_driver_test.go function initTestPCF8591DriverWithStubbedAdaptor (line 17) | func initTestPCF8591DriverWithStubbedAdaptor() (*PCF8591Driver, *i2cTest... function TestNewPCF8591Driver (line 27) | func TestNewPCF8591Driver(t *testing.T) { function TestPCF8591Start (line 38) | func TestPCF8591Start(t *testing.T) { function TestPCF8591Halt (line 43) | func TestPCF8591Halt(t *testing.T) { function TestPCF8591WithPCF8591With400kbitStabilization (line 52) | func TestPCF8591WithPCF8591With400kbitStabilization(t *testing.T) { function TestPCF8591AnalogReadSingle (line 58) | func TestPCF8591AnalogReadSingle(t *testing.T) { function TestPCF8591AnalogReadDiff (line 94) | func TestPCF8591AnalogReadDiff(t *testing.T) { function TestPCF8591AnalogWrite (line 136) | func TestPCF8591AnalogWrite(t *testing.T) { function TestPCF8591AnalogOutputState (line 161) | func TestPCF8591AnalogOutputState(t *testing.T) { FILE: drivers/i2c/sht2x_driver.go constant sht2xDefaultAddress (line 30) | sht2xDefaultAddress = 0x40 constant SHT2xAccuracyLow (line 35) | SHT2xAccuracyLow = byte(0x01) constant SHT2xAccuracyMedium (line 39) | SHT2xAccuracyMedium = byte(0x80) constant SHT2xAccuracyHigh (line 44) | SHT2xAccuracyHigh = byte(0x00) constant SHT2xTriggerTempMeasureHold (line 47) | SHT2xTriggerTempMeasureHold = 0xe3 constant SHT2xTriggerHumdMeasureHold (line 50) | SHT2xTriggerHumdMeasureHold = 0xe5 constant SHT2xTriggerTempMeasureNohold (line 53) | SHT2xTriggerTempMeasureNohold = 0xf3 constant SHT2xTriggerHumdMeasureNohold (line 56) | SHT2xTriggerHumdMeasureNohold = 0xf5 constant SHT2xWriteUserReg (line 59) | SHT2xWriteUserReg = 0xe6 constant SHT2xReadUserReg (line 62) | SHT2xReadUserReg = 0xe7 constant SHT2xSoftReset (line 65) | SHT2xSoftReset = 0xfe type SHT2xDriver (line 69) | type SHT2xDriver struct method Accuracy (line 111) | func (d *SHT2xDriver) Accuracy() byte { return d.accuracy } method SetAccuracy (line 114) | func (d *SHT2xDriver) SetAccuracy(acc byte) error { method Reset (line 125) | func (d *SHT2xDriver) Reset() error { method Temperature (line 136) | func (d *SHT2xDriver) Temperature() (float32, error) { method Humidity (line 150) | func (d *SHT2xDriver) Humidity() (float32, error) { method readSensor (line 164) | func (d *SHT2xDriver) readSensor(cmd byte) (uint16, error) { method initialize (line 201) | func (d *SHT2xDriver) initialize() error { method sendAccuracy (line 209) | func (d *SHT2xDriver) sendAccuracy() error { function NewSHT2xDriver (line 86) | func NewSHT2xDriver(c Connector, options ...func(Config)) *SHT2xDriver { FILE: drivers/i2c/sht2x_driver_test.go function initTestSHT2xDriverWithStubbedAdaptor (line 18) | func initTestSHT2xDriverWithStubbedAdaptor() (*SHT2xDriver, *i2cTestAdap... function TestNewSHT2xDriver (line 27) | func TestNewSHT2xDriver(t *testing.T) { function TestSHT2xOptions (line 38) | func TestSHT2xOptions(t *testing.T) { function TestSHT2xStart (line 45) | func TestSHT2xStart(t *testing.T) { function TestSHT2xHalt (line 50) | func TestSHT2xHalt(t *testing.T) { function TestSHT2xReset (line 59) | func TestSHT2xReset(t *testing.T) { function TestSHT2xMeasurements (line 69) | func TestSHT2xMeasurements(t *testing.T) { function TestSHT2xAccuracy (line 91) | func TestSHT2xAccuracy(t *testing.T) { function TestSHT2xTemperatureCrcError (line 113) | func TestSHT2xTemperatureCrcError(t *testing.T) { function TestSHT2xHumidityCrcError (line 130) | func TestSHT2xHumidityCrcError(t *testing.T) { function TestSHT2xTemperatureLengthError (line 147) | func TestSHT2xTemperatureLengthError(t *testing.T) { function TestSHT2xHumidityLengthError (line 164) | func TestSHT2xHumidityLengthError(t *testing.T) { FILE: drivers/i2c/sht3x_driver.go constant SHT3xAddressA (line 32) | SHT3xAddressA = 0x44 constant SHT3xAddressB (line 35) | SHT3xAddressB = 0x45 constant SHT3xAccuracyLow (line 38) | SHT3xAccuracyLow = 0x16 constant SHT3xAccuracyMedium (line 41) | SHT3xAccuracyMedium = 0x0b constant SHT3xAccuracyHigh (line 44) | SHT3xAccuracyHigh = 0x00 type SHT3xDriver (line 56) | type SHT3xDriver struct method Accuracy (line 92) | func (d *SHT3xDriver) Accuracy() byte { return d.accuracy } method SetAccuracy (line 95) | func (d *SHT3xDriver) SetAccuracy(a byte) error { method SerialNumber (line 113) | func (d *SHT3xDriver) SerialNumber() (uint32, error) { method Heater (line 125) | func (d *SHT3xDriver) Heater() (bool, error) { method SetHeater (line 139) | func (d *SHT3xDriver) SetHeater(enabled bool) error { method Sample (line 151) | func (d *SHT3xDriver) Sample() (temp float32, rh float32, err error) { method getStatusRegister (line 180) | func (d *SHT3xDriver) getStatusRegister() (uint16, error) { method sendCommandDelayGetResponse (line 190) | func (d *SHT3xDriver) sendCommandDelayGetResponse(send []byte, delay *... function NewSHT3xDriver (line 74) | func NewSHT3xDriver(c Connector, options ...func(Config)) *SHT3xDriver { FILE: drivers/i2c/sht3x_driver_test.go function initTestSHT3xDriverWithStubbedAdaptor (line 18) | func initTestSHT3xDriverWithStubbedAdaptor() (*SHT3xDriver, *i2cTestAdap... function TestNewSHT3xDriver (line 27) | func TestNewSHT3xDriver(t *testing.T) { function TestSHT3xOptions (line 38) | func TestSHT3xOptions(t *testing.T) { function TestSHT3xStart (line 45) | func TestSHT3xStart(t *testing.T) { function TestSHT3xHalt (line 50) | func TestSHT3xHalt(t *testing.T) { function TestSHT3xSampleNormal (line 59) | func TestSHT3xSampleNormal(t *testing.T) { function TestSHT3xSampleBadCrc (line 76) | func TestSHT3xSampleBadCrc(t *testing.T) { function TestSHT3xSampleBadRead (line 97) | func TestSHT3xSampleBadRead(t *testing.T) { function TestSHT3xSampleUnits (line 109) | func TestSHT3xSampleUnits(t *testing.T) { function TestSHT3xSCDGRIoFailures (line 123) | func TestSHT3xSCDGRIoFailures(t *testing.T) { function TestSHT3xHeater (line 155) | func TestSHT3xHeater(t *testing.T) { function TestSHT3xSetHeater (line 196) | func TestSHT3xSetHeater(t *testing.T) { function TestSHT3xSetAccuracy (line 202) | func TestSHT3xSetAccuracy(t *testing.T) { function TestSHT3xSerialNumber (line 219) | func TestSHT3xSerialNumber(t *testing.T) { FILE: drivers/i2c/ssd1306_driver.go constant ssd1306DefaultAddress (line 8) | ssd1306DefaultAddress = 0x3c constant ssd1306Width (line 13) | ssd1306Width = 128 constant ssd1306Height (line 14) | ssd1306Height = 64 constant ssd1306ExternalVCC (line 15) | ssd1306ExternalVCC = false constant ssd1306SetStartLine (line 16) | ssd1306SetStartLine = 0x40 constant ssd1306SetComOutput0 (line 18) | ssd1306SetComOutput0 = 0xC0 constant ssd1306SetComOutput1 (line 19) | ssd1306SetComOutput1 = 0xC1 constant ssd1306SetComOutput2 (line 20) | ssd1306SetComOutput2 = 0xC2 constant ssd1306SetComOutput3 (line 21) | ssd1306SetComOutput3 = 0xC3 constant ssd1306SetComOutput4 (line 22) | ssd1306SetComOutput4 = 0xC4 constant ssd1306SetComOutput5 (line 23) | ssd1306SetComOutput5 = 0xC5 constant ssd1306SetComOutput6 (line 24) | ssd1306SetComOutput6 = 0xC6 constant ssd1306SetComOutput7 (line 25) | ssd1306SetComOutput7 = 0xC7 constant ssd1306SetComOutput8 (line 26) | ssd1306SetComOutput8 = 0xC8 constant ssd1306SetContrast (line 27) | ssd1306SetContrast = 0x81 constant ssd1306SetMemoryAddressingMode (line 36) | ssd1306SetMemoryAddressingMode = 0x20 constant ssd1306ColumnAddr (line 37) | ssd1306ColumnAddr = 0x21 constant ssd1306PageAddr (line 38) | ssd1306PageAddr = 0x22 constant ssd1306SetSegmentRemap0 (line 40) | ssd1306SetSegmentRemap0 = 0xA0 constant ssd1306SetSegmentRemap127 (line 41) | ssd1306SetSegmentRemap127 = 0xA1 constant ssd1306DisplayOnResumeToRAM (line 42) | ssd1306DisplayOnResumeToRAM = 0xA4 constant ssd1306SetDisplayNormal (line 43) | ssd1306SetDisplayNormal = 0xA6 constant ssd1306SetDisplayInverse (line 44) | ssd1306SetDisplayInverse = 0xA7 constant ssd1306SetDisplayOff (line 45) | ssd1306SetDisplayOff = 0xAE constant ssd1306SetDisplayOn (line 46) | ssd1306SetDisplayOn = 0xAF constant ssd1306SetDisplayClock (line 48) | ssd1306SetDisplayClock = 0xD5 constant ssd1306SetPrechargePeriod (line 49) | ssd1306SetPrechargePeriod = 0xD9 constant ssd1306SetVComDeselectLevel (line 50) | ssd1306SetVComDeselectLevel = 0xDB constant ssd1306SetMultiplexRatio (line 51) | ssd1306SetMultiplexRatio = 0xA8 constant ssd1306SetComPins (line 52) | ssd1306SetComPins = 0xDA constant ssd1306SetDisplayOffset (line 53) | ssd1306SetDisplayOffset = 0xD3 constant ssd1306ChargePumpSetting (line 55) | ssd1306ChargePumpSetting = 0x8D type SSD1306Init (line 59) | type SSD1306Init struct method GetSequence (line 73) | func (i *SSD1306Init) GetSequence() []byte { type DisplayBuffer (line 137) | type DisplayBuffer struct method Size (line 154) | func (d *DisplayBuffer) Size() int { method Clear (line 159) | func (d *DisplayBuffer) Clear() { method SetPixel (line 164) | func (d *DisplayBuffer) SetPixel(x, y, c int) { method Set (line 175) | func (d *DisplayBuffer) Set(buf []byte) { function NewDisplayBuffer (line 143) | func NewDisplayBuffer(width, height, pageSize int) *DisplayBuffer { type SSD1306Driver (line 180) | type SSD1306Driver struct method Init (line 286) | func (d *SSD1306Driver) Init() error { method On (line 303) | func (d *SSD1306Driver) On() error { method Off (line 308) | func (d *SSD1306Driver) Off() error { method Clear (line 313) | func (d *SSD1306Driver) Clear() { method Set (line 318) | func (d *SSD1306Driver) Set(x, y, c int) { method Reset (line 323) | func (d *SSD1306Driver) Reset() error { method SetContrast (line 333) | func (d *SSD1306Driver) SetContrast(contrast byte) error { method Display (line 338) | func (d *SSD1306Driver) Display() error { method ShowImage (line 344) | func (d *SSD1306Driver) ShowImage(img image.Image) error { method command (line 361) | func (d *SSD1306Driver) command(b byte) error { method commands (line 367) | func (d *SSD1306Driver) commands(commands []byte) error { method initialize (line 376) | func (d *SSD1306Driver) initialize() error { function NewSSD1306Driver (line 204) | func NewSSD1306Driver(c Connector, options ...func(Config)) *SSD1306Driv... function WithSSD1306DisplayWidth (line 256) | func WithSSD1306DisplayWidth(val int) func(Config) { function WithSSD1306DisplayHeight (line 266) | func WithSSD1306DisplayHeight(val int) func(Config) { function WithSSD1306ExternalVCC (line 276) | func WithSSD1306ExternalVCC(val bool) func(Config) { FILE: drivers/i2c/ssd1306_driver_test.go function initTestSSD1306DriverWithStubbedAdaptor (line 21) | func initTestSSD1306DriverWithStubbedAdaptor( function TestNewSSD1306Driver (line 34) | func TestNewSSD1306Driver(t *testing.T) { function TestSSD1306StartDefault (line 45) | func TestSSD1306StartDefault(t *testing.T) { function TestSSD1306Start128x32 (line 56) | func TestSSD1306Start128x32(t *testing.T) { function TestSSD1306Start96x16 (line 67) | func TestSSD1306Start96x16(t *testing.T) { function TestSSD1306StartExternalVCC (line 78) | func TestSSD1306StartExternalVCC(t *testing.T) { function TestSSD1306StartSizeError (line 89) | func TestSSD1306StartSizeError(t *testing.T) { function TestSSD1306Halt (line 100) | func TestSSD1306Halt(t *testing.T) { function TestSSD1306Options (line 110) | func TestSSD1306Options(t *testing.T) { function TestSSD1306Display (line 117) | func TestSSD1306Display(t *testing.T) { function TestSSD1306ShowImage (line 123) | func TestSSD1306ShowImage(t *testing.T) { function TestSSD1306Command (line 133) | func TestSSD1306Command(t *testing.T) { function TestSSD1306Commands (line 149) | func TestSSD1306Commands(t *testing.T) { function TestSSD1306On (line 165) | func TestSSD1306On(t *testing.T) { function TestSSD1306Off (line 181) | func TestSSD1306Off(t *testing.T) { function TestSSD1306Reset (line 197) | func TestSSD1306Reset(t *testing.T) { function TestSSD1306CommandsDisplay (line 216) | func TestSSD1306CommandsDisplay(t *testing.T) { function TestSSD1306CommandsOn (line 222) | func TestSSD1306CommandsOn(t *testing.T) { function TestSSD1306CommandsOff (line 229) | func TestSSD1306CommandsOff(t *testing.T) { function TestSSD1306CommandsClear (line 236) | func TestSSD1306CommandsClear(t *testing.T) { function TestSSD1306CommandsSetContrast (line 243) | func TestSSD1306CommandsSetContrast(t *testing.T) { function TestSSD1306CommandsSet (line 260) | func TestSSD1306CommandsSet(t *testing.T) { function TestDisplayBuffer (line 272) | func TestDisplayBuffer(t *testing.T) { FILE: drivers/i2c/th02_driver.go constant th02Debug (line 32) | th02Debug = false constant th02DefaultAddress (line 33) | th02DefaultAddress = 0x40 constant th02Reg_Status (line 37) | th02Reg_Status = 0x00 constant th02Reg_DataMSB (line 38) | th02Reg_DataMSB = 0x01 constant th02Reg_DataLSB (line 39) | th02Reg_DataLSB = 0x02 constant th02Reg_Config (line 40) | th02Reg_Config = 0x03 constant th02Reg_ID (line 41) | th02Reg_ID = 0x11 constant th02Config_StartBit (line 45) | th02Config_StartBit = 0x01 constant th02Config_HeatBit (line 46) | th02Config_HeatBit = 0x02 constant th02Config_TempBit (line 47) | th02Config_TempBit = 0x10 constant th02Config_FastBit (line 48) | th02Config_FastBit = 0x20 constant TH02HighAccuracy (line 53) | TH02HighAccuracy = 0 constant TH02LowAccuracy (line 54) | TH02LowAccuracy = 1 type TH02Driver (line 58) | type TH02Driver struct method Accuracy (line 108) | func (d *TH02Driver) Accuracy() byte { method SetAccuracy (line 117) | func (d *TH02Driver) SetAccuracy(a byte) { method SerialNumber (line 122) | func (d *TH02Driver) SerialNumber() (uint8, error) { method FastMode (line 131) | func (d *TH02Driver) FastMode() (bool, error) { method SetHeater (line 140) | func (d *TH02Driver) SetHeater(state bool) error { method Heater (line 149) | func (d *TH02Driver) Heater() (bool, error) { method Sample (line 160) | func (d *TH02Driver) Sample() (temperature float32, relhumidity float3... method createConfig (line 192) | func (d *TH02Driver) createConfig(measurement bool, readTemp bool) byte { method waitAndReadData (line 209) | func (d *TH02Driver) waitAndReadData() (uint16, error) { method waitForReady (line 224) | func (d *TH02Driver) waitForReady(dur *time.Duration) error { function NewTH02Driver (line 79) | func NewTH02Driver(a Connector, options ...func(Config)) *TH02Driver { function WithTH02FastMode (line 96) | func WithTH02FastMode(val int) func(Config) { FILE: drivers/i2c/th02_driver_test.go function initTestTH02DriverWithStubbedAdaptor (line 19) | func initTestTH02DriverWithStubbedAdaptor() (*TH02Driver, *i2cTestAdapto... function TestNewTH02Driver (line 28) | func TestNewTH02Driver(t *testing.T) { function TestTH02Halt (line 39) | func TestTH02Halt(t *testing.T) { function TestTH02Options (line 48) | func TestTH02Options(t *testing.T) { function TestTH02SetAccuracy (line 56) | func TestTH02SetAccuracy(t *testing.T) { function TestTH02WithFastMode (line 72) | func TestTH02WithFastMode(t *testing.T) { function TestTH02FastMode (line 93) | func TestTH02FastMode(t *testing.T) { function TestTH02SetHeater (line 124) | func TestTH02SetHeater(t *testing.T) { function TestTH02Heater (line 153) | func TestTH02Heater(t *testing.T) { function TestTH02SerialNumber (line 184) | func TestTH02SerialNumber(t *testing.T) { function TestTH02Sample (line 206) | func TestTH02Sample(t *testing.T) { function TestTH02_readData (line 318) | func TestTH02_readData(t *testing.T) { function TestTH02_waitForReadyFailOnTimeout (line 435) | func TestTH02_waitForReadyFailOnTimeout(t *testing.T) { function TestTH02_waitForReadyFailOnReadError (line 450) | func TestTH02_waitForReadyFailOnReadError(t *testing.T) { function TestTH02_createConfig (line 466) | func TestTH02_createConfig(t *testing.T) { FILE: drivers/i2c/tsl2561_driver.go constant TSL2561AddressLow (line 10) | TSL2561AddressLow = 0x29 constant TSL2561AddressFloat (line 12) | TSL2561AddressFloat = 0x39 constant TSL2561AddressHigh (line 14) | TSL2561AddressHigh = 0x49 constant tsl2561CommandBit (line 16) | tsl2561CommandBit = 0x80 constant tsl2561ClearBit (line 17) | tsl2561ClearBit = 0x40 constant tsl2561WordBit (line 18) | tsl2561WordBit = 0x20 constant tsl2561BlockBit (line 19) | tsl2561BlockBit = 0x10 constant tsl2561ControlPowerOn (line 21) | tsl2561ControlPowerOn = 0x03 constant tsl2561ControlPowerOff (line 22) | tsl2561ControlPowerOff = 0x00 constant tsl2561LuxLuxScale (line 24) | tsl2561LuxLuxScale = 14 constant tsl2561LuxRatioScale (line 25) | tsl2561LuxRatioScale = 9 constant tsl2561LuxChScale (line 26) | tsl2561LuxChScale = 10 constant tsl2561LuxCHScaleTInt0 (line 27) | tsl2561LuxCHScaleTInt0 = 0x7517 constant tsl2561LuxChScaleTInt1 (line 28) | tsl2561LuxChScaleTInt1 = 0x0FE7 constant tsl2561LuxK1T (line 31) | tsl2561LuxK1T = 0x0040 constant tsl2561LuxB1T (line 32) | tsl2561LuxB1T = 0x01f2 constant tsl2561LuxM1T (line 33) | tsl2561LuxM1T = 0x01be constant tsl2561LuxK2T (line 34) | tsl2561LuxK2T = 0x0080 constant tsl2561LuxB2T (line 35) | tsl2561LuxB2T = 0x0214 constant tsl2561LuxM2T (line 36) | tsl2561LuxM2T = 0x02d1 constant tsl2561LuxK3T (line 37) | tsl2561LuxK3T = 0x00c0 constant tsl2561LuxB3T (line 38) | tsl2561LuxB3T = 0x023f constant tsl2561LuxM3T (line 39) | tsl2561LuxM3T = 0x037b constant tsl2561LuxK4T (line 40) | tsl2561LuxK4T = 0x0100 constant tsl2561LuxB4T (line 41) | tsl2561LuxB4T = 0x0270 constant tsl2561LuxM4T (line 42) | tsl2561LuxM4T = 0x03fe constant tsl2561LuxK5T (line 43) | tsl2561LuxK5T = 0x0138 constant tsl2561LuxB5T (line 44) | tsl2561LuxB5T = 0x016f constant tsl2561LuxM5T (line 45) | tsl2561LuxM5T = 0x01fc constant tsl2561LuxK6T (line 46) | tsl2561LuxK6T = 0x019a constant tsl2561LuxB6T (line 47) | tsl2561LuxB6T = 0x00d2 constant tsl2561LuxM6T (line 48) | tsl2561LuxM6T = 0x00fb constant tsl2561LuxK7T (line 49) | tsl2561LuxK7T = 0x029a constant tsl2561LuxB7T (line 50) | tsl2561LuxB7T = 0x0018 constant tsl2561LuxM7T (line 51) | tsl2561LuxM7T = 0x0012 constant tsl2561LuxK8T (line 52) | tsl2561LuxK8T = 0x029a constant tsl2561LuxB8T (line 53) | tsl2561LuxB8T = 0x0000 constant tsl2561LuxM8T (line 54) | tsl2561LuxM8T = 0x0000 constant tsl2561AgcTHi13MS (line 57) | tsl2561AgcTHi13MS = 4850 constant tsl2561AgcTLo13MS (line 58) | tsl2561AgcTLo13MS = 100 constant tsl2561AgcTHi101MS (line 59) | tsl2561AgcTHi101MS = 36000 constant tsl2561AgcTLo101MS (line 60) | tsl2561AgcTLo101MS = 200 constant tsl2561AgcTHi402MS (line 61) | tsl2561AgcTHi402MS = 63000 constant tsl2561AgcTLo402MS (line 62) | tsl2561AgcTLo402MS = 500 constant tsl2561Clipping13MS (line 65) | tsl2561Clipping13MS = 4900 constant tsl2561Clipping101MS (line 66) | tsl2561Clipping101MS = 37000 constant tsl2561Clipping402MS (line 67) | tsl2561Clipping402MS = 65000 constant tsl2561RegisterControl (line 71) | tsl2561RegisterControl = 0x00 constant tsl2561RegisterTiming (line 72) | tsl2561RegisterTiming = 0x01 constant tsl2561RegisterThreshholdLLow (line 73) | tsl2561RegisterThreshholdLLow = 0x02 constant tsl2561RegisterThreshholdLHigh (line 74) | tsl2561RegisterThreshholdLHigh = 0x03 constant tsl2561RegisterThreshholdHLow (line 75) | tsl2561RegisterThreshholdHLow = 0x04 constant tsl2561RegisterThreshholdHHigh (line 76) | tsl2561RegisterThreshholdHHigh = 0x05 constant tsl2561RegisterInterrupt (line 77) | tsl2561RegisterInterrupt = 0x06 constant tsl2561RegisterCRC (line 78) | tsl2561RegisterCRC = 0x08 constant tsl2561RegisterID (line 79) | tsl2561RegisterID = 0x0A constant tsl2561RegisterChan0Low (line 80) | tsl2561RegisterChan0Low = 0x0C constant tsl2561RegisterChan0High (line 81) | tsl2561RegisterChan0High = 0x0D constant tsl2561RegisterChan1Low (line 82) | tsl2561RegisterChan1Low = 0x0E constant tsl2561RegisterChan1High (line 83) | tsl2561RegisterChan1High = 0x0F type TSL2561IntegrationTime (line 87) | type TSL2561IntegrationTime constant TSL2561IntegrationTime13MS (line 91) | TSL2561IntegrationTime13MS TSL2561IntegrationTime = iota constant TSL2561IntegrationTime101MS (line 93) | TSL2561IntegrationTime101MS constant TSL2561IntegrationTime402MS (line 95) | TSL2561IntegrationTime402MS type TSL2561Gain (line 99) | type TSL2561Gain constant TSL2561Gain1X (line 103) | TSL2561Gain1X TSL2561Gain = 0x00 constant TSL2561Gain16X (line 105) | TSL2561Gain16X = 0x10 type TSL2561Driver (line 114) | type TSL2561Driver struct method SetIntegrationTime (line 214) | func (d *TSL2561Driver) SetIntegrationTime(time TSL2561IntegrationTime... method SetGain (line 229) | func (d *TSL2561Driver) SetGain(gain TSL2561Gain) error { method GetLuminocity (line 245) | func (d *TSL2561Driver) GetLuminocity() (uint16, uint16, error) { method CalculateLux (line 304) | func (d *TSL2561Driver) CalculateLux(broadband uint16, ir uint16) uint... method enable (line 348) | func (d *TSL2561Driver) enable() error { method disable (line 352) | func (d *TSL2561Driver) disable() error { method getData (line 356) | func (d *TSL2561Driver) getData() (uint16, uint16, error) { method getHiLo (line 381) | func (d *TSL2561Driver) getHiLo() (hi, lo uint16) { method getClipScaling (line 397) | func (d *TSL2561Driver) getClipScaling() (clipThreshold uint16, chScal... method getBM (line 413) | func (d *TSL2561Driver) getBM(ratio uint32) (b uint32, m uint32) { method waitForADC (line 443) | func (d *TSL2561Driver) waitForADC() { method initialize (line 454) | func (d *TSL2561Driver) initialize() error { function NewTSL2561Driver (line 138) | func NewTSL2561Driver(c Connector, options ...func(Config)) *TSL2561Driv... function WithTSL2561Gain1X (line 155) | func WithTSL2561Gain1X(c Config) { function WithTSL2561Gain16X (line 165) | func WithTSL2561Gain16X(c Config) { function WithTSL2561AutoGain (line 175) | func WithTSL2561AutoGain(c Config) { function withTSL2561IntegrationTime (line 184) | func withTSL2561IntegrationTime(iTime TSL2561IntegrationTime) func(Confi... function WithTSL2561IntegrationTime13MS (line 197) | func WithTSL2561IntegrationTime13MS(c Config) { function WithTSL2561IntegrationTime101MS (line 203) | func WithTSL2561IntegrationTime101MS(c Config) { function WithTSL2561IntegrationTime402MS (line 209) | func WithTSL2561IntegrationTime402MS(c Config) { FILE: drivers/i2c/tsl2561_driver_test.go function initTestTSL2561DriverStarted (line 20) | func initTestTSL2561DriverStarted() (*TSL2561Driver, *i2cTestAdaptor) { function initTestTSL2561Driver (line 28) | func initTestTSL2561Driver() (*TSL2561Driver, *i2cTestAdaptor) { function TestNewTSL2561Driver (line 41) | func TestNewTSL2561Driver(t *testing.T) { function TestTSL2561DriverOptions (line 55) | func TestTSL2561DriverOptions(t *testing.T) { function TestTSL2561DriverStart (line 63) | func TestTSL2561DriverStart(t *testing.T) { function TestTSL2561DriverStartNotFound (line 70) | func TestTSL2561DriverStartNotFound(t *testing.T) { function TestTSL2561DriverHalt (line 81) | func TestTSL2561DriverHalt(t *testing.T) { function TestTSL2561DriverValidOptions (line 90) | func TestTSL2561DriverValidOptions(t *testing.T) { function TestTSL2561DriverMoreOptions (line 103) | func TestTSL2561DriverMoreOptions(t *testing.T) { function TestTSL2561DriverEvenMoreOptions (line 116) | func TestTSL2561DriverEvenMoreOptions(t *testing.T) { function TestTSL2561DriverYetEvenMoreOptions (line 130) | func TestTSL2561DriverYetEvenMoreOptions(t *testing.T) { function TestTSL2561DriverGetDataWriteError (line 143) | func TestTSL2561DriverGetDataWriteError(t *testing.T) { function TestTSL2561DriverGetDataReadError (line 153) | func TestTSL2561DriverGetDataReadError(t *testing.T) { function TestTSL2561DriverGetLuminocity (line 163) | func TestTSL2561DriverGetLuminocity(t *testing.T) { function TestTSL2561DriverGetLuminocityAutoGain (line 180) | func TestTSL2561DriverGetLuminocityAutoGain(t *testing.T) { function TestTSL2561SetIntegrationTimeError (line 202) | func TestTSL2561SetIntegrationTimeError(t *testing.T) { function TestTSL2561SetGainError (line 210) | func TestTSL2561SetGainError(t *testing.T) { function TestTSL2561getHiLo13MS (line 218) | func TestTSL2561getHiLo13MS(t *testing.T) { function TestTSL2561getHiLo101MS (line 229) | func TestTSL2561getHiLo101MS(t *testing.T) { function TestTSL2561getHiLo402MS (line 240) | func TestTSL2561getHiLo402MS(t *testing.T) { function TestTSL2561getClipScaling13MS (line 251) | func TestTSL2561getClipScaling13MS(t *testing.T) { function TestTSL2561getClipScaling101MS (line 263) | func TestTSL2561getClipScaling101MS(t *testing.T) { function TestTSL2561getClipScaling402MS (line 275) | func TestTSL2561getClipScaling402MS(t *testing.T) { function TestTSL2561getBM (line 287) | func TestTSL2561getBM(t *testing.T) { FILE: drivers/i2c/wiichuck_driver.go constant Joystick (line 13) | Joystick = "joystick" constant C (line 16) | C = "c" constant Z (line 19) | Z = "z" constant wiichuckDefaultAddress (line 23) | wiichuckDefaultAddress = 0x52 constant wiichuckStopTimeout (line 24) | wiichuckStopTimeout = 2 * time.Second type WiichuckDriver (line 28) | type WiichuckDriver struct method Joystick (line 84) | func (d *WiichuckDriver) Joystick() map[string]float64 { method update (line 95) | func (d *WiichuckDriver) update(value []byte) error { method setJoystickDefaultValue (line 108) | func (d *WiichuckDriver) setJoystickDefaultValue(joystickAxis string, ... method calculateJoystickValue (line 117) | func (d *WiichuckDriver) calculateJoystickValue(axis float64, origin f... method isEncrypted (line 122) | func (d *WiichuckDriver) isEncrypted(value []byte) bool { method decode (line 130) | func (d *WiichuckDriver) decode(x byte) float64 { method adjustOrigins (line 135) | func (d *WiichuckDriver) adjustOrigins() { method updateButtons (line 141) | func (d *WiichuckDriver) updateButtons() { method updateJoystick (line 151) | func (d *WiichuckDriver) updateJoystick() { method parse (line 160) | func (d *WiichuckDriver) parse(value []byte) { method initialize (line 168) | func (d *WiichuckDriver) initialize() error { method shutdown (line 210) | func (d *WiichuckDriver) shutdown() error { function NewWiichuckDriver (line 51) | func NewWiichuckDriver(c Connector, options ...func(Config)) *WiichuckDr... FILE: drivers/i2c/wiichuck_driver_test.go function initTestWiichuckDriverWithStubbedAdaptor (line 18) | func initTestWiichuckDriverWithStubbedAdaptor() *WiichuckDriver { function TestNewWiichuckDriver (line 26) | func TestNewWiichuckDriver(t *testing.T) { function TestWiichuckDriverStart (line 38) | func TestWiichuckDriverStart(t *testing.T) { function TestWiichuckDriverHalt (line 70) | func TestWiichuckDriverHalt(t *testing.T) { function TestWiichuckDriverCanParse (line 79) | func TestWiichuckDriverCanParse(t *testing.T) { function TestWiichuckDriverCanAdjustOrigins (line 93) | func TestWiichuckDriverCanAdjustOrigins(t *testing.T) { function TestWiichuckDriverCButton (line 105) | func TestWiichuckDriverCButton(t *testing.T) { function TestWiichuckDriverZButton (line 129) | func TestWiichuckDriverZButton(t *testing.T) { function TestWiichuckDriverUpdateJoystick (line 152) | func TestWiichuckDriverUpdateJoystick(t *testing.T) { function TestWiichuckDriverEncrypted (line 180) | func TestWiichuckDriverEncrypted(t *testing.T) { function TestWiichuckDriverSetJoystickDefaultValue (line 195) | func TestWiichuckDriverSetJoystickDefaultValue(t *testing.T) { function TestWiichuckDriverCalculateJoystickValue (line 210) | func TestWiichuckDriverCalculateJoystickValue(t *testing.T) { function TestWiichuckDriverIsEncrypted (line 219) | func TestWiichuckDriverIsEncrypted(t *testing.T) { function TestWiichuckDriverDecode (line 238) | func TestWiichuckDriverDecode(t *testing.T) { function TestWiichuckDriverParse (line 247) | func TestWiichuckDriverParse(t *testing.T) { function TestWiichuckDriverAdjustOrigins (line 272) | func TestWiichuckDriverAdjustOrigins(t *testing.T) { function TestWiichuckDriverSetName (line 295) | func TestWiichuckDriverSetName(t *testing.T) { function TestWiichuckDriverOptions (line 301) | func TestWiichuckDriverOptions(t *testing.T) { FILE: drivers/i2c/yl40_driver.go constant yl40DefaultAddress (line 14) | yl40DefaultAddress = 0x48 constant yl40Debug (line 16) | yl40Debug = false type YL40Pin (line 19) | type YL40Pin constant YL40Bri (line 23) | YL40Bri YL40Pin = "brightness" constant YL40Temp (line 25) | YL40Temp YL40Pin = "temperature" constant YL40AIN2 (line 27) | YL40AIN2 YL40Pin = "analog input AIN2" constant YL40Poti (line 29) | YL40Poti YL40Pin = "potentiometer" constant YL40AOUT (line 31) | YL40AOUT YL40Pin = "analog output" constant yl40LedDefaultVal (line 36) | yl40LedDefaultVal = 1.7 constant yl40DefaultRefresh (line 38) | yl40DefaultRefresh = 0 type yl40Sensor (line 41) | type yl40Sensor struct type yl40Config (line 46) | type yl40Config struct type YL40Driver (line 67) | type YL40Driver struct method Start (line 190) | func (y *YL40Driver) Start() error { method Halt (line 214) | func (y *YL40Driver) Halt() error { method Read (line 244) | func (y *YL40Driver) Read(pin YL40Pin) (float64, error) { method ReadBrightness (line 262) | func (y *YL40Driver) ReadBrightness() (float64, error) { method ReadTemperature (line 267) | func (y *YL40Driver) ReadTemperature() (float64, error) { method ReadAIN2 (line 272) | func (y *YL40Driver) ReadAIN2() (float64, error) { method ReadPotentiometer (line 277) | func (y *YL40Driver) ReadPotentiometer() (float64, error) { method Value (line 282) | func (y *YL40Driver) Value(pin YL40Pin) (float64, error) { method Brightness (line 300) | func (y *YL40Driver) Brightness() (float64, error) { method Temperature (line 305) | func (y *YL40Driver) Temperature() (float64, error) { method AIN2 (line 310) | func (y *YL40Driver) AIN2() (float64, error) { method Potentiometer (line 315) | func (y *YL40Driver) Potentiometer() (float64, error) { method AOUT (line 320) | func (y *YL40Driver) AOUT() (float64, error) { method Write (line 325) | func (y *YL40Driver) Write(val float64) error { function NewYL40Driver (line 90) | func NewYL40Driver(a Connector, options ...func(Config)) *YL40Driver { function WithYL40Interval (line 150) | func WithYL40Interval(pin YL40Pin, val time.Duration) func(Config) { function WithYL40InputScaler (line 164) | func WithYL40InputScaler(pin YL40Pin, scaler func(input int) (value floa... function WithYL40OutputScaler (line 178) | func WithYL40OutputScaler(scaler func(input float64) (value int)) func(C... FILE: drivers/i2c/yl40_driver_test.go function initTestYL40DriverWithStubbedAdaptor (line 12) | func initTestYL40DriverWithStubbedAdaptor() (*YL40Driver, *i2cTestAdapto... function TestNewYL40Driver (line 20) | func TestNewYL40Driver(t *testing.T) { function TestYL40DriverWithYL40Interval (line 41) | func TestYL40DriverWithYL40Interval(t *testing.T) { function TestYL40DriverWithYL40InputScaler (line 56) | func TestYL40DriverWithYL40InputScaler(t *testing.T) { function TestYL40DriverWithYL40WithYL40OutputScaler (line 75) | func TestYL40DriverWithYL40WithYL40OutputScaler(t *testing.T) { function TestYL40DriverReadBrightness (line 85) | func TestYL40DriverReadBrightness(t *testing.T) { function TestYL40DriverReadTemperature (line 120) | func TestYL40DriverReadTemperature(t *testing.T) { function TestYL40DriverReadAIN2 (line 156) | func TestYL40DriverReadAIN2(t *testing.T) { function TestYL40DriverReadPotentiometer (line 191) | func TestYL40DriverReadPotentiometer(t *testing.T) { function TestYL40DriverAnalogWrite (line 226) | func TestYL40DriverAnalogWrite(t *testing.T) { function TestYL40DriverStart (line 248) | func TestYL40DriverStart(t *testing.T) { function TestYL40DriverHalt (line 253) | func TestYL40DriverHalt(t *testing.T) { function fEqual (line 260) | func fEqual(want interface{}, got interface{}) bool { FILE: drivers/onewire/ds18b20_driver.go constant ds18b20DefaultResolution (line 10) | ds18b20DefaultResolution = 12 constant ds18b20DefaultConversionTime (line 11) | ds18b20DefaultConversionTime = 750 constant temperatureCommand (line 13) | temperatureCommand = "temperature" constant extPowerCommand (line 14) | extPowerCommand = "ext_power" constant resolutionCommand (line 15) | resolutionCommand = "resolution" constant convTimeCommand (line 16) | convTimeCommand = "conv_time" type ds18b20OptionApplier (line 20) | type ds18b20OptionApplier interface type ds18b20Configuration (line 25) | type ds18b20Configuration struct type ds18b20UnitscalerOption (line 32) | type ds18b20UnitscalerOption struct method apply (line 227) | func (o ds18b20UnitscalerOption) apply(cfg *ds18b20Configuration) { type ds18b20ResolutionOption (line 36) | type ds18b20ResolutionOption method apply (line 231) | func (o ds18b20ResolutionOption) apply(cfg *ds18b20Configuration) { type ds18b20ConversionTimeOption (line 38) | type ds18b20ConversionTimeOption method apply (line 235) | func (o ds18b20ConversionTimeOption) apply(cfg *ds18b20Configuration) { type DS18B20Driver (line 41) | type DS18B20Driver struct method Temperature (line 107) | func (d *DS18B20Driver) Temperature() (float32, error) { method Resolution (line 120) | func (d *DS18B20Driver) Resolution() (uint8, error) { method IsExternalPowered (line 137) | func (d *DS18B20Driver) IsExternalPowered() (bool, error) { method ConversionTime (line 150) | func (d *DS18B20Driver) ConversionTime() (uint16, error) { method DebugConversionTime (line 167) | func (d *DS18B20Driver) DebugConversionTime(start, end uint16, stepwid... method initialize (line 195) | func (d *DS18B20Driver) initialize() error { method shutdown (line 209) | func (d *DS18B20Driver) shutdown() error { function NewDS18B20Driver (line 59) | func NewDS18B20Driver(a connector, serialNumber uint64, opts ...interfac... function WithFahrenheit (line 84) | func WithFahrenheit() ds18b20OptionApplier { function WithResolution (line 94) | func WithResolution(resolution uint8) ds18b20OptionApplier { function WithConversionTime (line 102) | func WithConversionTime(conversionTime uint16) ds18b20OptionApplier { FILE: drivers/onewire/ds18b20_driver_test.go function TestNewDS18B20Driver (line 10) | func TestNewDS18B20Driver(t *testing.T) { function TestDS18B20Start (line 23) | func TestDS18B20Start(t *testing.T) { function TestDS18B20Halt (line 76) | func TestDS18B20Halt(t *testing.T) { function TestDS18B20HaltIdempotent (line 132) | func TestDS18B20HaltIdempotent(t *testing.T) { function TestDS18B20Temperature (line 144) | func TestDS18B20Temperature(t *testing.T) { function TestDS18B20Resolution (line 181) | func TestDS18B20Resolution(t *testing.T) { function TestDS18B20IsExternalPowered (line 227) | func TestDS18B20IsExternalPowered(t *testing.T) { function TestDS18B20ConversionTime (line 269) | func TestDS18B20ConversionTime(t *testing.T) { function TestDS18B20WithName (line 315) | func TestDS18B20WithName(t *testing.T) { function TestDS18B20WithResolution (line 327) | func TestDS18B20WithResolution(t *testing.T) { function TestDS18B20WithConversionTime (line 339) | func TestDS18B20WithConversionTime(t *testing.T) { function TestDS18B20WithFahrenheit (line 349) | func TestDS18B20WithFahrenheit(t *testing.T) { FILE: drivers/onewire/helpers_test.go type oneWireAdaptorMock (line 8) | type oneWireAdaptorMock struct method GetOneWireConnection (line 21) | func (am *oneWireAdaptorMock) GetOneWireConnection(familyCode byte, se... method ID (line 35) | func (am *oneWireAdaptorMock) ID() string { return "" } method ReadData (line 37) | func (am *oneWireAdaptorMock) ReadData(command string, data []byte) er... method WriteData (line 43) | func (am *oneWireAdaptorMock) WriteData(command string, data []byte) e... method ReadInteger (line 49) | func (am *oneWireAdaptorMock) ReadInteger(command string) (int, error) { method WriteInteger (line 58) | func (am *oneWireAdaptorMock) WriteInteger(command string, val int) er... method Close (line 67) | func (am *oneWireAdaptorMock) Close() error { return nil } method Name (line 70) | func (am *oneWireAdaptorMock) Name() string { return "" } method SetName (line 71) | func (am *oneWireAdaptorMock) SetName(name string) {} method Connect (line 72) | func (am *oneWireAdaptorMock) Connect() error { return nil } method Finalize (line 73) | func (am *oneWireAdaptorMock) Finalize() error { return nil } function newOneWireTestAdaptor (line 17) | func newOneWireTestAdaptor() *oneWireAdaptorMock { type oneWireSystemDeviceMock (line 75) | type oneWireSystemDeviceMock struct method ID (line 88) | func (dm *oneWireSystemDeviceMock) ID() string { return dm.id } method ReadData (line 90) | func (dm *oneWireSystemDeviceMock) ReadData(command string, data []byt... method WriteData (line 97) | func (dm *oneWireSystemDeviceMock) WriteData(command string, data []by... method ReadInteger (line 105) | func (dm *oneWireSystemDeviceMock) ReadInteger(command string) (int, e... method WriteInteger (line 111) | func (dm *oneWireSystemDeviceMock) WriteInteger(command string, val in... method Close (line 118) | func (dm *oneWireSystemDeviceMock) Close() error { return dm.retErr } function newOneWireTestSystemDevice (line 84) | func newOneWireTestSystemDevice(id string) *oneWireSystemDeviceMock { FILE: drivers/onewire/onewire_connection.go type onewireConnection (line 10) | type onewireConnection struct method ID (line 21) | func (d *onewireConnection) ID() string { method ReadData (line 27) | func (c *onewireConnection) ReadData(command string, data []byte) error { method WriteData (line 36) | func (c *onewireConnection) WriteData(command string, data []byte) err... method ReadInteger (line 45) | func (c *onewireConnection) ReadInteger(command string) (int, error) { method WriteInteger (line 54) | func (c *onewireConnection) WriteInteger(command string, val int) error { method Close (line 63) | func (c *onewireConnection) Close() error { function NewConnection (line 16) | func NewConnection(onewireSystem gobot.OneWireSystemDevicer) *onewireCon... FILE: drivers/onewire/onewire_connection_test.go function TestNewConnection (line 11) | func TestNewConnection(t *testing.T) { function TestClose (line 19) | func TestClose(t *testing.T) { function TestReadData (line 49) | func TestReadData(t *testing.T) { function TestWriteData (line 91) | func TestWriteData(t *testing.T) { function TestReadInteger (line 127) | func TestReadInteger(t *testing.T) { function TestWriteInteger (line 163) | func TestWriteInteger(t *testing.T) { FILE: drivers/onewire/onewire_driver.go type connector (line 12) | type connector interface type Connection (line 19) | type Connection type optionApplier (line 22) | type optionApplier interface type configuration (line 27) | type configuration struct type nameOption (line 34) | type nameOption method String (line 176) | func (o nameOption) String() string { method apply (line 181) | func (o nameOption) apply(c *configuration) { type driver (line 37) | type driver struct method Name (line 81) | func (d *driver) Name() string { method SetName (line 86) | func (d *driver) SetName(name string) { method Connection (line 91) | func (d *driver) Connection() gobot.Connection { method Start (line 106) | func (d *driver) Start() error { method Halt (line 124) | func (d *driver) Halt() error { method id (line 138) | func (d *driver) id() (string, error) { method readData (line 147) | func (d *driver) readData(command string, data []byte) error { method writeData (line 155) | func (d *driver) writeData(command string, data []byte) error { method readInteger (line 162) | func (d *driver) readInteger(command string) (int, error) { method writeInteger (line 169) | func (d *driver) writeInteger(command string, val int) error { function newDriver (line 53) | func newDriver(a connector, name string, familyCode byte, serialNumber u... function WithName (line 76) | func WithName(name string) optionApplier { FILE: drivers/onewire/onewire_driver_test.go function initTestDriver (line 10) | func initTestDriver() *driver { function initDriverWithStubbedAdaptor (line 15) | func initDriverWithStubbedAdaptor() (*driver, *oneWireAdaptorMock) { function Test_newDriver (line 20) | func Test_newDriver(t *testing.T) { function TestConnection (line 38) | func TestConnection(t *testing.T) { function TestStart (line 46) | func TestStart(t *testing.T) { function TestStartConnectError (line 53) | func TestStartConnectError(t *testing.T) { function TestHalt (line 61) | func TestHalt(t *testing.T) { function TestWithName (line 70) | func TestWithName(t *testing.T) { FILE: drivers/serial/megapi/motor_driver.go type megapiMotorSerialAdaptor (line 16) | type megapiMotorSerialAdaptor interface type MotorDriver (line 22) | type MotorDriver struct method Speed (line 47) | func (d *MotorDriver) Speed(speed int16) error { method initialize (line 58) | func (d *MotorDriver) initialize() error { method shutdown (line 88) | func (d *MotorDriver) shutdown() error { method speedHelper (line 102) | func (d *MotorDriver) speedHelper(speed int16) error { method sendSpeed (line 110) | func (d *MotorDriver) sendSpeed(speed int16) error { method adaptor (line 124) | func (d *MotorDriver) adaptor() megapiMotorSerialAdaptor { function NewMotorDriver (line 33) | func NewMotorDriver(a megapiMotorSerialAdaptor, port byte, opts ...seria... FILE: drivers/serial/neurosky/mindwave_driver.go type mindWaveSerialAdaptor (line 11) | type mindWaveSerialAdaptor interface constant mindWaveBTSync (line 18) | mindWaveBTSync byte = 0xAA constant mindWaveCodeEx (line 20) | mindWaveCodeEx byte = 0x55 constant mindWaveCodeSignalQuality (line 22) | mindWaveCodeSignalQuality byte = 0x02 constant mindWaveCodeAttention (line 24) | mindWaveCodeAttention byte = 0x04 constant mindWaveCodeMeditation (line 26) | mindWaveCodeMeditation byte = 0x05 constant mindWaveCodeBlink (line 28) | mindWaveCodeBlink byte = 0x16 constant mindWaveCodeWave (line 30) | mindWaveCodeWave byte = 0x80 constant mindWaveCodeAsicEEG (line 32) | mindWaveCodeAsicEEG byte = 0x83 constant ExtendedEvent (line 34) | ExtendedEvent = "extended" constant SignalEvent (line 35) | SignalEvent = "signal" constant AttentionEvent (line 36) | AttentionEvent = "attention" constant MeditationEvent (line 37) | MeditationEvent = "meditation" constant BlinkEvent (line 38) | BlinkEvent = "blink" constant WaveEvent (line 39) | WaveEvent = "wave" constant EEGEvent (line 40) | EEGEvent = "eeg" constant ErrorEvent (line 41) | ErrorEvent = "error" type MindWaveDriver (line 45) | type MindWaveDriver struct method initialize (line 92) | func (d *MindWaveDriver) initialize() error { method parse (line 110) | func (d *MindWaveDriver) parse(buf *bytes.Buffer) error { method parsePacket (line 132) | func (d *MindWaveDriver) parsePacket(buf *bytes.Buffer) error { method parseEEG (line 170) | func (d *MindWaveDriver) parseEEG(data []byte) MindWaveEEGData { method parse3ByteInteger (line 183) | func (d *MindWaveDriver) parse3ByteInteger(data []byte) int { method adaptor (line 189) | func (d *MindWaveDriver) adaptor() mindWaveSerialAdaptor { type MindWaveEEGData (line 51) | type MindWaveEEGData struct function NewMindWaveDriver (line 72) | func NewMindWaveDriver(a mindWaveSerialAdaptor, opts ...serial.OptionApp... FILE: drivers/serial/neurosky/mindwave_driver_test.go function initTestNeuroskyDriver (line 20) | func initTestNeuroskyDriver() *MindWaveDriver { function TestNeuroskyDriver (line 26) | func TestNeuroskyDriver(t *testing.T) { function TestNeuroskyDriverName (line 31) | func TestNeuroskyDriverName(t *testing.T) { function TestNeuroskyDriverStart (line 38) | func TestNeuroskyDriverStart(t *testing.T) { function TestNeuroskyDriverHalt (line 65) | func TestNeuroskyDriverHalt(t *testing.T) { function TestNeuroskyDriverParse (line 70) | func TestNeuroskyDriverParse(t *testing.T) { FILE: drivers/serial/serial_driver.go type SerialReader (line 10) | type SerialReader interface type SerialWriter (line 14) | type SerialWriter interface type OptionApplier (line 19) | type OptionApplier interface type configuration (line 24) | type configuration struct type nameOption (line 29) | type nameOption method apply (line 126) | func (o nameOption) apply(c *configuration) { type Driver (line 32) | type Driver struct method Name (line 76) | func (d *Driver) Name() string { method SetName (line 82) | func (d *Driver) SetName(name string) { method Connection (line 87) | func (d *Driver) Connection() gobot.Connection { method Start (line 102) | func (d *Driver) Start() error { method Halt (line 112) | func (d *Driver) Halt() error { method Mutex (line 121) | func (d *Driver) Mutex() *sync.Mutex { function NewDriver (line 43) | func NewDriver(a interface{}, name string, function WithName (line 71) | func WithName(name string) OptionApplier { FILE: drivers/serial/serial_driver_test.go function initTestDriver (line 17) | func initTestDriver() *Driver { function TestNewDriver (line 23) | func TestNewDriver(t *testing.T) { function Test_newDriverWithName (line 40) | func Test_newDriverWithName(t *testing.T) { function Test_applyWithName (line 55) | func Test_applyWithName(t *testing.T) { function TestStart (line 65) | func TestStart(t *testing.T) { function TestHalt (line 76) | func TestHalt(t *testing.T) { FILE: drivers/serial/sphero/sphero_driver.go type spheroSerialAdaptor (line 15) | type spheroSerialAdaptor interface type packet (line 23) | type packet struct type SpheroDriver (line 30) | type SpheroDriver struct method SetRGB (line 150) | func (d *SpheroDriver) SetRGB(r uint8, g uint8, b uint8) { method GetRGB (line 155) | func (d *SpheroDriver) GetRGB() []uint8 { method ReadLocator (line 164) | func (d *SpheroDriver) ReadLocator() []int16 { method SetBackLED (line 175) | func (d *SpheroDriver) SetBackLED(level uint8) { method SetRotationRate (line 181) | func (d *SpheroDriver) SetRotationRate(level uint8) { method SetHeading (line 186) | func (d *SpheroDriver) SetHeading(heading uint16) { method SetStabilization (line 192) | func (d *SpheroDriver) SetStabilization(on bool) { method Roll (line 201) | func (d *SpheroDriver) Roll(speed uint8, heading uint16) { method ConfigureLocator (line 207) | func (d *SpheroDriver) ConfigureLocator(lc spherocommon.LocatorConfig) { method SetDataStreaming (line 217) | func (d *SpheroDriver) SetDataStreaming(dsc spherocommon.DataStreaming... method Stop (line 227) | func (d *SpheroDriver) Stop() { method ConfigureCollisionDetection (line 232) | func (d *SpheroDriver) ConfigureCollisionDetection(cc spherocommon.Col... method StartCalibration (line 242) | func (d *SpheroDriver) StartCalibration() { method FinishCalibration (line 252) | func (d *SpheroDriver) FinishCalibration() { method initialize (line 276) | func (d *SpheroDriver) initialize() error { method shutdown (line 337) | func (d *SpheroDriver) shutdown() error { method enableStopOnDisconnect (line 347) | func (d *SpheroDriver) enableStopOnDisconnect() { method handleCollisionDetected (line 351) | func (d *SpheroDriver) handleCollisionDetected(data []uint8) { method handleDataStreaming (line 364) | func (d *SpheroDriver) handleDataStreaming(data []uint8) { method getSyncResponse (line 377) | func (d *SpheroDriver) getSyncResponse(packet *packet) []byte { method sendCraftPacket (line 393) | func (d *SpheroDriver) sendCraftPacket(body []uint8, cid byte) { method craftPacket (line 397) | func (d *SpheroDriver) craftPacket(body []uint8, cid byte) *packet { method write (line 412) | func (d *SpheroDriver) write(packet *packet) error { method readHeader (line 430) | func (d *SpheroDriver) readHeader() []uint8 { method readBody (line 434) | func (d *SpheroDriver) readBody(length uint8) []uint8 { method readNextChunk (line 438) | func (d *SpheroDriver) readNextChunk(length int) []uint8 { method adaptor (line 453) | func (d *SpheroDriver) adaptor() spheroSerialAdaptor { function NewSpheroDriver (line 57) | func NewSpheroDriver(a spheroSerialAdaptor, opts ...serial.OptionApplier... function spheroDefaultCollisionConfig (line 463) | func spheroDefaultCollisionConfig() spherocommon.CollisionConfig { function spheroDefaultLocatorConfig (line 475) | func spheroDefaultLocatorConfig() spherocommon.LocatorConfig { FILE: drivers/serial/sphero/sphero_driver_test.go function initTestSpheroDriver (line 21) | func initTestSpheroDriver() *SpheroDriver { function TestNewSpheroDriver (line 28) | func TestNewSpheroDriver(t *testing.T) { function TestNewSpheroDriverWithName (line 34) | func TestNewSpheroDriverWithName(t *testing.T) { function TestSpheroCommands (line 46) | func TestSpheroCommands(t *testing.T) { function TestSpheroStart (line 100) | func TestSpheroStart(t *testing.T) { function TestSpheroHalt (line 105) | func TestSpheroHalt(t *testing.T) { function TestSpheroSetDataStreaming (line 113) | func TestSpheroSetDataStreaming(t *testing.T) { function TestSpheroConfigureLocator (line 143) | func TestSpheroConfigureLocator(t *testing.T) { FILE: drivers/serial/testutil/testutil.go type serialTestAdaptor (line 5) | type serialTestAdaptor struct method SetSimulateConnectError (line 18) | func (t *serialTestAdaptor) SetSimulateConnectError(val bool) { method SetSimulateReadError (line 22) | func (t *serialTestAdaptor) SetSimulateReadError(val bool) { method SetSimulateWriteError (line 26) | func (t *serialTestAdaptor) SetSimulateWriteError(val bool) { method IsConnected (line 30) | func (t *serialTestAdaptor) IsConnected() bool { method SerialRead (line 34) | func (t *serialTestAdaptor) SerialRead(b []byte) (int, error) { method SerialWrite (line 42) | func (t *serialTestAdaptor) SerialWrite(b []byte) (int, error) { method Connect (line 51) | func (t *serialTestAdaptor) Connect() error { method Finalize (line 60) | func (t *serialTestAdaptor) Finalize() error { return nil } method Name (line 61) | func (t *serialTestAdaptor) Name() string { return t.name } method SetName (line 62) | func (t *serialTestAdaptor) SetName(n string) { t.name = n } function NewSerialTestAdaptor (line 14) | func NewSerialTestAdaptor() *serialTestAdaptor { FILE: drivers/spi/apa102.go type APA102Driver (line 9) | type APA102Driver struct method SetRGBA (line 46) | func (d *APA102Driver) SetRGBA(i int, v color.RGBA) { method SetBrightness (line 52) | func (d *APA102Driver) SetBrightness(i uint8) { method Brightness (line 57) | func (d *APA102Driver) Brightness() uint8 { method Draw (line 62) | func (d *APA102Driver) Draw() error { function NewAPA102Driver (line 31) | func NewAPA102Driver(a Connector, count int, bright uint8, options ...fu... FILE: drivers/spi/apa102_test.go function initTestAPA102DriverWithStubbedAdaptor (line 18) | func initTestAPA102DriverWithStubbedAdaptor() *APA102Driver { function TestNewAPA102Driver (line 27) | func TestNewAPA102Driver(t *testing.T) { function TestAPA102Halt (line 37) | func TestAPA102Halt(t *testing.T) { function TestDriverLEDs (line 46) | func TestDriverLEDs(t *testing.T) { FILE: drivers/spi/helpers_test.go type spiTestAdaptor (line 16) | type spiTestAdaptor struct method GetSpiConnection (line 35) | func (a *spiTestAdaptor) GetSpiConnection(busNum, chipNum, mode, bits ... method SpiDefaultBusNumber (line 45) | func (a *spiTestAdaptor) SpiDefaultBusNumber() int { return 0 } method SpiDefaultChipNumber (line 46) | func (a *spiTestAdaptor) SpiDefaultChipNumber() int { return 0 } method SpiDefaultMode (line 47) | func (a *spiTestAdaptor) SpiDefaultMode() int { return 0 } method SpiDefaultBitCount (line 48) | func (a *spiTestAdaptor) SpiDefaultBitCount() int { return 0 } method SpiDefaultMaxSpeed (line 49) | func (a *spiTestAdaptor) SpiDefaultMaxSpeed() int64 { return 0 } method Connect (line 52) | func (a *spiTestAdaptor) Connect() error { return nil } method Finalize (line 53) | func (a *spiTestAdaptor) Finalize() error { return nil } method Name (line 54) | func (a *spiTestAdaptor) Name() string { return "board name" } method SetName (line 55) | func (a *spiTestAdaptor) SetName(string) {} function newSpiTestAdaptor (line 24) | func newSpiTestAdaptor() *spiTestAdaptor { FILE: drivers/spi/mcp3002.go constant MCP3002DriverMaxChannel (line 9) | MCP3002DriverMaxChannel = 2 type MCP3002Driver (line 12) | type MCP3002Driver struct method Read (line 40) | func (d *MCP3002Driver) Read(channel int) (int, error) { method AnalogRead (line 59) | func (d *MCP3002Driver) AnalogRead(pin string) (int, error) { function NewMCP3002Driver (line 29) | func NewMCP3002Driver(a Connector, options ...func(Config)) *MCP3002Driv... FILE: drivers/spi/mcp3002_test.go function initTestMCP3002DriverWithStubbedAdaptor (line 22) | func initTestMCP3002DriverWithStubbedAdaptor() (*MCP3002Driver, *spiTest... function TestNewMCP3002Driver (line 31) | func TestNewMCP3002Driver(t *testing.T) { function TestMCP3002Halt (line 41) | func TestMCP3002Halt(t *testing.T) { function TestMCP3002Read (line 50) | func TestMCP3002Read(t *testing.T) { function TestMCP3002ReadWithError (line 94) | func TestMCP3002ReadWithError(t *testing.T) { FILE: drivers/spi/mcp3004.go constant MCP3004DriverMaxChannel (line 9) | MCP3004DriverMaxChannel = 4 type MCP3004Driver (line 12) | type MCP3004Driver struct method Read (line 40) | func (d *MCP3004Driver) Read(channel int) (int, error) { method AnalogRead (line 62) | func (d *MCP3004Driver) AnalogRead(pin string) (int, error) { function NewMCP3004Driver (line 29) | func NewMCP3004Driver(a Connector, options ...func(Config)) *MCP3004Driv... FILE: drivers/spi/mcp3004_test.go function initTestMCP3004DriverWithStubbedAdaptor (line 22) | func initTestMCP3004DriverWithStubbedAdaptor() (*MCP3004Driver, *spiTest... function TestNewMCP3004Driver (line 31) | func TestNewMCP3004Driver(t *testing.T) { function TestMCP3004Halt (line 41) | func TestMCP3004Halt(t *testing.T) { function TestMCP3004Read (line 50) | func TestMCP3004Read(t *testing.T) { function TestMCP3004ReadWithError (line 100) | func TestMCP3004ReadWithError(t *testing.T) { FILE: drivers/spi/mcp3008.go constant MCP3008DriverMaxChannel (line 9) | MCP3008DriverMaxChannel = 8 type MCP3008Driver (line 12) | type MCP3008Driver struct method Read (line 40) | func (d *MCP3008Driver) Read(channel int) (int, error) { method AnalogRead (line 62) | func (d *MCP3008Driver) AnalogRead(pin string) (int, error) { function NewMCP3008Driver (line 29) | func NewMCP3008Driver(a Connector, options ...func(Config)) *MCP3008Driv... FILE: drivers/spi/mcp3008_test.go function initTestMCP3008DriverWithStubbedAdaptor (line 22) | func initTestMCP3008DriverWithStubbedAdaptor() (*MCP3008Driver, *spiTest... function TestNewMCP3008Driver (line 31) | func TestNewMCP3008Driver(t *testing.T) { function TestMCP3008Halt (line 41) | func TestMCP3008Halt(t *testing.T) { function TestMCP3008Read (line 50) | func TestMCP3008Read(t *testing.T) { function TestMCP3008ReadWithError (line 100) | func TestMCP3008ReadWithError(t *testing.T) { FILE: drivers/spi/mcp3202.go constant MCP3202DriverMaxChannel (line 11) | MCP3202DriverMaxChannel = 2 type MCP3202Driver (line 14) | type MCP3202Driver struct method Read (line 42) | func (d *MCP3202Driver) Read(channel int) (int, error) { method AnalogRead (line 64) | func (d *MCP3202Driver) AnalogRead(pin string) (int, error) { function NewMCP3202Driver (line 31) | func NewMCP3202Driver(a Connector, options ...func(Config)) *MCP3202Driv... FILE: drivers/spi/mcp3202_test.go function initTestMCP3202DriverWithStubbedAdaptor (line 22) | func initTestMCP3202DriverWithStubbedAdaptor() (*MCP3202Driver, *spiTest... function TestNewMCP3202Driver (line 31) | func TestNewMCP3202Driver(t *testing.T) { function TestMCP3202Halt (line 41) | func TestMCP3202Halt(t *testing.T) { function TestMCP3202Read (line 50) | func TestMCP3202Read(t *testing.T) { function TestMCP3202ReadWithError (line 94) | func TestMCP3202ReadWithError(t *testing.T) { FILE: drivers/spi/mcp3204.go constant MCP3204DriverMaxChannel (line 11) | MCP3204DriverMaxChannel = 4 type MCP3204Driver (line 14) | type MCP3204Driver struct method Read (line 42) | func (d *MCP3204Driver) Read(channel int) (int, error) { method AnalogRead (line 64) | func (d *MCP3204Driver) AnalogRead(pin string) (int, error) { function NewMCP3204Driver (line 31) | func NewMCP3204Driver(a Connector, options ...func(Config)) *MCP3204Driv... FILE: drivers/spi/mcp3204_test.go function initTestMCP3204DriverWithStubbedAdaptor (line 22) | func initTestMCP3204DriverWithStubbedAdaptor() (*MCP3204Driver, *spiTest... function TestNewMCP3204Driver (line 31) | func TestNewMCP3204Driver(t *testing.T) { function TestMCP3204Halt (line 41) | func TestMCP3204Halt(t *testing.T) { function TestMCP3204Read (line 50) | func TestMCP3204Read(t *testing.T) { function TestMCP3204ReadWithError (line 100) | func TestMCP3204ReadWithError(t *testing.T) { FILE: drivers/spi/mcp3208.go constant MCP3208DriverMaxChannel (line 11) | MCP3208DriverMaxChannel = 8 type MCP3208Driver (line 14) | type MCP3208Driver struct method Read (line 42) | func (d *MCP3208Driver) Read(channel int) (int, error) { method AnalogRead (line 64) | func (d *MCP3208Driver) AnalogRead(pin string) (int, error) { function NewMCP3208Driver (line 31) | func NewMCP3208Driver(a Connector, options ...func(Config)) *MCP3208Driv... FILE: drivers/spi/mcp3208_test.go function initTestMCP3208DriverWithStubbedAdaptor (line 22) | func initTestMCP3208DriverWithStubbedAdaptor() (*MCP3208Driver, *spiTest... function TestNewMCP3208Driver (line 31) | func TestNewMCP3208Driver(t *testing.T) { function TestMCP3208Halt (line 41) | func TestMCP3208Halt(t *testing.T) { function TestMCP3208Read (line 50) | func TestMCP3208Read(t *testing.T) { function TestMCP3208ReadWithError (line 100) | func TestMCP3208ReadWithError(t *testing.T) { FILE: drivers/spi/mcp3304.go constant MCP3304DriverMaxChannel (line 11) | MCP3304DriverMaxChannel = 8 type MCP3304Driver (line 14) | type MCP3304Driver struct method Read (line 42) | func (d *MCP3304Driver) Read(channel int) (int, error) { method AnalogRead (line 64) | func (d *MCP3304Driver) AnalogRead(pin string) (int, error) { function NewMCP3304Driver (line 31) | func NewMCP3304Driver(a Connector, options ...func(Config)) *MCP3304Driv... FILE: drivers/spi/mcp3304_test.go function initTestMCP3304DriverWithStubbedAdaptor (line 22) | func initTestMCP3304DriverWithStubbedAdaptor() (*MCP3304Driver, *spiTest... function TestNewMCP3304Driver (line 31) | func TestNewMCP3304Driver(t *testing.T) { function TestMCP3304Halt (line 41) | func TestMCP3304Halt(t *testing.T) { function TestMCP3304Read (line 50) | func TestMCP3304Read(t *testing.T) { function TestMCP3304ReadWithError (line 100) | func TestMCP3304ReadWithError(t *testing.T) { FILE: drivers/spi/mfrc522_driver.go type MFRC522Driver (line 9) | type MFRC522Driver struct method initialize (line 39) | func (d *MFRC522Driver) initialize() error { function NewMFRC522Driver (line 27) | func NewMFRC522Driver(a Connector, options ...func(Config)) *MFRC522Driv... type conWrapper (line 45) | type conWrapper struct method ReadByteData (line 49) | func (w *conWrapper) ReadByteData(reg uint8) (uint8, error) { method WriteByteData (line 54) | func (w *conWrapper) WriteByteData(reg uint8, val uint8) error { FILE: drivers/spi/mfrc522_driver_test.go function initTestMFRC522DriverWithStubbedAdaptor (line 17) | func initTestMFRC522DriverWithStubbedAdaptor() (*MFRC522Driver, *spiTest... function TestNewMFRC522Driver (line 28) | func TestNewMFRC522Driver(t *testing.T) { function TestMFRC522Halt (line 38) | func TestMFRC522Halt(t *testing.T) { function TestMFRC522WriteByteData (line 47) | func TestMFRC522WriteByteData(t *testing.T) { FILE: drivers/spi/spi_config.go type spiConfig (line 3) | type spiConfig struct method SetBusNumber (line 58) | func (s *spiConfig) SetBusNumber(bus int) { method GetBusNumberOrDefault (line 64) | func (s *spiConfig) GetBusNumberOrDefault(d int) int { method SetChipNumber (line 72) | func (s *spiConfig) SetChipNumber(chip int) { method GetChipNumberOrDefault (line 78) | func (s *spiConfig) GetChipNumberOrDefault(d int) int { method SetMode (line 86) | func (s *spiConfig) SetMode(mode int) { method GetModeOrDefault (line 92) | func (s *spiConfig) GetModeOrDefault(d int) int { method SetBitCount (line 100) | func (s *spiConfig) SetBitCount(bits int) { method GetBitCountOrDefault (line 106) | func (s *spiConfig) GetBitCountOrDefault(d int) int { method SetSpeed (line 114) | func (s *spiConfig) SetSpeed(speed int64) { method GetSpeedOrDefault (line 120) | func (s *spiConfig) GetSpeedOrDefault(d int64) int64 { function NewConfig (line 12) | func NewConfig() Config { function WithBusNumber (line 23) | func WithBusNumber(busNum int) func(Config) { function WithChipNumber (line 30) | func WithChipNumber(chipNum int) func(Config) { function WithMode (line 37) | func WithMode(mode int) func(Config) { function WithBitCount (line 44) | func WithBitCount(bitCount int) func(Config) { function WithSpeed (line 51) | func WithSpeed(speed int64) func(Config) { FILE: drivers/spi/spi_connection.go constant spiDebugByte (line 11) | spiDebugByte = false constant spiDebugBlock (line 12) | spiDebugBlock = false type spiConnection (line 16) | type spiConnection struct method Close (line 28) | func (c *spiConnection) Close() error { method ReadCommandData (line 39) | func (c *spiConnection) ReadCommandData(command []byte, data []byte) e... method ReadByteData (line 47) | func (c *spiConnection) ReadByteData(reg uint8) (uint8, error) { method ReadBlockData (line 64) | func (c *spiConnection) ReadBlockData(reg uint8, data []byte) error { method WriteByte (line 79) | func (c *spiConnection) WriteByte(val byte) error { method WriteByteData (line 87) | func (c *spiConnection) WriteByteData(reg byte, data byte) error { method WriteBlockData (line 95) | func (c *spiConnection) WriteBlockData(reg byte, data []byte) error { method WriteBytes (line 106) | func (c *spiConnection) WriteBytes(data []byte) error { method readAlignedBlockData (line 113) | func (c *spiConnection) readAlignedBlockData(reg uint8, data []byte) e... method writeBytes (line 127) | func (c *spiConnection) writeBytes(data []byte) error { method txRxAndCheckReadLength (line 131) | func (c *spiConnection) txRxAndCheckReadLength(tx []byte, rx []byte) e... function NewConnection (line 23) | func NewConnection(spiSystem gobot.SpiSystemDevicer) *spiConnection { FILE: drivers/spi/spi_connection_test.go function initTestConnectionWithMockedSystem (line 15) | func initTestConnectionWithMockedSystem() (Connection, *system.MockSpiAc... function TestReadCommandData (line 33) | func TestReadCommandData(t *testing.T) { function TestReadByteData (line 48) | func TestReadByteData(t *testing.T) { function TestReadBlockData (line 64) | func TestReadBlockData(t *testing.T) { function TestWriteByte (line 81) | func TestWriteByte(t *testing.T) { function TestWriteByteData (line 92) | func TestWriteByteData(t *testing.T) { function TestWriteBlockData (line 106) | func TestWriteBlockData(t *testing.T) { function TestWriteBytes (line 118) | func TestWriteBytes(t *testing.T) { FILE: drivers/spi/spi_driver.go constant NotInitialized (line 13) | NotInitialized = -1 type Connector (line 18) | type Connector interface type Connection (line 42) | type Connection type Config (line 46) | type Config interface type Driver (line 79) | type Driver struct method Name (line 108) | func (d *Driver) Name() string { return d.name } method SetName (line 111) | func (d *Driver) SetName(n string) { d.name = n } method Connection (line 114) | func (d *Driver) Connection() gobot.Connection { method Start (line 129) | func (d *Driver) Start() error { method Halt (line 152) | func (d *Driver) Halt() error { method readCommandData (line 167) | func (d *Driver) readCommandData(command []byte, data []byte) error { method readByteData (line 176) | func (d *Driver) readByteData(reg uint8) (uint8, error) { method readBlockData (line 185) | func (d *Driver) readBlockData(reg uint8, data []byte) error { method writeByte (line 193) | func (d *Driver) writeByte(val byte) error { method writeByteData (line 202) | func (d *Driver) writeByteData(reg byte, data byte) error { method writeBlockData (line 210) | func (d *Driver) writeBlockData(reg byte, data []byte) error { method writeBytes (line 218) | func (d *Driver) writeBytes(data []byte) error { function NewDriver (line 92) | func NewDriver(a Connector, name string, options ...func(Config)) *Driver { FILE: drivers/spi/spi_driver_test.go function initTestDriverWithStubbedAdaptor (line 15) | func initTestDriverWithStubbedAdaptor() (*Driver, *spiTestAdaptor) { //n... function TestNewDriver (line 24) | func TestNewDriver(t *testing.T) { function TestStart (line 33) | func TestStart(t *testing.T) { function TestHalt (line 38) | func TestHalt(t *testing.T) { function TestSetName (line 47) | func TestSetName(t *testing.T) { function TestConnection (line 56) | func TestConnection(t *testing.T) { FILE: drivers/spi/ssd1306_driver.go constant ssd1306Width (line 14) | ssd1306Width = 128 constant ssd1306Height (line 15) | ssd1306Height = 64 constant ssd1306DcPin (line 16) | ssd1306DcPin = "16" constant ssd1306RstPin (line 17) | ssd1306RstPin = "18" constant ssd1306ExternalVcc (line 18) | ssd1306ExternalVcc = false constant ssd1306SetStartLine (line 19) | ssd1306SetStartLine = 0x40 constant ssd1306SetContrast (line 21) | ssd1306SetContrast = 0x81 constant ssd1306DisplayOnResumeToRAM (line 22) | ssd1306DisplayOnResumeToRAM = 0xA4 constant ssd1306DisplayOnResume (line 23) | ssd1306DisplayOnResume = 0xA5 constant ssd1306SetDisplayNormal (line 24) | ssd1306SetDisplayNormal = 0xA6 constant ssd1306SetDisplayInverse (line 25) | ssd1306SetDisplayInverse = 0xA7 constant ssd1306SetDisplayOff (line 26) | ssd1306SetDisplayOff = 0xAE constant ssd1306SetDisplayOn (line 27) | ssd1306SetDisplayOn = 0xAF constant ssd1306RightHorizontalScroll (line 29) | ssd1306RightHorizontalScroll = 0x26 constant ssd1306LeftHorizontalScroll (line 30) | ssd1306LeftHorizontalScroll = 0x27 constant ssd1306VerticalAndRightHorizontalScroll (line 31) | ssd1306VerticalAndRightHorizontalScroll = 0x29 constant ssd1306VerticalAndLeftHorizontalScroll (line 32) | ssd1306VerticalAndLeftHorizontalScroll = 0x2A constant ssd1306DeactivateScroll (line 33) | ssd1306DeactivateScroll = 0x2E constant ssd1306ActivateScroll (line 34) | ssd1306ActivateScroll = 0x2F constant ssd1306SetVerticalScrollArea (line 35) | ssd1306SetVerticalScrollArea = 0xA3 constant ssd1306SetMemoryAddressingMode (line 37) | ssd1306SetMemoryAddressingMode = 0x20 constant ssd1306ColumnAddr (line 38) | ssd1306ColumnAddr = 0x21 constant ssd1306PageAddr (line 39) | ssd1306PageAddr = 0x22 constant ssd1306SetSegmentRemap0 (line 41) | ssd1306SetSegmentRemap0 = 0xA0 constant ssd1306SetSegmentRemap127 (line 42) | ssd1306SetSegmentRemap127 = 0xA1 constant ssd1306SetMultiplexRatio (line 43) | ssd1306SetMultiplexRatio = 0xA8 constant ssd1306ComScanInc (line 44) | ssd1306ComScanInc = 0xC0 constant ssd1306ComScanDec (line 45) | ssd1306ComScanDec = 0xC8 constant ssd1306SetDisplayOffset (line 46) | ssd1306SetDisplayOffset = 0xD3 constant ssd1306SetComPins (line 47) | ssd1306SetComPins = 0xDA constant ssd1306SetDisplayClock (line 49) | ssd1306SetDisplayClock = 0xD5 constant ssd1306SetPrechargePeriod (line 50) | ssd1306SetPrechargePeriod = 0xD9 constant ssd1306SetVComDeselectLevel (line 51) | ssd1306SetVComDeselectLevel = 0xDB constant ssd1306NOOP (line 52) | ssd1306NOOP = 0xE3 constant ssd1306ChargePumpSetting (line 54) | ssd1306ChargePumpSetting = 0x8D type DisplayBuffer (line 58) | type DisplayBuffer struct method Size (line 75) | func (d *DisplayBuffer) Size() int { method Clear (line 80) | func (d *DisplayBuffer) Clear() { method SetPixel (line 85) | func (d *DisplayBuffer) SetPixel(x, y, c int) { method Set (line 96) | func (d *DisplayBuffer) Set(buf []byte) { function NewDisplayBuffer (line 64) | func NewDisplayBuffer(width, height, pageSize int) *DisplayBuffer { type SSD1306Driver (line 101) | type SSD1306Driver struct method On (line 251) | func (d *SSD1306Driver) On() error { method Off (line 256) | func (d *SSD1306Driver) Off() error { method Clear (line 261) | func (d *SSD1306Driver) Clear() error { method Set (line 267) | func (d *SSD1306Driver) Set(x, y, c int) { method Reset (line 272) | func (d *SSD1306Driver) Reset() error { method SetBufferAndDisplay (line 288) | func (d *SSD1306Driver) SetBufferAndDisplay(buf []byte) error { method SetContrast (line 294) | func (d *SSD1306Driver) SetContrast(contrast byte) error { method Display (line 302) | func (d *SSD1306Driver) Display() error { method ShowImage (line 330) | func (d *SSD1306Driver) ShowImage(img image.Image) error { method command (line 350) | func (d *SSD1306Driver) command(b byte) error { method initialize (line 358) | func (d *SSD1306Driver) initialize() error { method shutdown (line 480) | func (d *SSD1306Driver) shutdown() error { function NewSSD1306Driver (line 133) | func NewSSD1306Driver(a gobot.Adaptor, options ...func(Config)) *SSD1306... function WithDisplayWidth (line 191) | func WithDisplayWidth(val int) func(Config) { function WithDisplayHeight (line 203) | func WithDisplayHeight(val int) func(Config) { function WithDCPin (line 215) | func WithDCPin(val string) func(Config) { function WithRstPin (line 227) | func WithRstPin(val string) func(Config) { function WithExternalVCC (line 239) | func WithExternalVCC(val bool) func(Config) { FILE: drivers/spi/ssd1306_driver_test.go function initTestSSDDriver (line 17) | func initTestSSDDriver() *SSD1306Driver { function TestDriverSSDStart (line 21) | func TestDriverSSDStart(t *testing.T) { function TestDriverSSDHalt (line 26) | func TestDriverSSDHalt(t *testing.T) { function TestDriverSSDDisplay (line 35) | func TestDriverSSDDisplay(t *testing.T) { function TestSSD1306DriverShowImage (line 41) | func TestSSD1306DriverShowImage(t *testing.T) { type gpioTestAdaptor (line 51) | type gpioTestAdaptor struct method ServoWrite (line 65) | func (t *gpioTestAdaptor) ServoWrite(string, byte) error { method PwmWrite (line 71) | func (t *gpioTestAdaptor) PwmWrite(string, byte) error { method AnalogRead (line 77) | func (t *gpioTestAdaptor) AnalogRead(string) (int, error) { method DigitalRead (line 83) | func (t *gpioTestAdaptor) DigitalRead(string) (int, error) { method DigitalWrite (line 89) | func (t *gpioTestAdaptor) DigitalWrite(string, byte) error { method Connect (line 94) | func (t *gpioTestAdaptor) Connect() error { return nil } method Finalize (line 95) | func (t *gpioTestAdaptor) Finalize() error { return nil } method Name (line 96) | func (t *gpioTestAdaptor) Name() string { return t.name } method SetName (line 97) | func (t *gpioTestAdaptor) SetName(n string) { t.name = n } method Port (line 98) | func (t *gpioTestAdaptor) Port() string { return t.port } function newGpioTestAdaptor (line 100) | func newGpioTestAdaptor() *gpioTestAdaptor { FILE: event.go type Event (line 5) | type Event struct function NewEvent (line 11) | func NewEvent(name string, data interface{}) *Event { FILE: eventer.go type eventChannel (line 5) | type eventChannel type eventer (line 7) | type eventer struct method Events (line 79) | func (e *eventer) Events() map[string]string { method Event (line 85) | func (e *eventer) Event(name string) string { method AddEvent (line 90) | func (e *eventer) AddEvent(name string) { method DeleteEvent (line 95) | func (e *eventer) DeleteEvent(name string) { method Publish (line 100) | func (e *eventer) Publish(name string, data interface{}) { method Subscribe (line 106) | func (e *eventer) Subscribe() eventChannel { method Unsubscribe (line 115) | func (e *eventer) Unsubscribe(events eventChannel) { method On (line 122) | func (e *eventer) On(n string, f func(s interface{})) error { method Once (line 137) | func (e *eventer) Once(n string, f func(s interface{})) error { constant eventChanBufferSize (line 21) | eventChanBufferSize = 10 type Eventer (line 25) | type Eventer interface function NewEventer (line 56) | func NewEventer() Eventer { FILE: eventer_test.go function TestEventerAddEvent (line 11) | func TestEventerAddEvent(t *testing.T) { function TestEventerDeleteEvent (line 22) | func TestEventerDeleteEvent(t *testing.T) { function TestEventerOn (line 32) | func TestEventerOn(t *testing.T) { function TestEventerOnce (line 52) | func TestEventerOnce(t *testing.T) { FILE: examples/ardrone.go function main (line 16) | func main() { FILE: examples/ardrone_face_tracking.go function main (line 23) | func main() { FILE: examples/ardrone_ps3.go type pair (line 18) | type pair struct constant offset (line 25) | offset = 32767.0 function main (line 27) | func main() { function getLeftStick (line 128) | func getLeftStick() pair { function getRightStick (line 135) | func getRightStick() pair { FILE: examples/audio.go function main (line 16) | func main() { FILE: examples/batty.go function main (line 17) | func main() { type loopbackAdaptor (line 52) | type loopbackAdaptor struct method Finalize (line 57) | func (t *loopbackAdaptor) Finalize() error { return nil } method Connect (line 58) | func (t *loopbackAdaptor) Connect() error { return nil } method Name (line 59) | func (t *loopbackAdaptor) Name() string { return t.name } method SetName (line 60) | func (t *loopbackAdaptor) SetName(n string) { t.name = n } method Port (line 61) | func (t *loopbackAdaptor) Port() string { return t.port } function NewLoopbackAdaptor (line 63) | func NewLoopbackAdaptor(port string) *loopbackAdaptor { type pingDriver (line 72) | type pingDriver struct method Start (line 81) | func (t *pingDriver) Start() error { return nil } method Halt (line 82) | func (t *pingDriver) Halt() error { return nil } method Name (line 83) | func (t *pingDriver) Name() string { return t.name } method SetName (line 84) | func (t *pingDriver) SetName(n string) { t.name = n } method Pin (line 85) | func (t *pingDriver) Pin() string { return t.pin } method Connection (line 86) | func (t *pingDriver) Connection() gobot.Connection { return t.connecti... method Ping (line 106) | func (t *pingDriver) Ping() string { function NewPingDriver (line 88) | func NewPingDriver(adaptor *loopbackAdaptor, pin string) *pingDriver { FILE: examples/beaglebone_basic_direct_pin.go function main (line 16) | func main() { function myStateFunction (line 34) | func myStateFunction() int { FILE: examples/beaglebone_blink.go function main (line 18) | func main() { FILE: examples/beaglebone_blink_usr_led.go function main (line 18) | func main() { FILE: examples/beaglebone_blinkm.go function main (line 18) | func main() { FILE: examples/beaglebone_button.go function main (line 17) | func main() { FILE: examples/beaglebone_grove_accelerometer.go function main (line 18) | func main() { FILE: examples/beaglebone_led_brightness.go function main (line 18) | func main() { FILE: examples/beaglebone_led_brightness_with_analog_input.go function main (line 19) | func main() { FILE: examples/beaglepocket_direct_pin.go function main (line 27) | func main() { FILE: examples/bebop.go function main (line 17) | func main() { FILE: examples/bebop_ps3.go type pair (line 19) | type pair struct constant offset (line 26) | offset = 32767.0 function main (line 28) | func main() { function getLeftStick (line 174) | func getLeftStick() pair { function getRightStick (line 181) | func getRightStick() pair { FILE: examples/bebop_ps3_video.go type pair (line 42) | type pair struct constant offset (line 49) | offset = 32767.0 function ffmpeg (line 51) | func ffmpeg() (io.WriteCloser, io.ReadCloser, error) { function main (line 83) | func main() { function getLeftStick (line 240) | func getLeftStick() pair { function getRightStick (line 247) | func getRightStick() pair { FILE: examples/bebop_rtp_video.go function main (line 32) | func main() { FILE: examples/bleclient_battery.go function main (line 28) | func main() { FILE: examples/bleclient_bb8-collision.go function main (line 27) | func main() { FILE: examples/bleclient_bb8.go function main (line 28) | func main() { FILE: examples/bleclient_device_info.go function main (line 28) | func main() { FILE: examples/bleclient_firmata_blink.go function main (line 28) | func main() { FILE: examples/bleclient_firmata_curie_imu.go function main (line 30) | func main() { FILE: examples/bleclient_generic_access.go function main (line 28) | func main() { FILE: examples/bleclient_microbit_accelerometer.go function main (line 38) | func main() { FILE: examples/bleclient_microbit_blink.go function main (line 43) | func main() { FILE: examples/bleclient_microbit_buttons.go function main (line 36) | func main() { FILE: examples/bleclient_microbit_buttons_leds.go function main (line 38) | func main() { FILE: examples/bleclient_microbit_io_button.go function main (line 43) | func main() { FILE: examples/bleclient_microbit_led.go function main (line 39) | func main() { FILE: examples/bleclient_microbit_magnetometer.go function main (line 38) | func main() { FILE: examples/bleclient_microbit_temperature.go function main (line 38) | func main() { FILE: examples/bleclient_minidrone.go function main (line 28) | func main() { FILE: examples/bleclient_minidrone_events.go function main (line 28) | func main() { FILE: examples/bleclient_minidrone_mambo_ps3.go type pair (line 37) | type pair struct constant offset (line 44) | offset = 32767.0 function main (line 46) | func main() { function getLeftStick (line 205) | func getLeftStick() pair { function getRightStick (line 212) | func getRightStick() pair { FILE: examples/bleclient_minidrone_ps3.go type pair (line 37) | type pair struct constant offset (line 44) | offset = 32767.0 function main (line 46) | func main() { function getLeftStick (line 194) | func getLeftStick() pair { function getRightStick (line 201) | func getRightStick() pair { FILE: examples/bleclient_multiple_generic.go function NewSwarmBot (line 28) | func NewSwarmBot(port string) *gobot.Robot { function main (line 55) | func main() { FILE: examples/bleclient_multiple_info.go function NewSwarmBot (line 28) | func NewSwarmBot(port string) *gobot.Robot { function main (line 73) | func main() { FILE: examples/bleclient_ollie.go function main (line 19) | func main() { FILE: examples/bleclient_ollie_boost.go function main (line 18) | func main() { FILE: examples/bleclient_ollie_crazy.go function main (line 18) | func main() { FILE: examples/bleclient_ollie_mqtt.go constant FRENTE (line 21) | FRENTE = 0 constant DERECHA (line 22) | DERECHA = 90 constant ATRAS (line 23) | ATRAS = 180 constant IZQUIERDA (line 24) | IZQUIERDA = 270 function main (line 27) | func main() { FILE: examples/bleclient_ollie_multiple.go function NewSwarmBot (line 28) | func NewSwarmBot(port string) *gobot.Robot { function main (line 50) | func main() { FILE: examples/bleclient_ollie_roll.go function main (line 19) | func main() { FILE: examples/bleclient_ollie_spin.go function main (line 18) | func main() { FILE: examples/bleclient_sprkplus.go function main (line 28) | func main() { FILE: examples/bleclient_sprkplus_collision.go function main (line 27) | func main() { FILE: examples/chip_blink.go function main (line 18) | func main() { FILE: examples/chip_blinkm.go function main (line 18) | func main() { FILE: examples/chip_button.go function main (line 17) | func main() { FILE: examples/chip_button_led.go function main (line 17) | func main() { FILE: examples/chip_drv2605l.go function main (line 18) | func main() { FILE: examples/chip_grove_accelerometer.go function main (line 18) | func main() { FILE: examples/chip_grove_lcd.go function main (line 18) | func main() { FILE: examples/chip_mpu6050.go function main (line 18) | func main() { FILE: examples/chip_tsl2561.go function main (line 18) | func main() { FILE: examples/chip_wiichuck.go function main (line 17) | func main() { FILE: examples/digispark_api.go function main (line 16) | func main() { FILE: examples/digispark_blink.go function main (line 18) | func main() { FILE: examples/digispark_blinkm.go function main (line 18) | func main() { FILE: examples/digispark_driver.go function main (line 26) | func main() { FILE: examples/digispark_led_brightness.go function main (line 18) | func main() { FILE: examples/digispark_mpl115a2.go function main (line 18) | func main() { FILE: examples/digispark_pca9501.go function main (line 25) | func main() { FILE: examples/digispark_servo.go function main (line 19) | func main() { FILE: examples/dragonboard_button.go function main (line 17) | func main() { FILE: examples/edison_blink.go constant boardType (line 18) | boardType = "arduino" function main (line 20) | func main() { FILE: examples/edison_blink_without_all_gobot_framework.go function main (line 21) | func main() { FILE: examples/edison_blinkm.go function main (line 18) | func main() { FILE: examples/edison_bme280.go function main (line 18) | func main() { FILE: examples/edison_button.go function main (line 17) | func main() { FILE: examples/edison_button_led.go function main (line 17) | func main() { FILE: examples/edison_button_led_api.go function main (line 18) | func main() { FILE: examples/edison_grove_accelerometer.go function main (line 18) | func main() { FILE: examples/edison_grove_buzzer.go function main (line 18) | func main() { FILE: examples/edison_grove_lcd.go function main (line 18) | func main() { FILE: examples/edison_grove_light_sensor.go function main (line 18) | func main() { FILE: examples/edison_grove_piezo_vibration.go function main (line 18) | func main() { FILE: examples/edison_grove_rotary_sensor.go function main (line 18) | func main() { FILE: examples/edison_grove_sound_sensor.go function main (line 18) | func main() { FILE: examples/edison_grove_temperature_sensor.go function main (line 18) | func main() { FILE: examples/edison_led_brightness.go function main (line 18) | func main() { FILE: examples/edison_led_brightness_with_analog_input.go function main (line 19) | func main() { FILE: examples/edison_miniboard_grove_accelerometer.go function main (line 18) | func main() { FILE: examples/every_done.go function main (line 16) | func main() { FILE: examples/firmata_adxl345.go function main (line 26) | func main() { FILE: examples/firmata_aip1640.go function main (line 26) | func main() { FILE: examples/firmata_blink.go function main (line 26) | func main() { FILE: examples/firmata_blink_api.go function main (line 19) | func main() { FILE: examples/firmata_blink_metal.go function main (line 21) | func main() { FILE: examples/firmata_blink_robot.go function main (line 18) | func main() { FILE: examples/firmata_blinkm.go function main (line 26) | func main() { FILE: examples/firmata_bme280.go function main (line 19) | func main() { FILE: examples/firmata_bmp180.go function main (line 19) | func main() { FILE: examples/firmata_bmp280.go function main (line 19) | func main() { FILE: examples/firmata_button.go function main (line 25) | func main() { FILE: examples/firmata_buzzer.go function main (line 26) | func main() { FILE: examples/firmata_cat_toy.go function main (line 27) | func main() { FILE: examples/firmata_curie_imu.go function main (line 28) | func main() { FILE: examples/firmata_curie_imu_shock_detect.go function main (line 28) | func main() { FILE: examples/firmata_curie_imu_step_counter.go function main (line 28) | func main() { FILE: examples/firmata_curie_imu_tap_detect.go function main (line 28) | func main() { FILE: examples/firmata_direct_pin.go function main (line 26) | func main() { FILE: examples/firmata_gpio_max7219.go function main (line 30) | func main() { FILE: examples/firmata_grove_lcd.go function main (line 19) | func main() { FILE: examples/firmata_grove_sound_sensor.go function main (line 19) | func main() { FILE: examples/firmata_hmc6352.go function main (line 26) | func main() { FILE: examples/firmata_integration.go function main (line 27) | func main() { FILE: examples/firmata_led_brightness.go function main (line 26) | func main() { FILE: examples/firmata_led_brightness_with_analog_input.go function main (line 27) | func main() { FILE: examples/firmata_lidarlite.go function main (line 26) | func main() { FILE: examples/firmata_metal_button.go function main (line 24) | func main() { FILE: examples/firmata_mma7660.go function main (line 26) | func main() { FILE: examples/firmata_motor.go function main (line 26) | func main() { FILE: examples/firmata_mpl115a2.go function main (line 26) | func main() { FILE: examples/firmata_mpu6050.go function main (line 26) | func main() { FILE: examples/firmata_pca9685.go function main (line 28) | func main() { FILE: examples/firmata_pir_motion.go function main (line 25) | func main() { FILE: examples/firmata_rgb_led.go function main (line 27) | func main() { FILE: examples/firmata_servo.go function main (line 27) | func main() { FILE: examples/firmata_ssd1306.go function main (line 19) | func main() { FILE: examples/firmata_temp36.go function main (line 25) | func main() { FILE: examples/firmata_tm1638.go function main (line 26) | func main() { FILE: examples/firmata_travis.go type TravisResponse (line 29) | type TravisResponse struct function turnOn (line 44) | func turnOn(robot *gobot.Robot, device string) { function resetLeds (line 50) | func resetLeds(robot *gobot.Robot) { function checkTravis (line 62) | func checkTravis(robot *gobot.Robot) { function main (line 90) | func main() { FILE: examples/firmata_wiichuck.go function main (line 25) | func main() { FILE: examples/gopigo3.go function main (line 18) | func main() { FILE: examples/gopigo3_grove_button.go function main (line 18) | func main() { FILE: examples/gopigo3_grove_lcd.go function main (line 18) | func main() { FILE: examples/gopigo3_grove_light_sensor.go function main (line 19) | func main() { FILE: examples/gopigo3_led_brightness.go function main (line 19) | func main() { FILE: examples/gopigo3_servo.go function main (line 20) | func main() { FILE: examples/hello.go function main (line 16) | func main() { FILE: examples/hello_api.go function main (line 18) | func main() { FILE: examples/hello_api_auth.go function main (line 18) | func main() { FILE: examples/hello_api_custom.go function main (line 17) | func main() { FILE: examples/hello_api_video.go function main (line 27) | func main() { function mjpegCapture (line 69) | func mjpegCapture() { FILE: examples/holystone_hs200.go function main (line 22) | func main() { FILE: examples/jetson-nano_blink.go function main (line 18) | func main() { FILE: examples/jetson-nano_servo.go function main (line 25) | func main() { FILE: examples/joule_blink.go function main (line 18) | func main() { FILE: examples/joule_blinkm.go function main (line 18) | func main() { FILE: examples/joule_grove_lcd.go function main (line 18) | func main() { FILE: examples/joule_grove_rotary_sensor.go function main (line 19) | func main() { FILE: examples/joule_led_brightness.go function main (line 18) | func main() { FILE: examples/joule_led_brightness_with_analog_input.go function main (line 20) | func main() { FILE: examples/joule_leds.go function main (line 18) | func main() { FILE: examples/joystick_ps3.go function main (line 16) | func main() { FILE: examples/joystick_ps4.go function main (line 16) | func main() { FILE: examples/joystick_ps5.go function main (line 16) | func main() { FILE: examples/joystick_xbox360.go function main (line 16) | func main() { FILE: examples/joystick_xbox360_rock_band_drums.go function main (line 16) | func main() { FILE: examples/joystick_xboxone.go function main (line 16) | func main() { FILE: examples/keyboard.go function main (line 16) | func main() { FILE: examples/keyboard_mqtt.go function main (line 15) | func main() { FILE: examples/leap_motion.go function main (line 16) | func main() { FILE: examples/leap_motion_gestures.go function main (line 16) | func main() { function printGesture (line 37) | func printGesture(gesture leap.Gesture) { FILE: examples/leap_motion_hands.go function main (line 16) | func main() { function printHand (line 37) | func printHand(hand leap.Hand) { FILE: examples/leap_servos.go function main (line 19) | func main() { FILE: examples/leap_sphero.go function main (line 18) | func main() { function scale (line 49) | func scale(position float64) uint8 { FILE: examples/mavlink.go function main (line 17) | func main() { FILE: examples/metal_button.go function main (line 16) | func main() { FILE: examples/mqtt_driver_ping.go function main (line 25) | func main() { FILE: examples/mqtt_firmata_blink.go function main (line 19) | func main() { FILE: examples/mqtt_ping.go function main (line 17) | func main() { FILE: examples/nanopct6_direct_pin.go function main (line 27) | func main() { FILE: examples/nanopct6_ds18b20.go function main (line 25) | func main() { FILE: examples/nanopct6_servo.go function main (line 23) | func main() { FILE: examples/nanopct6_thermalzone.go function main (line 20) | func main() { FILE: examples/nanopct6_yl40.go function main (line 19) | func main() { FILE: examples/nanopi_button.go function main (line 23) | func main() { FILE: examples/nanopi_direct_pin.go function main (line 27) | func main() { FILE: examples/nanopi_direct_pin_event.go constant inPinNum (line 19) | inPinNum = "22" constant outPinNum (line 20) | outPinNum = "23" constant outPinInvertedNum (line 21) | outPinInvertedNum = "24" constant debounceTime (line 22) | debounceTime = 2 * time.Second function main (line 38) | func main() { function buttonEventHandler (line 83) | func buttonEventHandler(offset int, t time.Duration, et string, sn uint3... FILE: examples/nanopi_led_brightness.go function main (line 23) | func main() { FILE: examples/nanopi_pca9533.go function main (line 25) | func main() { function initialize (line 77) | func initialize(pca *i2c.PCA953xDriver, led2FrequHz float32, led3FrequHz... FILE: examples/nats.go function main (line 17) | func main() { FILE: examples/nats_driver_ping.go function main (line 25) | func main() { FILE: examples/opencv_face_detect.go function main (line 22) | func main() { FILE: examples/opencv_window.go function main (line 15) | func main() { FILE: examples/orangepi5pro_direct_pin.go function main (line 27) | func main() { FILE: examples/orangepi5pro_servo.go function main (line 23) | func main() { FILE: examples/orangepi5pro_thermalzone.go function main (line 20) | func main() { FILE: examples/particle_api.go function main (line 27) | func main() { FILE: examples/particle_blink.go function main (line 26) | func main() { FILE: examples/particle_button.go function main (line 25) | func main() { FILE: examples/particle_events.go function main (line 24) | func main() { FILE: examples/particle_function.go function main (line 24) | func main() { FILE: examples/particle_led_brightness.go function main (line 26) | func main() { FILE: examples/particle_variable.go function main (line 25) | func main() { FILE: examples/pebble.go function main (line 17) | func main() { FILE: examples/pebble_accelerometer.go function main (line 17) | func main() { FILE: examples/raspi_adafruit2327_servo.go constant servoMin (line 22) | servoMin = 150 constant servoMax (line 24) | servoMax = 700 constant maxDegree (line 26) | maxDegree = 180 constant degIncrease (line 28) | degIncrease = 10 constant yawDeg (line 29) | yawDeg = 90 function main (line 32) | func main() { function adafruitServoMotorRunner (line 60) | func adafruitServoMotorRunner(a *i2c.Adafruit2327Driver) error { function degree2pulse (line 90) | func degree2pulse(deg int) int32 { FILE: examples/raspi_adafruit2348_dcmotor.go function main (line 19) | func main() { function adafruitDCMotorRunner (line 45) | func adafruitDCMotorRunner(a *i2c.Adafruit2348Driver, dcMotor int) error { FILE: examples/raspi_adafruit2348_stepper.go function main (line 19) | func main() { function adafruitStepperMotorRunner (line 45) | func adafruitStepperMotorRunner(a *i2c.Adafruit2348Driver, motor int) er... FILE: examples/raspi_ads1015.go function main (line 18) | func main() { FILE: examples/raspi_blink.go function main (line 18) | func main() { FILE: examples/raspi_blinkm.go function main (line 18) | func main() { FILE: examples/raspi_button.go function main (line 17) | func main() { FILE: examples/raspi_ccs811.go function CCS811BootData (line 18) | func CCS811BootData(a *i2c.CCS811Driver) { function main (line 41) | func main() { FILE: examples/raspi_direct_pin.go function main (line 27) | func main() { FILE: examples/raspi_direct_pin_event.go constant inPinNum (line 19) | inPinNum = "21" constant outPinNum (line 20) | outPinNum = "24" constant outPinInvertedNum (line 21) | outPinInvertedNum = "26" constant debounceTime (line 22) | debounceTime = 2 * time.Second function main (line 38) | func main() { function buttonEventHandler (line 83) | func buttonEventHandler(offset int, t time.Duration, et string, sn uint3... FILE: examples/raspi_generic.go function main (line 24) | func main() { FILE: examples/raspi_grove_pi_blink.go function main (line 19) | func main() { FILE: examples/raspi_grove_pi_button.go function main (line 19) | func main() { FILE: examples/raspi_grove_pi_dht.go constant dhtPin (line 19) | dhtPin = "4" constant dhtModel (line 20) | dhtModel = 1 constant delayMillisec (line 21) | delayMillisec = 10 function main (line 24) | func main() { FILE: examples/raspi_grove_pi_rotary.go function main (line 19) | func main() { FILE: examples/raspi_grove_pi_ultrasonic.go constant ultrasonicPin (line 19) | ultrasonicPin = "4" constant delayMillisec (line 20) | delayMillisec = 10 function main (line 23) | func main() { FILE: examples/raspi_grove_rotary_sensor.go function main (line 19) | func main() { FILE: examples/raspi_hcsr04.go function main (line 20) | func main() { FILE: examples/raspi_hmc5883l.go function main (line 24) | func main() { FILE: examples/raspi_ina3221.go function main (line 18) | func main() { FILE: examples/raspi_led_brightness.go function main (line 18) | func main() { FILE: examples/raspi_mcp3008.go function main (line 18) | func main() { FILE: examples/raspi_pca9533.go function main (line 25) | func main() { function initialize (line 77) | func initialize(pca *i2c.PCA953xDriver, led2FrequHz float32, led3FrequHz... FILE: examples/raspi_servo.go function main (line 23) | func main() { FILE: examples/raspi_sht2x.go function main (line 18) | func main() { FILE: examples/raspi_sht3x.go function main (line 18) | func main() { FILE: examples/raspi_ssd1306.go function main (line 18) | func main() { FILE: examples/raspi_ssd1306spi.go function main (line 22) | func main() { FILE: examples/raspi_stepper_move.go function main (line 20) | func main() { FILE: examples/raspi_thermalzone.go function main (line 20) | func main() { FILE: examples/rock64_direct_pin.go function main (line 27) | func main() { FILE: examples/rock64_yl40.go function main (line 19) | func main() { FILE: examples/serialport_megapi_motor.go function main (line 18) | func main() { FILE: examples/serialport_mindwave.go function main (line 17) | func main() { FILE: examples/serialport_sphero.go function main (line 20) | func main() { FILE: examples/serialport_sphero_api.go function main (line 16) | func main() { FILE: examples/serialport_sphero_calibration.go function main (line 17) | func main() { FILE: examples/serialport_sphero_conways.go type conway (line 21) | type conway struct method resetContacts (line 79) | func (c *conway) resetContacts() { method contact (line 83) | func (c *conway) contact() { method rebirth (line 87) | func (c *conway) rebirth() { method birth (line 92) | func (c *conway) birth() { method life (line 99) | func (c *conway) life() { method death (line 104) | func (c *conway) death() { method enoughContacts (line 111) | func (c *conway) enoughContacts() bool { method birthday (line 118) | func (c *conway) birthday() { method movement (line 134) | func (c *conway) movement() { function main (line 28) | func main() { FILE: examples/serialport_sphero_dpad.go function main (line 18) | func main() { FILE: examples/serialport_sphero_master.go function main (line 18) | func main() { FILE: examples/serialport_sphero_multiple.go function NewSwarmBot (line 22) | func NewSwarmBot(port string) *gobot.Robot { function main (line 53) | func main() { FILE: examples/square.go function main (line 19) | func main() { FILE: examples/square_fire.go function main (line 19) | func main() { FILE: examples/tello.go function main (line 26) | func main() { FILE: examples/tello_facetracker.go type pair (line 39) | type pair struct constant frameX (line 45) | frameX = 400 constant frameY (line 46) | frameY = 300 constant frameSize (line 47) | frameSize = frameX * frameY * 3 constant offset (line 48) | offset = 32767.0 function init (line 82) | func init() { function main (line 139) | func main() { function trackFace (line 188) | func trackFace(frame *gocv.Mat) { function dist (line 266) | func dist(x1, y1, x2, y2 float64) float64 { function handleJoystick (line 270) | func handleJoystick() { function getLeftStick (line 382) | func getLeftStick() pair { function getRightStick (line 389) | func getRightStick() pair { FILE: examples/tello_keyboard.go function resetDronePostion (line 26) | func resetDronePostion(drone *tello.Driver) { function main (line 50) | func main() { FILE: examples/tello_opencv.go constant frameX (line 31) | frameX = 960 constant frameY (line 32) | frameY = 720 constant frameSize (line 33) | frameSize = frameX * frameY * 3 function main (line 36) | func main() { FILE: examples/tello_ps3.go type pair (line 30) | type pair struct constant offset (line 37) | offset = 32767.0 function main (line 39) | func main() { function getLeftStick (line 190) | func getLeftStick() pair { function getRightStick (line 197) | func getRightStick() pair { FILE: examples/tello_video.go function main (line 27) | func main() { FILE: examples/tinkerboard2_direct_pin_bin_counter.go function main (line 25) | func main() { FILE: examples/tinkerboard2_yl40.go function main (line 19) | func main() { FILE: examples/tinkerboard_adafruit1109_lcd_keys.go function main (line 22) | func main() { FILE: examples/tinkerboard_ads1115.go function main (line 22) | func main() { FILE: examples/tinkerboard_adxl345.go function main (line 22) | func main() { FILE: examples/tinkerboard_blink.go function main (line 18) | func main() { FILE: examples/tinkerboard_bme280.go function main (line 22) | func main() { FILE: examples/tinkerboard_bmp280.go function main (line 22) | func main() { FILE: examples/tinkerboard_button.go function main (line 23) | func main() { FILE: examples/tinkerboard_direct_pin.go function main (line 26) | func main() { FILE: examples/tinkerboard_ds18b20.go function main (line 25) | func main() { FILE: examples/tinkerboard_generic.go function main (line 28) | func main() { function readBlockDataBadTiming (line 107) | func readBlockDataBadTiming(drv *i2c.GenericDriver, reg uint8, data []by... FILE: examples/tinkerboard_grove_lcd.go function main (line 18) | func main() { FILE: examples/tinkerboard_hcsr04.go function main (line 24) | func main() { FILE: examples/tinkerboard_hmc5883l.go function main (line 23) | func main() { FILE: examples/tinkerboard_mfcrc522gpio.go constant sclk (line 24) | sclk = "23" constant ncs (line 25) | ncs = "24" constant sdo (line 26) | sdo = "19" constant sdi (line 27) | sdi = "21" constant speedHz (line 28) | speedHz = 5000 function main (line 31) | func main() { FILE: examples/tinkerboard_mfcrc522spi.go function main (line 23) | func main() { FILE: examples/tinkerboard_motor.go function main (line 23) | func main() { FILE: examples/tinkerboard_mpl115a2.go function main (line 22) | func main() { FILE: examples/tinkerboard_mpu6050.go function main (line 22) | func main() { FILE: examples/tinkerboard_pca9533.go function main (line 25) | func main() { function initialize (line 77) | func initialize(pca *i2c.PCA953xDriver, led2FrequHz float32, led3FrequHz... FILE: examples/tinkerboard_pcf8583_clock.go function main (line 23) | func main() { FILE: examples/tinkerboard_pcf8583_counter.go function main (line 24) | func main() { FILE: examples/tinkerboard_pcf8591.go function main (line 20) | func main() { FILE: examples/tinkerboard_thermalzone.go function main (line 20) | func main() { FILE: examples/up2_lcd.go function main (line 18) | func main() { FILE: examples/up2_leds.go function main (line 18) | func main() { FILE: examples/wifi_firmata_analog_input.go function main (line 19) | func main() { FILE: examples/wifi_firmata_blink.go function main (line 32) | func main() { FILE: examples/zero_analog.go function main (line 22) | func main() { FILE: examples/zero_direct_pin.go function main (line 26) | func main() { FILE: examples/zero_servo.go function main (line 23) | func main() { FILE: examples/zero_yl40.go function main (line 19) | func main() { FILE: helpers_test.go type NullReadWriteCloser (line 5) | type NullReadWriteCloser struct method Write (line 7) | func (NullReadWriteCloser) Write(p []byte) (int, error) { method Read (line 11) | func (NullReadWriteCloser) Read(b []byte) (int, error) { method Close (line 15) | func (NullReadWriteCloser) Close() error { type testDriver (line 19) | type testDriver struct method Start (line 32) | func (t *testDriver) Start() error { return testDriverStart() } method Halt (line 33) | func (t *testDriver) Halt() error { return testDriverHalt() } method Name (line 34) | func (t *testDriver) Name() string { return t.name } method SetName (line 35) | func (t *testDriver) SetName(n string) { t.name = n } method Pin (line 36) | func (t *testDriver) Pin() string { return t.pin } method Connection (line 37) | func (t *testDriver) Connection() Connection { return t.connection } function newTestDriver (line 39) | func newTestDriver(adaptor *testAdaptor, name string, pin string) *testD... type testAdaptor (line 52) | type testAdaptor struct method Finalize (line 62) | func (t *testAdaptor) Finalize() error { return testAdaptorFinalize() } method Connect (line 63) | func (t *testAdaptor) Connect() error { return testAdaptorConnect() } method Name (line 64) | func (t *testAdaptor) Name() string { return t.name } method SetName (line 65) | func (t *testAdaptor) SetName(n string) { t.name = n } method Port (line 66) | func (t *testAdaptor) Port() string { return t.port } function newTestAdaptor (line 68) | func newTestAdaptor(name string, port string) *testAdaptor { //nolint:un... function newTestRobot (line 75) | func newTestRobot(name string) *Robot { FILE: manager.go type JSONManager (line 10) | type JSONManager struct function NewJSONManager (line 16) | func NewJSONManager(gobot *Manager) *JSONManager { type Manager (line 34) | type Manager struct method Start (line 62) | func (g *Manager) Start() error { method Stop (line 84) | func (g *Manager) Stop() error { method Running (line 91) | func (g *Manager) Running() bool { method Robots (line 96) | func (g *Manager) Robots() *Robots { method AddRobot (line 102) | func (g *Manager) AddRobot(r *Robot) *Robot { method Robot (line 108) | func (g *Manager) Robot(name string) *Robot { function NewManager (line 45) | func NewManager() *Manager { FILE: manager_test.go function initTestManager (line 16) | func initTestManager() *Manager { function initTestManager1Robot (line 28) | func initTestManager1Robot() *Manager { function TestNullReadWriteCloser (line 39) | func TestNullReadWriteCloser(t *testing.T) { function TestManagerRobot (line 48) | func TestManagerRobot(t *testing.T) { function TestManagerToJSON (line 61) | func TestManagerToJSON(t *testing.T) { function TestManagerStart (line 71) | func TestManagerStart(t *testing.T) { function TestManagerStartAutoRun (line 78) | func TestManagerStartAutoRun(t *testing.T) { function TestManagerStartDriverErrors (line 90) | func TestManagerStartDriverErrors(t *testing.T) { function TestManagerHaltFromRobotDriverErrors (line 116) | func TestManagerHaltFromRobotDriverErrors(t *testing.T) { function TestManagerStartRobotAdaptorErrors (line 141) | func TestManagerStartRobotAdaptorErrors(t *testing.T) { function TestManagerFinalizeErrors (line 167) | func TestManagerFinalizeErrors(t *testing.T) { FILE: platforms/adaptors/analogpinsadaptor.go type analogPinTranslator (line 11) | type analogPinTranslator type analogPinsConfiguration (line 14) | type analogPinsConfiguration struct type AnalogPinsAdaptor (line 20) | type AnalogPinsAdaptor struct method Connect (line 61) | func (a *AnalogPinsAdaptor) Connect() error { method Finalize (line 76) | func (a *AnalogPinsAdaptor) Finalize() error { method AnalogRead (line 89) | func (a *AnalogPinsAdaptor) AnalogRead(id string) (int, error) { method AnalogWrite (line 102) | func (a *AnalogPinsAdaptor) AnalogWrite(id string, val int) error { method analogPin (line 115) | func (a *AnalogPinsAdaptor) analogPin(id string) (gobot.AnalogPinner, ... method debuglnf (line 134) | func (a *AnalogPinsAdaptor) debuglnf(format string, p ...interface{}) { function NewAnalogPinsAdaptor (line 35) | func NewAnalogPinsAdaptor( function WithAnalogPinDebug (line 56) | func WithAnalogPinDebug() analogPinsDebugOption { FILE: platforms/adaptors/analogpinsadaptor_test.go constant analogReadPath (line 16) | analogReadPath = "/sys/bus/iio/devices/iio:device0/in_voltage... constant analogWritePath (line 17) | analogWritePath = "/sys/devices/platform/ff680020.pwm/pwm/pwmc... constant analogReadWritePath (line 18) | analogReadWritePath = "/sys/devices/platform/ff680020.pwm/pwm/pwmc... constant analogReadWriteStringPath (line 19) | analogReadWriteStringPath = "/sys/devices/platform/ff680020.pwm/pwm/pwmc... function initTestAnalogPinsAdaptorWithMockedFilesystem (line 29) | func initTestAnalogPinsAdaptorWithMockedFilesystem(mockPaths []string) (... function testAnalogPinTranslator (line 43) | func testAnalogPinTranslator(id string) (string, bool, uint16, error) { function TestAnalogPinsConnect (line 58) | func TestAnalogPinsConnect(t *testing.T) { function TestAnalogPinsFinalize (line 72) | func TestAnalogPinsFinalize(t *testing.T) { function TestAnalogPinsReConnect (line 105) | func TestAnalogPinsReConnect(t *testing.T) { function TestAnalogWrite (line 119) | func TestAnalogWrite(t *testing.T) { function TestAnalogRead (line 193) | func TestAnalogRead(t *testing.T) { FILE: platforms/adaptors/analogpinsadaptoroptions.go type AnalogPinsOptionApplier (line 6) | type AnalogPinsOptionApplier interface type analogPinsDebugOption (line 11) | type analogPinsDebugOption method String (line 13) | func (o analogPinsDebugOption) String() string { method apply (line 17) | func (o analogPinsDebugOption) apply(cfg *analogPinsConfiguration) { FILE: platforms/adaptors/analogpinsadaptoroptions_test.go function TestWithAnalogPinDebug (line 11) | func TestWithAnalogPinDebug(t *testing.T) { FILE: platforms/adaptors/analogpintranslator.go type AnalogPinDefinition (line 9) | type AnalogPinDefinition struct type AnalogPinDefinitions (line 15) | type AnalogPinDefinitions type AnalogPinTranslator (line 17) | type AnalogPinTranslator struct method Translate (line 28) | func (pt *AnalogPinTranslator) Translate(id string) (string, bool, uin... function NewAnalogPinTranslator (line 23) | func NewAnalogPinTranslator(sys *system.Accesser, pinDefinitions AnalogP... FILE: platforms/adaptors/analogpintranslator_test.go function TestNewAnalogPinTranslator (line 12) | func TestNewAnalogPinTranslator(t *testing.T) { function TestAnalogPinTranslatorTranslate (line 24) | func TestAnalogPinTranslatorTranslate(t *testing.T) { FILE: platforms/adaptors/busnumbervalidator.go type BusNumberValidator (line 5) | type BusNumberValidator struct method Validate (line 14) | func (bnv *BusNumberValidator) Validate(busNr int) error { function NewBusNumberValidator (line 10) | func NewBusNumberValidator(validNumbers []int) *BusNumberValidator { FILE: platforms/adaptors/busnumbervalidator_test.go function TestNewBusNumberValidator (line 10) | func TestNewBusNumberValidator(t *testing.T) { function TestBusNumberValidatorValidate (line 20) | func TestBusNumberValidatorValidate(t *testing.T) { FILE: platforms/adaptors/digitalpinsadaptor.go type digitalPinTranslator (line 15) | type digitalPinTranslator type digitalPinInitializer (line 16) | type digitalPinInitializer type digitalPinsConfiguration (line 20) | type digitalPinsConfiguration struct type DigitalPinsAdaptor (line 28) | type DigitalPinsAdaptor struct method Connect (line 162) | func (a *DigitalPinsAdaptor) Connect() error { method Finalize (line 177) | func (a *DigitalPinsAdaptor) Finalize() error { method DigitalPin (line 201) | func (a *DigitalPinsAdaptor) DigitalPin(id string) (gobot.DigitalPinne... method DigitalRead (line 209) | func (a *DigitalPinsAdaptor) DigitalRead(id string) (int, error) { method DigitalWrite (line 221) | func (a *DigitalPinsAdaptor) DigitalWrite(id string, val byte) error { method digitalPin (line 232) | func (a *DigitalPinsAdaptor) digitalPin( method debuglnf (line 262) | func (a *DigitalPinsAdaptor) debuglnf(format string, p ...interface{}) { function NewDigitalPinsAdaptor (line 41) | func NewDigitalPinsAdaptor( function WithDigitalPinDebug (line 65) | func WithDigitalPinDebug() digitalPinsDebugOption { function WithDigitalPinInitializer (line 70) | func WithDigitalPinInitializer(pc digitalPinInitializer) digitalPinsInit... function WithGpioCdevAccess (line 76) | func WithGpioCdevAccess() digitalPinsSystemSysfsOption { function WithGpioSysfsAccess (line 82) | func WithGpioSysfsAccess() digitalPinsSystemSysfsOption { function WithGpiosActiveLow (line 88) | func WithGpiosActiveLow(pin string, otherPins ...string) digitalPinsActi... function WithGpiosPullDown (line 95) | func WithGpiosPullDown(pin string, otherPins ...string) digitalPinsPullD... function WithGpiosPullUp (line 102) | func WithGpiosPullUp(pin string, otherPins ...string) digitalPinsPullUpO... function WithGpiosOpenDrain (line 109) | func WithGpiosOpenDrain(pin string, otherPins ...string) digitalPinsOpen... function WithGpiosOpenSource (line 116) | func WithGpiosOpenSource(pin string, otherPins ...string) digitalPinsOpe... function WithGpioDebounce (line 123) | func WithGpioDebounce(pin string, period time.Duration) digitalPinsDebou... function WithGpioEventOnFallingEdge (line 129) | func WithGpioEventOnFallingEdge(pin string, handler func(lineOffset int,... function WithGpioEventOnRisingEdge (line 137) | func WithGpioEventOnRisingEdge(pin string, handler func(lineOffset int, ... function WithGpioEventOnBothEdges (line 145) | func WithGpioEventOnBothEdges(pin string, handler func(lineOffset int, t... function WithGpioPollForEdgeDetection (line 153) | func WithGpioPollForEdgeDetection( FILE: platforms/adaptors/digitalpinsadaptor_test.go function initTestConnectedDigitalPinsAdaptorWithMockedFilesystem (line 26) | func initTestConnectedDigitalPinsAdaptorWithMockedFilesystem( function initTestDigitalPinsAdaptorWithMockedFilesystem (line 36) | func initTestDigitalPinsAdaptorWithMockedFilesystem(mockPaths []string) ... function testDigitalPinTranslator (line 44) | func testDigitalPinTranslator(pin string) (string, int, error) { function TestNewDigitalPinsAdaptor (line 53) | func TestNewDigitalPinsAdaptor(t *testing.T) { function TestDigitalPinsConnect (line 70) | func TestDigitalPinsConnect(t *testing.T) { function TestDigitalPinsFinalize (line 89) | func TestDigitalPinsFinalize(t *testing.T) { function TestDigitalPinsReConnect (line 121) | func TestDigitalPinsReConnect(t *testing.T) { function TestDigitalIO (line 141) | func TestDigitalIO(t *testing.T) { function TestDigitalRead (line 158) | func TestDigitalRead(t *testing.T) { function TestDigitalPinConcurrency (line 185) | func TestDigitalPinConcurrency(t *testing.T) { FILE: platforms/adaptors/digitalpinsadaptoroptions.go type DigitalPinsOptionApplier (line 12) | type DigitalPinsOptionApplier interface type digitalPinsDebugOption (line 17) | type digitalPinsDebugOption method String (line 80) | func (o digitalPinsDebugOption) String() string { method apply (line 132) | func (o digitalPinsDebugOption) apply(cfg *digitalPinsConfiguration) { type digitalPinsInitializeOption (line 20) | type digitalPinsInitializeOption method String (line 84) | func (o digitalPinsInitializeOption) String() string { method apply (line 137) | func (o digitalPinsInitializeOption) apply(cfg *digitalPinsConfigurati... type digitalPinsSystemSysfsOption (line 24) | type digitalPinsSystemSysfsOption method String (line 88) | func (o digitalPinsSystemSysfsOption) String() string { method apply (line 141) | func (o digitalPinsSystemSysfsOption) apply(cfg *digitalPinsConfigurat... type digitalPinsActiveLowOption (line 27) | type digitalPinsActiveLowOption method String (line 92) | func (o digitalPinsActiveLowOption) String() string { method apply (line 151) | func (o digitalPinsActiveLowOption) apply(cfg *digitalPinsConfiguratio... type digitalPinsPullDownOption (line 31) | type digitalPinsPullDownOption method String (line 96) | func (o digitalPinsPullDownOption) String() string { method apply (line 157) | func (o digitalPinsPullDownOption) apply(cfg *digitalPinsConfiguration) { type digitalPinsPullUpOption (line 35) | type digitalPinsPullUpOption method String (line 100) | func (o digitalPinsPullUpOption) String() string { method apply (line 163) | func (o digitalPinsPullUpOption) apply(cfg *digitalPinsConfiguration) { type digitalPinsOpenDrainOption (line 39) | type digitalPinsOpenDrainOption method String (line 104) | func (o digitalPinsOpenDrainOption) String() string { method apply (line 169) | func (o digitalPinsOpenDrainOption) apply(cfg *digitalPinsConfiguratio... type digitalPinsOpenSourceOption (line 43) | type digitalPinsOpenSourceOption method String (line 108) | func (o digitalPinsOpenSourceOption) String() string { method apply (line 175) | func (o digitalPinsOpenSourceOption) apply(cfg *digitalPinsConfigurati... type digitalPinsDebounceOption (line 46) | type digitalPinsDebounceOption struct method String (line 112) | func (o digitalPinsDebounceOption) String() string { method apply (line 181) | func (o digitalPinsDebounceOption) apply(cfg *digitalPinsConfiguration) { type digitalPinsEventOnFallingEdgeOption (line 53) | type digitalPinsEventOnFallingEdgeOption struct method String (line 116) | func (o digitalPinsEventOnFallingEdgeOption) String() string { method apply (line 185) | func (o digitalPinsEventOnFallingEdgeOption) apply(cfg *digitalPinsCon... type digitalPinsEventOnRisingEdgeOption (line 60) | type digitalPinsEventOnRisingEdgeOption struct method String (line 120) | func (o digitalPinsEventOnRisingEdgeOption) String() string { method apply (line 189) | func (o digitalPinsEventOnRisingEdgeOption) apply(cfg *digitalPinsConf... type digitalPinsEventOnBothEdgesOption (line 67) | type digitalPinsEventOnBothEdgesOption struct method String (line 124) | func (o digitalPinsEventOnBothEdgesOption) String() string { method apply (line 193) | func (o digitalPinsEventOnBothEdgesOption) apply(cfg *digitalPinsConfi... type digitalPinsPollForEdgeDetectionOption (line 74) | type digitalPinsPollForEdgeDetectionOption struct method String (line 128) | func (o digitalPinsPollForEdgeDetectionOption) String() string { method apply (line 197) | func (o digitalPinsPollForEdgeDetectionOption) apply(cfg *digitalPinsC... FILE: platforms/adaptors/digitalpinsadaptoroptions_test.go function TestDigitalPinsWithGpiosActiveLow (line 15) | func TestDigitalPinsWithGpiosActiveLow(t *testing.T) { function TestWithDigitalPinDebug (line 24) | func TestWithDigitalPinDebug(t *testing.T) { function TestDigitalPinsWithDigitalPinInitializer (line 33) | func TestDigitalPinsWithDigitalPinInitializer(t *testing.T) { function TestDigitalPinsWithSysfsAccess (line 60) | func TestDigitalPinsWithSysfsAccess(t *testing.T) { function TestDigitalPinsWithCdevAccess (line 67) | func TestDigitalPinsWithCdevAccess(t *testing.T) { function TestDigitalReadWithGpiosActiveLow (line 76) | func TestDigitalReadWithGpiosActiveLow(t *testing.T) { function TestDigitalWriteWithOptions (line 119) | func TestDigitalWriteWithOptions(t *testing.T) { function TestDigitalWriteWithGpiosActiveLow (line 165) | func TestDigitalWriteWithGpiosActiveLow(t *testing.T) { function gpioTestEventHandler (line 186) | func gpioTestEventHandler(o int, t time.Duration, et string, sn uint32, ... FILE: platforms/adaptors/digitalpintranslator.go type CdevPin (line 9) | type CdevPin struct type DigitalPinDefinition (line 14) | type DigitalPinDefinition struct type DigitalPinDefinitions (line 19) | type DigitalPinDefinitions type DigitalPinTranslator (line 21) | type DigitalPinTranslator struct method Translate (line 32) | func (pt *DigitalPinTranslator) Translate(id string) (string, int, err... function NewDigitalPinTranslator (line 27) | func NewDigitalPinTranslator(sys *system.Accesser, pinDefinitions Digita... FILE: platforms/adaptors/digitalpintranslator_test.go function TestNewDigitalPinTranslator (line 12) | func TestNewDigitalPinTranslator(t *testing.T) { function TestDigitalPinTranslatorTranslate (line 24) | func TestDigitalPinTranslatorTranslate(t *testing.T) { FILE: platforms/adaptors/i2cbusadaptor.go type i2cBusNumberValidator (line 14) | type i2cBusNumberValidator type i2cBusConfiguration (line 17) | type i2cBusConfiguration struct type I2cBusAdaptor (line 22) | type I2cBusAdaptor struct method Connect (line 65) | func (a *I2cBusAdaptor) Connect() error { method Finalize (line 80) | func (a *I2cBusAdaptor) Finalize() error { method GetI2cConnection (line 103) | func (a *I2cBusAdaptor) GetI2cConnection(address int, busNum int) (i2c... method DefaultI2cBus (line 127) | func (a *I2cBusAdaptor) DefaultI2cBus() int { method debuglnf (line 131) | func (a *I2cBusAdaptor) debuglnf(format string, p ...interface{}) { function NewI2cBusAdaptor (line 37) | func NewI2cBusAdaptor( function WithI2cDebug (line 60) | func WithI2cDebug() i2cBusDebugOption { FILE: platforms/adaptors/i2cbusadaptor_test.go constant i2cBus1 (line 17) | i2cBus1 = "/dev/i2c-1" function initTestI2cAdaptorWithMockedFilesystem (line 19) | func initTestI2cAdaptorWithMockedFilesystem(mockPaths []string) (*I2cBus... function TestI2cWorkflow (line 35) | func TestI2cWorkflow(t *testing.T) { function TestI2cGetI2cConnection (line 55) | func TestI2cGetI2cConnection(t *testing.T) { function TestI2cFinalize (line 76) | func TestI2cFinalize(t *testing.T) { function TestI2cReConnect (line 100) | func TestI2cReConnect(t *testing.T) { function TestI2cGetDefaultBus (line 111) | func TestI2cGetDefaultBus(t *testing.T) { FILE: platforms/adaptors/i2cbusadaptoroptions.go type I2CBusOptionApplier (line 6) | type I2CBusOptionApplier interface type i2cBusDebugOption (line 11) | type i2cBusDebugOption method String (line 13) | func (o i2cBusDebugOption) String() string { method apply (line 17) | func (o i2cBusDebugOption) apply(cfg *i2cBusConfiguration) { FILE: platforms/adaptors/i2cbusadaptoroptions_test.go function TestWithI2cDebug (line 11) | func TestWithI2cDebug(t *testing.T) { FILE: platforms/adaptors/onewirebusadaptor.go type oneWireBusConfiguration (line 15) | type oneWireBusConfiguration struct type OneWireBusAdaptor (line 26) | type OneWireBusAdaptor struct method Connect (line 56) | func (a *OneWireBusAdaptor) Connect() error { method Finalize (line 71) | func (a *OneWireBusAdaptor) Finalize() error { method GetOneWireConnection (line 94) | func (a *OneWireBusAdaptor) GetOneWireConnection(familyCode byte, seri... method debuglnf (line 118) | func (a *OneWireBusAdaptor) debuglnf(format string, p ...interface{}) { function NewOneWireBusAdaptor (line 34) | func NewOneWireBusAdaptor(sys *system.Accesser, opts ...OneWireBusOption... function WithOneWireDebug (line 51) | func WithOneWireDebug() oneWireBusDebugOption { FILE: platforms/adaptors/onewirebusadaptor_test.go function initTestOneWireAdaptor (line 12) | func initTestOneWireAdaptor() *OneWireBusAdaptor { function TestNewOneWireBusAdaptor (line 20) | func TestNewOneWireBusAdaptor(t *testing.T) { function TestOneWireGetOneWireConnection (line 31) | func TestOneWireGetOneWireConnection(t *testing.T) { function TestOneWireFinalize (line 51) | func TestOneWireFinalize(t *testing.T) { function TestOneWireReConnect (line 67) | func TestOneWireReConnect(t *testing.T) { FILE: platforms/adaptors/onewirebusadaptoroptions.go type OneWireBusOptionApplier (line 6) | type OneWireBusOptionApplier interface type oneWireBusDebugOption (line 11) | type oneWireBusDebugOption method String (line 13) | func (o oneWireBusDebugOption) String() string { method apply (line 17) | func (o oneWireBusDebugOption) apply(cfg *oneWireBusConfiguration) { FILE: platforms/adaptors/onewirebusadaptoroptions_test.go function TestWithOneWireDebug (line 11) | func TestWithOneWireDebug(t *testing.T) { FILE: platforms/adaptors/piblasterpwm_pin.go constant piBlasterPath (line 12) | piBlasterPath = "/dev/pi-blaster" constant piBlasterMinDutyNano (line 13) | piBlasterMinDutyNano = 10000 type piBlasterPWMPin (line 18) | type piBlasterPWMPin struct method Export (line 34) | func (p *piBlasterPWMPin) Export() error { method Unexport (line 39) | func (p *piBlasterPWMPin) Unexport() error { method Enabled (line 44) | func (p *piBlasterPWMPin) Enabled() (bool, error) { method SetEnabled (line 49) | func (p *piBlasterPWMPin) SetEnabled(e bool) error { method Polarity (line 54) | func (p *piBlasterPWMPin) Polarity() (bool, error) { method SetPolarity (line 59) | func (p *piBlasterPWMPin) SetPolarity(bool) error { method Period (line 64) | func (p *piBlasterPWMPin) Period() (uint32, error) { method SetPeriod (line 70) | func (p *piBlasterPWMPin) SetPeriod(period uint32) error { method DutyCycle (line 79) | func (p *piBlasterPWMPin) DutyCycle() (uint32, error) { method SetDutyCycle (line 84) | func (p *piBlasterPWMPin) SetDutyCycle(dutyNanos uint32) error { method writeValue (line 108) | func (p *piBlasterPWMPin) writeValue(data string) error { function newPiBlasterPWMPin (line 26) | func newPiBlasterPWMPin(sys *system.Accesser, pinNo int) *piBlasterPWMPin { FILE: platforms/adaptors/piblasterpwm_pin_test.go function TestPiBlasterPWMPin (line 15) | func TestPiBlasterPWMPin(t *testing.T) { function TestPiBlasterPWMPin_DutyCycle (line 46) | func TestPiBlasterPWMPin_DutyCycle(t *testing.T) { FILE: platforms/adaptors/pwmpinsadaptor.go constant pwmPeriodDefault (line 19) | pwmPeriodDefault = 10000000 constant fiftyHzNanos (line 22) | fiftyHzNanos = 20 * 1000 * 1000 type pwmPinTranslator (line 25) | type pwmPinTranslator type pwmPinInitializer (line 26) | type pwmPinInitializer type pwmPinServoScale (line 29) | type pwmPinServoScale struct type pwmPinsConfiguration (line 35) | type pwmPinsConfiguration struct type PWMPinsAdaptor (line 50) | type PWMPinsAdaptor struct method Connect (line 158) | func (a *PWMPinsAdaptor) Connect() error { method Finalize (line 178) | func (a *PWMPinsAdaptor) Finalize() error { method PwmWrite (line 204) | func (a *PWMPinsAdaptor) PwmWrite(id string, val byte) error { method ServoWrite (line 227) | func (a *PWMPinsAdaptor) ServoWrite(id string, angle byte) error { method SetPeriod (line 263) | func (a *PWMPinsAdaptor) SetPeriod(id string, period uint32) error { method PWMPin (line 276) | func (a *PWMPinsAdaptor) PWMPin(id string) (gobot.PWMPinner, error) { method getDefaultInitializer (line 283) | func (a *PWMPinsAdaptor) getDefaultInitializer() func(string, gobot.PW... method pwmPin (line 334) | func (a *PWMPinsAdaptor) pwmPin(id string) (gobot.PWMPinner, error) { method validateDutyCycle (line 362) | func (a *PWMPinsAdaptor) validateDutyCycle(id string, dutyNanos, perio... method debuglnf (line 384) | func (a *PWMPinsAdaptor) debuglnf(format string, p ...interface{}) { function NewPWMPinsAdaptor (line 72) | func NewPWMPinsAdaptor(sys *system.Accesser, t pwmPinTranslator, opts ..... function WithPWMPinDebug (line 97) | func WithPWMPinDebug() pwmPinsDebugOption { function WithPWMPinInitializer (line 102) | func WithPWMPinInitializer(pc pwmPinInitializer) pwmPinsInitializeOption { function WithPWMUsePiBlaster (line 107) | func WithPWMUsePiBlaster() pwmPinsUsePiBlasterPinOption { function WithPWMDefaultPeriod (line 112) | func WithPWMDefaultPeriod(periodNanoSec uint32) pwmPinsPeriodDefaultOpti... function WithPWMMinimumPeriod (line 117) | func WithPWMMinimumPeriod(periodNanoSec uint32) pwmPinsPeriodMinimumOpti... function WithPWMMinimumDutyRate (line 123) | func WithPWMMinimumDutyRate(dutyRate float64) pwmPinsDutyRateMinimumOpti... function WithPWMPolarityInvertedIdentifier (line 128) | func WithPWMPolarityInvertedIdentifier(identifier string) pwmPinsPolarit... function WithPWMNoDutyCycleAdjustment (line 133) | func WithPWMNoDutyCycleAdjustment() pwmPinsAdjustDutyOnSetPeriodOption { function WithPWMDefaultPeriodForPin (line 140) | func WithPWMDefaultPeriodForPin(pin string, periodNanoSec uint32) pwmPin... function WithPWMServoDutyCycleRangeForPin (line 147) | func WithPWMServoDutyCycleRangeForPin(pin string, minimum, maximum time.... function WithPWMServoAngleRangeForPin (line 153) | func WithPWMServoAngleRangeForPin(pin string, minimum, maximum float64) ... function setPeriod (line 391) | func setPeriod(pin gobot.PWMPinner, period uint32, adjustDuty bool) error { FILE: platforms/adaptors/pwmpinsadaptor_test.go constant pwmDir (line 21) | pwmDir = "/sys/devices/platform/ff680020.pwm/pwm/pwmchip3/" constant pwmPwm44Dir (line 22) | pwmPwm44Dir = pwmDir + "pwm44/" constant pwmPwm47Dir (line 23) | pwmPwm47Dir = pwmDir + "pwm47/" constant pwmExportPath (line 24) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 25) | pwmUnexportPath = pwmDir + "unexport" constant pwm44EnablePath (line 26) | pwm44EnablePath = pwmPwm44Dir + "enable" constant pwm44PeriodPath (line 27) | pwm44PeriodPath = pwmPwm44Dir + "period" constant pwm44DutyCyclePath (line 28) | pwm44DutyCyclePath = pwmPwm44Dir + "duty_cycle" constant pwm44PolarityPath (line 29) | pwm44PolarityPath = pwmPwm44Dir + "polarity" constant pwm47EnablePath (line 30) | pwm47EnablePath = pwmPwm47Dir + "enable" constant pwm47PeriodPath (line 31) | pwm47PeriodPath = pwmPwm47Dir + "period" constant pwm47DutyCyclePath (line 32) | pwm47DutyCyclePath = pwmPwm47Dir + "duty_cycle" constant pwm47PolarityPath (line 33) | pwm47PolarityPath = pwmPwm47Dir + "polarity" function initTestPWMPinsAdaptorWithMockedFilesystem (line 56) | func initTestPWMPinsAdaptorWithMockedFilesystem(mockPaths []string) (*PW... function testPWMPinTranslator (line 70) | func testPWMPinTranslator(id string) (string, int, error) { function TestNewPWMPinsAdaptor (line 79) | func TestNewPWMPinsAdaptor(t *testing.T) { function TestPWMPinsConnect (line 91) | func TestPWMPinsConnect(t *testing.T) { function TestPWMPinsFinalize (line 105) | func TestPWMPinsFinalize(t *testing.T) { function TestPWMPinsReConnect (line 139) | func TestPWMPinsReConnect(t *testing.T) { function TestPWMPinsCache (line 153) | func TestPWMPinsCache(t *testing.T) { function TestPwmWrite (line 168) | func TestPwmWrite(t *testing.T) { function TestServoWrite (line 285) | func TestServoWrite(t *testing.T) { function TestSetPeriod (line 319) | func TestSetPeriod(t *testing.T) { function Test_PWMPin (line 362) | func Test_PWMPin(t *testing.T) { function TestPWMPinConcurrency (line 453) | func TestPWMPinConcurrency(t *testing.T) { FILE: platforms/adaptors/pwmpinsadaptoroptions.go type PwmPinsOptionApplier (line 6) | type PwmPinsOptionApplier interface type pwmPinsDebugOption (line 11) | type pwmPinsDebugOption method String (line 61) | func (o pwmPinsDebugOption) String() string { method apply (line 105) | func (o pwmPinsDebugOption) apply(cfg *pwmPinsConfiguration) { type pwmPinsInitializeOption (line 14) | type pwmPinsInitializeOption method String (line 65) | func (o pwmPinsInitializeOption) String() string { method apply (line 109) | func (o pwmPinsInitializeOption) apply(cfg *pwmPinsConfiguration) { type pwmPinsUsePiBlasterPinOption (line 18) | type pwmPinsUsePiBlasterPinOption method String (line 69) | func (o pwmPinsUsePiBlasterPinOption) String() string { method apply (line 113) | func (o pwmPinsUsePiBlasterPinOption) apply(cfg *pwmPinsConfiguration) { type pwmPinsPeriodDefaultOption (line 22) | type pwmPinsPeriodDefaultOption method String (line 73) | func (o pwmPinsPeriodDefaultOption) String() string { method apply (line 117) | func (o pwmPinsPeriodDefaultOption) apply(cfg *pwmPinsConfiguration) { type pwmPinsPeriodMinimumOption (line 25) | type pwmPinsPeriodMinimumOption method String (line 77) | func (o pwmPinsPeriodMinimumOption) String() string { method apply (line 121) | func (o pwmPinsPeriodMinimumOption) apply(cfg *pwmPinsConfiguration) { type pwmPinsDutyRateMinimumOption (line 28) | type pwmPinsDutyRateMinimumOption method String (line 81) | func (o pwmPinsDutyRateMinimumOption) String() string { method apply (line 125) | func (o pwmPinsDutyRateMinimumOption) apply(cfg *pwmPinsConfiguration) { type pwmPinsPolarityInvertedIdentifierOption (line 32) | type pwmPinsPolarityInvertedIdentifierOption method String (line 85) | func (o pwmPinsPolarityInvertedIdentifierOption) String() string { method apply (line 129) | func (o pwmPinsPolarityInvertedIdentifierOption) apply(cfg *pwmPinsCon... type pwmPinsAdjustDutyOnSetPeriodOption (line 36) | type pwmPinsAdjustDutyOnSetPeriodOption method String (line 89) | func (o pwmPinsAdjustDutyOnSetPeriodOption) String() string { method apply (line 133) | func (o pwmPinsAdjustDutyOnSetPeriodOption) apply(cfg *pwmPinsConfigur... type pwmPinsDefaultPeriodForPinOption (line 40) | type pwmPinsDefaultPeriodForPinOption struct method String (line 93) | func (o pwmPinsDefaultPeriodForPinOption) String() string { method apply (line 137) | func (o pwmPinsDefaultPeriodForPinOption) apply(cfg *pwmPinsConfigurat... type pwmPinsServoDutyScaleForPinOption (line 47) | type pwmPinsServoDutyScaleForPinOption struct method String (line 97) | func (o pwmPinsServoDutyScaleForPinOption) String() string { method apply (line 141) | func (o pwmPinsServoDutyScaleForPinOption) apply(cfg *pwmPinsConfigura... type pwmPinsServoAngleScaleForPinOption (line 55) | type pwmPinsServoAngleScaleForPinOption struct method String (line 101) | func (o pwmPinsServoAngleScaleForPinOption) String() string { method apply (line 153) | func (o pwmPinsServoAngleScaleForPinOption) apply(cfg *pwmPinsConfigur... FILE: platforms/adaptors/pwmpinsadaptoroptions_test.go function TestWithPWMPinInitializer (line 14) | func TestWithPWMPinInitializer(t *testing.T) { function TestWithPWMPinDebug (line 28) | func TestWithPWMPinDebug(t *testing.T) { function TestWithPWMUsePiBlaster (line 37) | func TestWithPWMUsePiBlaster(t *testing.T) { function TestWithPWMDefaultPeriod (line 46) | func TestWithPWMDefaultPeriod(t *testing.T) { function TestWithPWMMinimumPeriod (line 56) | func TestWithPWMMinimumPeriod(t *testing.T) { function TestWithPWMMinimumDutyRate (line 66) | func TestWithPWMMinimumDutyRate(t *testing.T) { function TestWithPWMPolarityInvertedIdentifier (line 76) | func TestWithPWMPolarityInvertedIdentifier(t *testing.T) { function TestWithPWMNoDutyCycleAdjustment (line 86) | func TestWithPWMNoDutyCycleAdjustment(t *testing.T) { function TestWithPWMDefaultPeriodForPin (line 95) | func TestWithPWMDefaultPeriodForPin(t *testing.T) { function TestWithPWMServoDutyCycleRangeForPin (line 108) | func TestWithPWMServoDutyCycleRangeForPin(t *testing.T) { function TestWithPWMServoAngleRangeForPin (line 148) | func TestWithPWMServoAngleRangeForPin(t *testing.T) { function TestStringer (line 188) | func TestStringer(t *testing.T) { FILE: platforms/adaptors/pwmpintranslator.go type PWMPinDefinition (line 9) | type PWMPinDefinition struct method FindPWMDir (line 40) | func (p PWMPinDefinition) FindPWMDir(sys *system.Accesser) (string, er... type PWMPinDefinitions (line 15) | type PWMPinDefinitions type PWMPinTranslator (line 17) | type PWMPinTranslator struct method Translate (line 28) | func (pt *PWMPinTranslator) Translate(id string) (string, int, error) { function NewPWMPinTranslator (line 23) | func NewPWMPinTranslator(sys *system.Accesser, pinDefinitions PWMPinDefi... FILE: platforms/adaptors/pwmpintranslator_test.go function TestNewPWMPinTranslator (line 12) | func TestNewPWMPinTranslator(t *testing.T) { function TestPWMPinTranslatorTranslate (line 24) | func TestPWMPinTranslatorTranslate(t *testing.T) { FILE: platforms/adaptors/spibusadaptor.go type spiBusNumberValidator (line 14) | type spiBusNumberValidator type spiBusConfiguration (line 17) | type spiBusConfiguration struct type SpiBusAdaptor (line 24) | type SpiBusAdaptor struct method Connect (line 90) | func (a *SpiBusAdaptor) Connect() error { method Finalize (line 105) | func (a *SpiBusAdaptor) Finalize() error { method GetSpiConnection (line 129) | func (a *SpiBusAdaptor) GetSpiConnection(busNum, chipNum, mode, bits i... method SpiDefaultBusNumber (line 159) | func (a *SpiBusAdaptor) SpiDefaultBusNumber() int { method SpiDefaultChipNumber (line 164) | func (a *SpiBusAdaptor) SpiDefaultChipNumber() int { method SpiDefaultMode (line 169) | func (a *SpiBusAdaptor) SpiDefaultMode() int { method SpiDefaultBitCount (line 174) | func (a *SpiBusAdaptor) SpiDefaultBitCount() int { method SpiDefaultMaxSpeed (line 179) | func (a *SpiBusAdaptor) SpiDefaultMaxSpeed() int64 { method debuglnf (line 183) | func (a *SpiBusAdaptor) debuglnf(format string, p ...interface{}) { function NewSpiBusAdaptor (line 44) | func NewSpiBusAdaptor( function WithSpiDebug (line 73) | func WithSpiDebug() spiBusDebugOption { function WithSpiGpioAccess (line 78) | func WithSpiGpioAccess(sclkPin, ncsPin, sdoPin, sdiPin string) spiBusDig... FILE: platforms/adaptors/spibusadaptor_test.go constant spiTestAllowedBus (line 17) | spiTestAllowedBus = 15 function initTestSpiBusAdaptorWithMockedSpi (line 19) | func initTestSpiBusAdaptorWithMockedSpi() (*SpiBusAdaptor, *system.MockS... function TestNewSpiAdaptor (line 38) | func TestNewSpiAdaptor(t *testing.T) { function TestGetSpiConnection (line 55) | func TestGetSpiConnection(t *testing.T) { function TestSpiFinalize (line 94) | func TestSpiFinalize(t *testing.T) { function TestSpiFinalizeWithError (line 107) | func TestSpiFinalizeWithError(t *testing.T) { function TestSpiReConnect (line 119) | func TestSpiReConnect(t *testing.T) { FILE: platforms/adaptors/spibusadaptoroptions.go type SpiBusOptionApplier (line 8) | type SpiBusOptionApplier interface type spiBusDebugOption (line 13) | type spiBusDebugOption method String (line 23) | func (o spiBusDebugOption) String() string { method apply (line 31) | func (o spiBusDebugOption) apply(cfg *spiBusConfiguration) { type spiBusDigitalPinsForSystemSpiOption (line 16) | type spiBusDigitalPinsForSystemSpiOption struct method String (line 27) | func (o spiBusDigitalPinsForSystemSpiOption) String() string { method apply (line 36) | func (o spiBusDigitalPinsForSystemSpiOption) apply(cfg *spiBusConfigur... FILE: platforms/adaptors/spibusadaptoroptions_test.go function TestNewSpiBusAdaptorWithSpiGpioAccess (line 12) | func TestNewSpiBusAdaptorWithSpiGpioAccess(t *testing.T) { function TestWithSpiDebug (line 40) | func TestWithSpiDebug(t *testing.T) { FILE: platforms/asus/tinkerboard/adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 1 constant defaultSpiBusNumber (line 17) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 18) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 19) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 20) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 500000 type Adaptor (line 25) | type Adaptor struct method Name (line 113) | func (a *Adaptor) Name() string { return a.name } method SetName (line 116) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 119) | func (a *Adaptor) Connect() error { method Finalize (line 147) | func (a *Adaptor) Finalize() error { function NewAdaptor (line 58) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/asus/tinkerboard/adaptor_test.go constant pwmDir (line 19) | pwmDir = "/sys/devices/platform/ff680020.pwm/pwm/pwmchip2/" constant pwmPwmDir (line 20) | pwmPwmDir = pwmDir + "pwm0/" constant pwmExportPath (line 21) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 22) | pwmUnexportPath = pwmDir + "unexport" constant pwmEnablePath (line 23) | pwmEnablePath = pwmPwmDir + "enable" constant pwmPeriodPath (line 24) | pwmPeriodPath = pwmPwmDir + "period" constant pwmDutyCyclePath (line 25) | pwmDutyCyclePath = pwmPwmDir + "duty_cycle" constant pwmPolarityPath (line 26) | pwmPolarityPath = pwmPwmDir + "polarity" constant pwmInvertedIdentifier (line 28) | pwmInvertedIdentifier = "inversed" function preparePwmFs (line 53) | func preparePwmFs(fs *system.MockFilesystem) { function initConnectedTestAdaptorWithMockedFilesystem (line 60) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function initConnectedTestAdaptor (line 66) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 74) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 94) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 102) | func TestDigitalIO(t *testing.T) { function TestDigitalIOSysfs (line 125) | func TestDigitalIOSysfs(t *testing.T) { function TestAnalogRead (line 149) | func TestAnalogRead(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 172) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 185) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestSpiDefaultValues (line 198) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 208) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 213) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/asus/tinkerboard2/adaptor.go constant defaultI2cBusNumber (line 13) | defaultI2cBusNumber = 7 constant defaultSpiBusNumber (line 15) | defaultSpiBusNumber = 1 constant defaultSpiChipNumber (line 16) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 17) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 18) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 19) | defaultSpiMaxSpeed = 500000 type Tinkerboard2Adaptor (line 22) | type Tinkerboard2Adaptor struct function NewAdaptor (line 43) | func NewAdaptor(opts ...interface{}) *Tinkerboard2Adaptor { FILE: platforms/asus/tinkerboard2/adaptor_test.go function TestNewAdaptor (line 13) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 30) | func TestNewAdaptorWithOption(t *testing.T) { FILE: platforms/audio/audio_adaptor.go type Adaptor (line 15) | type Adaptor struct method Name (line 25) | func (a *Adaptor) Name() string { return a.name } method SetName (line 28) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 31) | func (a *Adaptor) Connect() error { return nil } method Finalize (line 34) | func (a *Adaptor) Finalize() error { return nil } method Sound (line 39) | func (a *Adaptor) Sound(fileName string) []error { function NewAdaptor (line 20) | func NewAdaptor() *Adaptor { function CommandName (line 77) | func CommandName(fileName string) (string, error) { function RunCommand (line 95) | func RunCommand(audioCommand string, filename string) error { FILE: platforms/audio/audio_adaptor_test.go function TestAudioAdaptor (line 19) | func TestAudioAdaptor(t *testing.T) { function TestAudioAdaptorName (line 26) | func TestAudioAdaptorName(t *testing.T) { function TestAudioAdaptorCommandsWav (line 33) | func TestAudioAdaptorCommandsWav(t *testing.T) { function TestAudioAdaptorCommandsMp3 (line 38) | func TestAudioAdaptorCommandsMp3(t *testing.T) { function TestAudioAdaptorCommandsUnknown (line 43) | func TestAudioAdaptorCommandsUnknown(t *testing.T) { function TestAudioAdaptorSoundWithNoFilename (line 49) | func TestAudioAdaptorSoundWithNoFilename(t *testing.T) { function TestAudioAdaptorSoundWithNonexistingFilename (line 56) | func TestAudioAdaptorSoundWithNonexistingFilename(t *testing.T) { function TestAudioAdaptorSoundWithValidMP3Filename (line 63) | func TestAudioAdaptorSoundWithValidMP3Filename(t *testing.T) { function myExecCommand (line 74) | func myExecCommand(command string, args ...string) *exec.Cmd { FILE: platforms/audio/audio_driver.go type Driver (line 11) | type Driver struct method Name (line 40) | func (d *Driver) Name() string { return d.name } method SetName (line 43) | func (d *Driver) SetName(n string) { d.name = n } method Filename (line 46) | func (d *Driver) Filename() string { return d.filename } method Connection (line 49) | func (d *Driver) Connection() gobot.Connection { method Sound (line 56) | func (d *Driver) Sound(fileName string) []error { method Play (line 62) | func (d *Driver) Play() []error { method Start (line 67) | func (d *Driver) Start() error { method Halt (line 72) | func (d *Driver) Halt() error { function NewDriver (line 27) | func NewDriver(a *Adaptor, filename string) *Driver { FILE: platforms/audio/audio_driver_test.go function TestAudioDriver (line 18) | func TestAudioDriver(t *testing.T) { function TestAudioDriverName (line 30) | func TestAudioDriverName(t *testing.T) { function TestAudioDriverSoundWithNoFilename (line 37) | func TestAudioDriverSoundWithNoFilename(t *testing.T) { function TestAudioDriverSoundWithDefaultFilename (line 44) | func TestAudioDriverSoundWithDefaultFilename(t *testing.T) { FILE: platforms/beagleboard/beaglebone/adaptor.go constant pwmPeriodDefault (line 18) | pwmPeriodDefault = 500000 constant defaultI2cBusNumber (line 20) | defaultI2cBusNumber = 2 constant defaultSpiBusNumber (line 22) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 23) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 24) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 25) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 26) | defaultSpiMaxSpeed = 500000 type Adaptor (line 30) | type Adaptor struct method Name (line 107) | func (a *Adaptor) Name() string { return a.name } method SetName (line 110) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 113) | func (a *Adaptor) Connect() error { method Finalize (line 136) | func (a *Adaptor) Finalize() error { method DigitalWrite (line 162) | func (a *Adaptor) DigitalWrite(id string, val byte) error { method translateAndMuxDigitalPin (line 180) | func (a *Adaptor) translateAndMuxDigitalPin(id string) (string, int, e... method getTranslateAndMuxPWMPinFunc (line 192) | func (a *Adaptor) getTranslateAndMuxPWMPinFunc( method muxPin (line 209) | func (a *Adaptor) muxPin(pin, cmd string) error { function NewAdaptor (line 57) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/beagleboard/beaglebone/adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 35) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... constant pwmDir (line 45) | pwmDir = "/sys/devices/platform/ocp/48300000.epwmss/483002... constant pwmChip0Dir (line 46) | pwmChip0Dir = pwmDir + "pwmchip0/" constant pwmChip0ExportPath (line 47) | pwmChip0ExportPath = pwmChip0Dir + "export" constant pwmChip0UnexportPath (line 48) | pwmChip0UnexportPath = pwmChip0Dir + "unexport" constant pwmChip0Pwm0Dir (line 49) | pwmChip0Pwm0Dir = pwmChip0Dir + "pwm0/" constant pwmChip0Pwm1Dir (line 50) | pwmChip0Pwm1Dir = pwmChip0Dir + "pwm1/" constant pwm0EnablePath (line 52) | pwm0EnablePath = pwmChip0Pwm0Dir + "enable" constant pwm0PeriodPath (line 53) | pwm0PeriodPath = pwmChip0Pwm0Dir + "period" constant pwm0DutyCyclePath (line 54) | pwm0DutyCyclePath = pwmChip0Pwm0Dir + "duty_cycle" constant pwm0PolarityPath (line 55) | pwm0PolarityPath = pwmChip0Pwm0Dir + "polarity" constant pwm1EnablePath (line 57) | pwm1EnablePath = pwmChip0Pwm1Dir + "enable" constant pwm1PeriodPath (line 58) | pwm1PeriodPath = pwmChip0Pwm1Dir + "period" constant pwm1DutyCyclePath (line 59) | pwm1DutyCyclePath = pwmChip0Pwm1Dir + "duty_cycle" constant pwm1PolarityPath (line 60) | pwm1PolarityPath = pwmChip0Pwm1Dir + "polarity" function TestNewAdaptor (line 79) | func TestNewAdaptor(t *testing.T) { function TestPWMWrite (line 99) | func TestPWMWrite(t *testing.T) { function TestServoWrite (line 115) | func TestServoWrite(t *testing.T) { function TestAnalogRead (line 141) | func TestAnalogRead(t *testing.T) { function TestDigitalIO (line 164) | func TestDigitalIO(t *testing.T) { function TestAnalogReadFileError (line 211) | func TestAnalogReadFileError(t *testing.T) { function TestDigitalPinDirectionFileError (line 222) | func TestDigitalPinDirectionFileError(t *testing.T) { function TestDigitalPinFinalizeFileError (line 239) | func TestDigitalPinFinalizeFileError(t *testing.T) { function TestSpiDefaultValues (line 256) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 266) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 271) | func TestI2cFinalizeWithErrors(t *testing.T) { function Test_translateAndMuxPWMPin (line 288) | func Test_translateAndMuxPWMPin(t *testing.T) { FILE: platforms/beagleboard/pocketbeagle/adaptor.go constant pwmPeriodDefault (line 13) | pwmPeriodDefault = 500000 type PocketBeagleAdaptor (line 19) | type PocketBeagleAdaptor struct method getTranslateAndMuxDigitalPinFunc (line 78) | func (a *PocketBeagleAdaptor) getTranslateAndMuxDigitalPinFunc( method getTranslateAndMuxPWMPinFunc (line 93) | func (a *PocketBeagleAdaptor) getTranslateAndMuxPWMPinFunc( method muxPin (line 110) | func (a *PocketBeagleAdaptor) muxPin(pin, cmd string) error { function NewAdaptor (line 40) | func NewAdaptor(opts ...interface{}) *PocketBeagleAdaptor { FILE: platforms/beagleboard/pocketbeagle/adaptor_test.go function TestNewAdaptor (line 13) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 28) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 36) | func TestDigitalIO(t *testing.T) { FILE: platforms/bleclient/ble_client_adaptor.go type configuration (line 14) | type configuration struct type Adaptor (line 22) | type Adaptor struct method Name (line 90) | func (a *Adaptor) Name() string { method SetName (line 98) | func (a *Adaptor) SetName(n string) { a.name = n } method Address (line 101) | func (a *Adaptor) Address() string { method RSSI (line 110) | func (a *Adaptor) RSSI() int { return a.rssi } method WithoutResponses (line 114) | func (a *Adaptor) WithoutResponses(bool) {} method Connect (line 117) | func (a *Adaptor) Connect() error { method Reconnect (line 196) | func (a *Adaptor) Reconnect() error { method Disconnect (line 206) | func (a *Adaptor) Disconnect() error { method Finalize (line 245) | func (a *Adaptor) Finalize() error { method ReadCharacteristic (line 251) | func (a *Adaptor) ReadCharacteristic(cUUID string) ([]byte, error) { method WriteCharacteristic (line 270) | func (a *Adaptor) WriteCharacteristic(cUUID string, data []byte) error { method Subscribe (line 289) | func (a *Adaptor) Subscribe(cUUID string, f func(data []byte)) error { method Unsubscribe (line 308) | func (a *Adaptor) Unsubscribe(cUUID string) error { function NewAdaptor (line 45) | func NewAdaptor(identifier string, opts ...optionApplier) *Adaptor { function WithDebug (line 68) | func WithDebug() debugOption { function WithDropCharacteristicsOnDisconnect (line 75) | func WithDropCharacteristicsOnDisconnect() dropCharacteristicsOnDisconne... function WithScanTimeout (line 80) | func WithScanTimeout(timeout time.Duration) scanTimeoutOption { function WithSleepAfterDisconnect (line 85) | func WithSleepAfterDisconnect(sleep time.Duration) sleepAfterDisconnectO... FILE: platforms/bleclient/ble_client_adaptor_options.go type optionApplier (line 6) | type optionApplier interface type dropCharacteristicsOnDisconnect (line 11) | type dropCharacteristicsOnDisconnect method String (line 22) | func (o dropCharacteristicsOnDisconnect) String() string { method apply (line 38) | func (o dropCharacteristicsOnDisconnect) apply(cfg *configuration) { type debugOption (line 14) | type debugOption method String (line 26) | func (o debugOption) String() string { method apply (line 42) | func (o debugOption) apply(cfg *configuration) { type scanTimeoutOption (line 17) | type scanTimeoutOption method String (line 30) | func (o scanTimeoutOption) String() string { method apply (line 46) | func (o scanTimeoutOption) apply(cfg *configuration) { type sleepAfterDisconnectOption (line 20) | type sleepAfterDisconnectOption method String (line 34) | func (o sleepAfterDisconnectOption) String() string { method apply (line 50) | func (o sleepAfterDisconnectOption) apply(cfg *configuration) { FILE: platforms/bleclient/ble_client_adaptor_options_test.go function TestWithDebug (line 10) | func TestWithDebug(t *testing.T) { function TestWithDropCharacteristicsOnDisconnect (line 19) | func TestWithDropCharacteristicsOnDisconnect(t *testing.T) { function TestWithScanTimeout (line 28) | func TestWithScanTimeout(t *testing.T) { function TestWithSleepAfterDisconnect (line 38) | func TestWithSleepAfterDisconnect(t *testing.T) { FILE: platforms/bleclient/ble_client_adaptor_test.go function TestNewAdaptor (line 19) | func TestNewAdaptor(t *testing.T) { function TestName (line 25) | func TestName(t *testing.T) { function TestConnect (line 31) | func TestConnect(t *testing.T) { function TestDisconnect (line 169) | func TestDisconnect(t *testing.T) { function TestReconnect (line 237) | func TestReconnect(t *testing.T) { function TestFinalize (line 312) | func TestFinalize(t *testing.T) { function TestReadCharacteristic (line 344) | func TestReadCharacteristic(t *testing.T) { function TestWriteCharacteristic (line 392) | func TestWriteCharacteristic(t *testing.T) { function TestSubscribe (line 442) | func TestSubscribe(t *testing.T) { function TestUnsubscribe (line 495) | func TestUnsubscribe(t *testing.T) { FILE: platforms/bleclient/btwrapper.go type bluetoothExtDevicer (line 11) | type bluetoothExtDevicer interface type bluetoothExtAdapterer (line 17) | type bluetoothExtAdapterer interface type bluetoothExtCharacteristicer (line 24) | type bluetoothExtCharacteristicer interface type btAdptCreatorFunc (line 31) | type btAdptCreatorFunc type btAdapter (line 34) | type btAdapter struct method enable (line 53) | func (bta *btAdapter) enable() error { method stopScan (line 59) | func (bta *btAdapter) stopScan() error { method connect (line 66) | func (bta *btAdapter) connect(address bluetooth.Address, devName strin... method scan (line 76) | func (bta *btAdapter) scan(identifier string, scanTimeout time.Duratio... function newBtAdapter (line 41) | func newBtAdapter(a bluetoothExtAdapterer, debug bool) *btAdapter { type btDevice (line 112) | type btDevice struct method name (line 123) | func (btd *btDevice) name() string { return btd.devName } method address (line 125) | func (btd *btDevice) address() string { return btd.devAddress } method discoverServices (line 127) | func (btd *btDevice) discoverServices(uuids []bluetooth.UUID) ([]bluet... method disconnect (line 132) | func (btd *btDevice) disconnect() error { function newBtDevice (line 119) | func newBtDevice(d bluetoothExtDevicer, address, name string) *btDevice { function readFromCharacteristic (line 140) | func readFromCharacteristic(chara bluetoothExtCharacteristicer) ([]byte,... function writeToCharacteristicWithoutResponse (line 149) | func writeToCharacteristicWithoutResponse(chara bluetoothExtCharacterist... function adjustNotificationsForCharacteristic (line 156) | func adjustNotificationsForCharacteristic(chara bluetoothExtCharacterist... FILE: platforms/bleclient/helpers_test.go type btTestAdapter (line 10) | type btTestAdapter struct method Enable (line 21) | func (bta *btTestAdapter) Enable() error { method Scan (line 29) | func (bta *btTestAdapter) Scan(callback func(*bluetooth.Adapter, bluet... method StopScan (line 48) | func (bta *btTestAdapter) StopScan() error { method Connect (line 56) | func (bta *btTestAdapter) Connect(addr bluetooth.Address, _ bluetooth.... type btTestPayload (line 64) | type btTestPayload struct method LocalName (line 68) | func (ptp *btTestPayload) LocalName() string { return ptp.name } method HasServiceUUID (line 70) | func (*btTestPayload) HasServiceUUID(bluetooth.UUID) bool { return true } method ServiceUUIDs (line 72) | func (*btTestPayload) ServiceUUIDs() []bluetooth.UUID { return nil } method Bytes (line 74) | func (*btTestPayload) Bytes() []byte { return nil } method ManufacturerData (line 76) | func (*btTestPayload) ManufacturerData() []bluetooth.ManufacturerDataE... method ServiceData (line 78) | func (*btTestPayload) ServiceData() []bluetooth.ServiceDataElement { r... type btTestDevice (line 80) | type btTestDevice struct method DiscoverServices (line 85) | func (btd btTestDevice) DiscoverServices(_ []bluetooth.UUID) ([]blueto... method Disconnect (line 94) | func (btd btTestDevice) Disconnect() error { type btTestChara (line 103) | type btTestChara struct method Read (line 109) | func (btc *btTestChara) Read(data []byte) (int, error) { method WriteWithoutResponse (line 114) | func (btc *btTestChara) WriteWithoutResponse(data []byte) (int, error) { method EnableNotifications (line 119) | func (btc *btTestChara) EnableNotifications(callback func(buf []byte))... FILE: platforms/bleclient/uuid.go function convertUUID (line 14) | func convertUUID(cUUID string) (string, error) { FILE: platforms/bleclient/uuid_test.go function Test_convertUUID (line 10) | func Test_convertUUID(t *testing.T) { FILE: platforms/chip/chip_adaptor.go constant defaultI2cBusNumber (line 19) | defaultI2cBusNumber = 1 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 5000 type sysfsPin (line 27) | type sysfsPin struct type Adaptor (line 33) | type Adaptor struct method Name (line 108) | func (a *Adaptor) Name() string { return a.name } method SetName (line 111) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 114) | func (a *Adaptor) Connect() error { method Finalize (line 129) | func (a *Adaptor) Finalize() error { method translateDigitalPin (line 176) | func (a *Adaptor) translateDigitalPin(id string) (string, int, error) { method translatePWMPin (line 183) | func (a *Adaptor) translatePWMPin(id string) (string, int, error) { function NewAdaptor (line 58) | func NewAdaptor(opts ...interface{}) *Adaptor { function getXIOBase (line 146) | func getXIOBase() (int, error) { FILE: platforms/chip/chip_adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 46) | func initConnectedTestAdaptorWithMockedFilesystem() (*Adaptor, *system.M... function TestNewAdaptor (line 55) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 73) | func TestNewAdaptorWithOption(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 88) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 98) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestDigitalIO (line 111) | func TestDigitalIO(t *testing.T) { function TestPWMWrite (line 125) | func TestPWMWrite(t *testing.T) { function TestServoWrite (line 143) | func TestServoWrite(t *testing.T) { function TestI2cDefaultBus (line 168) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 173) | func TestI2cFinalizeWithErrors(t *testing.T) { function Test_translatePWMPin (line 190) | func Test_translatePWMPin(t *testing.T) { FILE: platforms/chip/chippro_adaptor.go function NewProAdaptor (line 6) | func NewProAdaptor() *Adaptor { FILE: platforms/chip/chippro_adaptor_test.go function initConnectedTestProAdaptorWithMockedFilesystem (line 13) | func initConnectedTestProAdaptorWithMockedFilesystem() (*Adaptor, *syste... function TestNewProAdaptor (line 22) | func TestNewProAdaptor(t *testing.T) { function TestProDigitalIO (line 28) | func TestProDigitalIO(t *testing.T) { FILE: platforms/dexter/gopigo3/driver.go constant goPiGo3Address (line 22) | goPiGo3Address = 0x08 constant NONE (line 26) | NONE byte = iota constant GET_MANUFACTURER (line 27) | GET_MANUFACTURER constant GET_NAME (line 28) | GET_NAME constant GET_HARDWARE_VERSION (line 29) | GET_HARDWARE_VERSION constant GET_FIRMWARE_VERSION (line 30) | GET_FIRMWARE_VERSION constant GET_ID (line 31) | GET_ID constant SET_LED (line 32) | SET_LED constant GET_VOLTAGE_5V (line 33) | GET_VOLTAGE_5V constant GET_VOLTAGE_VCC (line 34) | GET_VOLTAGE_VCC constant SET_SERVO (line 35) | SET_SERVO constant SET_MOTOR_PWM (line 36) | SET_MOTOR_PWM constant SET_MOTOR_POSITION (line 37) | SET_MOTOR_POSITION constant SET_MOTOR_POSITION_KP (line 38) | SET_MOTOR_POSITION_KP constant SET_MOTOR_POSITION_KD (line 39) | SET_MOTOR_POSITION_KD constant SET_MOTOR_DPS (line 40) | SET_MOTOR_DPS constant SET_MOTOR_LIMITS (line 41) | SET_MOTOR_LIMITS constant OFFSET_MOTOR_ENCODER (line 42) | OFFSET_MOTOR_ENCODER constant GET_MOTOR_ENCODER_LEFT (line 43) | GET_MOTOR_ENCODER_LEFT constant GET_MOTOR_ENCODER_RIGHT (line 44) | GET_MOTOR_ENCODER_RIGHT constant GET_MOTOR_STATUS_LEFT (line 45) | GET_MOTOR_STATUS_LEFT constant GET_MOTOR_STATUS_RIGHT (line 46) | GET_MOTOR_STATUS_RIGHT constant SET_GROVE_TYPE (line 47) | SET_GROVE_TYPE constant SET_GROVE_MODE (line 48) | SET_GROVE_MODE constant SET_GROVE_STATE (line 49) | SET_GROVE_STATE constant SET_GROVE_PWM_DUTY (line 50) | SET_GROVE_PWM_DUTY constant SET_GROVE_PWM_FREQUENCY (line 51) | SET_GROVE_PWM_FREQUENCY constant GET_GROVE_VALUE_1 (line 52) | GET_GROVE_VALUE_1 constant GET_GROVE_VALUE_2 (line 53) | GET_GROVE_VALUE_2 constant GET_GROVE_STATE_1_1 (line 54) | GET_GROVE_STATE_1_1 constant GET_GROVE_STATE_1_2 (line 55) | GET_GROVE_STATE_1_2 constant GET_GROVE_STATE_2_1 (line 56) | GET_GROVE_STATE_2_1 constant GET_GROVE_STATE_2_2 (line 57) | GET_GROVE_STATE_2_2 constant GET_GROVE_VOLTAGE_1_1 (line 58) | GET_GROVE_VOLTAGE_1_1 constant GET_GROVE_VOLTAGE_1_2 (line 59) | GET_GROVE_VOLTAGE_1_2 constant GET_GROVE_VOLTAGE_2_1 (line 60) | GET_GROVE_VOLTAGE_2_1 constant GET_GROVE_VOLTAGE_2_2 (line 61) | GET_GROVE_VOLTAGE_2_2 constant GET_GROVE_ANALOG_1_1 (line 62) | GET_GROVE_ANALOG_1_1 constant GET_GROVE_ANALOG_1_2 (line 63) | GET_GROVE_ANALOG_1_2 constant GET_GROVE_ANALOG_2_1 (line 64) | GET_GROVE_ANALOG_2_1 constant GET_GROVE_ANALOG_2_2 (line 65) | GET_GROVE_ANALOG_2_2 constant START_GROVE_I2C_1 (line 66) | START_GROVE_I2C_1 constant START_GROVE_I2C_2 (line 67) | START_GROVE_I2C_2 constant WHEEL_BASE_WIDTH (line 72) | WHEEL_BASE_WIDTH = 117 constant WHEEL_DIAMETER (line 74) | WHEEL_DIAMETER = 66.5 constant WHEEL_BASE_CIRCUMFERENCE (line 76) | WHEEL_BASE_CIRCUMFERENCE = WHEEL_BASE_WIDTH * math.Pi constant WHEEL_CIRCUMFERENCE (line 78) | WHEEL_CIRCUMFERENCE = WHEEL_DIAMETER * math.Pi constant MOTOR_GEAR_RATIO (line 80) | MOTOR_GEAR_RATIO = 120 constant ENCODER_TICKS_PER_ROTATION (line 82) | ENCODER_TICKS_PER_ROTATION = 6 constant MOTOR_TICKS_PER_DEGREE (line 84) | MOTOR_TICKS_PER_DEGREE = ((MOTOR_GEAR_RATIO * ENCODER_TICKS_PER_ROTATION... constant GROVE_I2C_LENGTH_LIMIT (line 85) | GROVE_I2C_LENGTH_LIMIT = 16 constant MOTOR_FLOAT (line 86) | MOTOR_FLOAT = -128 type GroveMode (line 90) | type GroveMode constant GROVE_INPUT_DIGITAL (line 93) | GROVE_INPUT_DIGITAL GroveMode = 0 constant GROVE_OUTPUT_DIGITAL (line 94) | GROVE_OUTPUT_DIGITAL GroveMode = 1 constant GROVE_INPUT_DIGITAL_PULLUP (line 95) | GROVE_INPUT_DIGITAL_PULLUP GroveMode = 2 constant GROVE_INPUT_DIGITAL_PULLDOWN (line 96) | GROVE_INPUT_DIGITAL_PULLDOWN GroveMode = 3 constant GROVE_INPUT_ANALOG (line 97) | GROVE_INPUT_ANALOG GroveMode = 4 constant GROVE_OUTPUT_PWM (line 98) | GROVE_OUTPUT_PWM GroveMode = 5 constant GROVE_INPUT_ANALOG_PULLUP (line 99) | GROVE_INPUT_ANALOG_PULLUP GroveMode = 6 constant GROVE_INPUT_ANALOG_PULLDOWN (line 100) | GROVE_INPUT_ANALOG_PULLDOWN GroveMode = 7 type Servo (line 104) | type Servo constant SERVO_1 (line 107) | SERVO_1 Servo = 0x01 constant SERVO_2 (line 108) | SERVO_2 Servo = 0x02 type Motor (line 112) | type Motor constant MOTOR_LEFT (line 115) | MOTOR_LEFT Motor = 0x01 constant MOTOR_RIGHT (line 116) | MOTOR_RIGHT Motor = 0x02 type Led (line 120) | type Led constant LED_EYE_RIGHT (line 123) | LED_EYE_RIGHT Led = 0x01 constant LED_EYE_LEFT (line 124) | LED_EYE_LEFT Led = 0x02 constant LED_BLINKER_LEFT (line 125) | LED_BLINKER_LEFT Led = 0x04 constant LED_BLINKER_RIGHT (line 126) | LED_BLINKER_RIGHT Led = 0x08 constant LED_WIFI (line 127) | LED_WIFI Led = 0x80 type Grove (line 131) | type Grove constant AD11 (line 134) | AD11 string = "AD_1_1" constant AD12 (line 135) | AD12 string = "AD_1_2" constant AD21 (line 136) | AD21 string = "AD_2_1" constant AD22 (line 137) | AD22 string = "AD_2_2" constant AD_1_1_G (line 138) | AD_1_1_G Grove = 0x01 constant AD_1_2_G (line 139) | AD_1_2_G Grove = 0x02 constant AD_2_1_G (line 140) | AD_2_1_G Grove = 0x04 constant AD_2_2_G (line 141) | AD_2_2_G Grove = 0x08 constant AD_1_G (line 142) | AD_1_G Grove = AD_1_1_G + AD_1_2_G constant AD_2_G (line 143) | AD_2_G Grove = AD_2_1_G + AD_2_2_G type GroveType (line 147) | type GroveType constant CUSTOM (line 150) | CUSTOM GroveType = 1 constant IR_DI_REMOTE (line 151) | IR_DI_REMOTE GroveType = 2 constant IR_EV3_REMOTE (line 152) | IR_EV3_REMOTE GroveType = 3 constant US (line 153) | US GroveType = 4 constant I2C (line 154) | I2C GroveType = 5 type GroveState (line 158) | type GroveState constant VALID_DATA (line 161) | VALID_DATA GroveState = iota constant NOT_CONFIGURED (line 162) | NOT_CONFIGURED constant CONFIGURING (line 163) | CONFIGURING constant NO_DATA (line 164) | NO_DATA constant I2C_ERROR (line 165) | I2C_ERROR type Driver (line 169) | type Driver struct method Name (line 207) | func (d *Driver) Name() string { return d.name } method SetName (line 210) | func (d *Driver) SetName(n string) { d.name = n } method Connection (line 213) | func (d *Driver) Connection() gobot.Connection { method Halt (line 223) | func (d *Driver) Halt() error { method Start (line 230) | func (d *Driver) Start() error { method GetManufacturerName (line 243) | func (d *Driver) GetManufacturerName() (string, error) { method GetBoardName (line 258) | func (d *Driver) GetBoardName() (string, error) { method GetHardwareVersion (line 273) | func (d *Driver) GetHardwareVersion() (string, error) { method GetFirmwareVersion (line 285) | func (d *Driver) GetFirmwareVersion() (string, error) { method GetSerialNumber (line 297) | func (d *Driver) GetSerialNumber() (string, error) { method Get5vVoltage (line 312) | func (d *Driver) Get5vVoltage() (float32, error) { method GetBatteryVoltage (line 318) | func (d *Driver) GetBatteryVoltage() (float32, error) { method SetLED (line 324) | func (d *Driver) SetLED(led Led, red, green, blue uint8) error { method SetServo (line 336) | func (d *Driver) SetServo(srvo Servo, us uint16) error { method ServoWrite (line 348) | func (d *Driver) ServoWrite(port string, angle byte) error { method SetMotorPower (line 363) | func (d *Driver) SetMotorPower(motor Motor, power int8) error { method SetMotorPosition (line 373) | func (d *Driver) SetMotorPosition(motor Motor, position int) error { method SetMotorDps (line 387) | func (d *Driver) SetMotorDps(motor Motor, dps int) error { method SetMotorLimits (line 399) | func (d *Driver) SetMotorLimits(motor Motor, power int8, dps int) error { method GetMotorStatus (line 414) | func (d *Driver) GetMotorStatus(motor Motor) (flags uint8, power uint1... method GetMotorEncoder (line 457) | func (d *Driver) GetMotorEncoder(motor Motor) (int64, error) { method OffsetMotorEncoder (line 475) | func (d *Driver) OffsetMotorEncoder(motor Motor, offset float64) error { method SetGroveType (line 489) | func (d *Driver) SetGroveType(port Grove, gType GroveType) error { method SetGroveMode (line 499) | func (d *Driver) SetGroveMode(port Grove, mode GroveMode) error { method SetPWMDuty (line 509) | func (d *Driver) SetPWMDuty(port Grove, duty uint16) error { method SetPWMFreq (line 524) | func (d *Driver) SetPWMFreq(port Grove, freq uint16) error { method PwmWrite (line 541) | func (d *Driver) PwmWrite(pin string, val byte) error { method AnalogRead (line 566) | func (d *Driver) AnalogRead(pin string) (int, error) { method DigitalWrite (line 595) | func (d *Driver) DigitalWrite(pin string, val byte) error { method DigitalRead (line 621) | func (d *Driver) DigitalRead(pin string) (int, error) { method responseValid (line 678) | func (d *Driver) responseValid(response []byte) error { method valueValid (line 685) | func (d *Driver) valueValid(value []byte) error { method readBytes (line 692) | func (d *Driver) readBytes(address byte, msg byte, numBytes int) ([]by... method readUint16 (line 703) | func (d *Driver) readUint16(address, msg byte) (uint16, error) { method readUint32 (line 714) | func (d *Driver) readUint32(address, msg byte) (uint32, error) { method writeBytes (line 725) | func (d *Driver) writeBytes(w []byte) error { method resetAll (line 729) | func (d *Driver) resetAll() error { function NewDriver (line 190) | func NewDriver(a spi.Connector, options ...func(spi.Config)) *Driver { function getGroveAddresses (line 650) | func getGroveAddresses(pin string) (gPin, gPort Grove, analog, state byt... FILE: platforms/dexter/gopigo3/driver_test.go function initTestDriver (line 19) | func initTestDriver() *Driver { function TestDriverStart (line 25) | func TestDriverStart(t *testing.T) { function TestDriverHalt (line 30) | func TestDriverHalt(t *testing.T) { function TestDriverManufacturerName (line 35) | func TestDriverManufacturerName(t *testing.T) { function TestDriverBoardName (line 43) | func TestDriverBoardName(t *testing.T) { function TestDriverHardwareVersion (line 51) | func TestDriverHardwareVersion(t *testing.T) { function TestDriverFirmareVersion (line 59) | func TestDriverFirmareVersion(t *testing.T) { function TestGetSerialNumber (line 67) | func TestGetSerialNumber(t *testing.T) { function TestGetFiveVolts (line 75) | func TestGetFiveVolts(t *testing.T) { function TestGetBatVolts (line 83) | func TestGetBatVolts(t *testing.T) { function TestGetMotorStatus (line 91) | func TestGetMotorStatus(t *testing.T) { function TestGetEncoderStatusPos (line 102) | func TestGetEncoderStatusPos(t *testing.T) { function TestGetEncoderStatusNeg (line 111) | func TestGetEncoderStatusNeg(t *testing.T) { function TestAnalogRead (line 120) | func TestAnalogRead(t *testing.T) { function TestDigitalRead (line 128) | func TestDigitalRead(t *testing.T) { function TestServoWrite (line 136) | func TestServoWrite(t *testing.T) { function TestSetMotorPosition (line 142) | func TestSetMotorPosition(t *testing.T) { function TestSetMotorPower (line 148) | func TestSetMotorPower(t *testing.T) { function TestSetMotorDps (line 154) | func TestSetMotorDps(t *testing.T) { function TestOffsetMotorEncoder (line 160) | func TestOffsetMotorEncoder(t *testing.T) { function TestSetPWMDuty (line 166) | func TestSetPWMDuty(t *testing.T) { function TestSetPWMfreq (line 172) | func TestSetPWMfreq(t *testing.T) { function TestPwmWrite (line 178) | func TestPwmWrite(t *testing.T) { function TestDigitalWrite (line 184) | func TestDigitalWrite(t *testing.T) { type TestConnector (line 190) | type TestConnector struct method GetSpiConnection (line 192) | func (ctr *TestConnector) GetSpiConnection(busNum, chipNum, mode, bits... method SpiDefaultBusNumber (line 196) | func (ctr *TestConnector) SpiDefaultBusNumber() int { method SpiDefaultChipNumber (line 200) | func (ctr *TestConnector) SpiDefaultChipNumber() int { method SpiDefaultMode (line 204) | func (ctr *TestConnector) SpiDefaultMode() int { method SpiDefaultBitCount (line 208) | func (ctr *TestConnector) SpiDefaultBitCount() int { method SpiDefaultMaxSpeed (line 212) | func (ctr *TestConnector) SpiDefaultMaxSpeed() int64 { type TestSpiDevice (line 216) | type TestSpiDevice struct method Close (line 218) | func (c TestSpiDevice) Close() error { method ReadByteData (line 222) | func (c TestSpiDevice) ReadByteData(byte) (byte, error) { return 0, ... method ReadBlockData (line 223) | func (c TestSpiDevice) ReadBlockData(byte, []byte) error { return nil } method WriteByte (line 224) | func (c TestSpiDevice) WriteByte(byte) error { return nil } method WriteByteData (line 225) | func (c TestSpiDevice) WriteByteData(byte, byte) error { return nil } method WriteBlockData (line 226) | func (c TestSpiDevice) WriteBlockData(byte, []byte) error { return nil } method WriteBytes (line 227) | func (c TestSpiDevice) WriteBytes([]byte) error { return nil } method ReadCommandData (line 229) | func (c TestSpiDevice) ReadCommandData(w, r []byte) error { FILE: platforms/digispark/digispark_adaptor.go type Adaptor (line 19) | type Adaptor struct method Name (line 44) | func (d *Adaptor) Name() string { return d.name } method SetName (line 47) | func (d *Adaptor) SetName(n string) { d.name = n } method Connect (line 50) | func (d *Adaptor) Connect() error { method Finalize (line 55) | func (d *Adaptor) Finalize() error { return nil } method DigitalWrite (line 58) | func (d *Adaptor) DigitalWrite(pin string, level byte) error { method PwmWrite (line 74) | func (d *Adaptor) PwmWrite(pin string, value byte) error { method ServoWrite (line 90) | func (d *Adaptor) ServoWrite(pin string, angle uint8) error { method GetI2cConnection (line 102) | func (d *Adaptor) GetI2cConnection(address int, bus int) (i2c.Connecti... method DefaultI2cBus (line 115) | func (d *Adaptor) DefaultI2cBus() int { function NewAdaptor (line 29) | func NewAdaptor() *Adaptor { FILE: platforms/digispark/digispark_adaptor_test.go type mock (line 27) | type mock struct method digitalWrite (line 39) | func (l *mock) digitalWrite(pin uint8, state uint8) error { method pinMode (line 45) | func (l *mock) pinMode(pin uint8, mode uint8) error { method pwmInit (line 53) | func (l *mock) pwmInit() error { return pwmInitErrorFunc() } method pwmStop (line 54) | func (l *mock) pwmStop() error { return l.error() } method pwmUpdateCompare (line 55) | func (l *mock) pwmUpdateCompare(channelA uint8, channelB uint8) error { method pwmUpdatePrescaler (line 61) | func (l *mock) pwmUpdatePrescaler(value uint) error { method servoInit (line 65) | func (l *mock) servoInit() error { return l.error() } method servoUpdateLocation (line 66) | func (l *mock) servoUpdateLocation(locationA uint8, locationB uint8) e... method error (line 74) | func (l *mock) error() error { return errorFunc() } method i2cInit (line 77) | func (l *mock) i2cInit() error ... method i2cStart (line 78) | func (l *mock) i2cStart(address7bit uint8, direction uint8) error ... method i2cWrite (line 79) | func (l *mock) i2cWrite(sendBuffer []byte, length int, endWithStop uin... method i2cRead (line 80) | func (l *mock) i2cRead(readBuffer []byte, length int, endWithStop uint... method i2cUpdateDelay (line 81) | func (l *mock) i2cUpdateDelay(duration uint) error ... function initTestAdaptor (line 83) | func initTestAdaptor() *Adaptor { function TestDigisparkAdaptorName (line 92) | func TestDigisparkAdaptorName(t *testing.T) { function TestDigisparkAdaptorConnect (line 99) | func TestDigisparkAdaptorConnect(t *testing.T) { function TestDigisparkAdaptorFinalize (line 104) | func TestDigisparkAdaptorFinalize(t *testing.T) { function TestDigisparkAdaptorDigitalWrite (line 109) | func TestDigisparkAdaptorDigitalWrite(t *testing.T) { function TestDigisparkAdaptorServoWrite (line 124) | func TestDigisparkAdaptorServoWrite(t *testing.T) { function TestDigisparkAdaptorPwmWrite (line 137) | func TestDigisparkAdaptorPwmWrite(t *testing.T) { FILE: platforms/digispark/digispark_i2c.go type digisparkI2cConnection (line 13) | type digisparkI2cConnection struct method Init (line 26) | func (c *digisparkI2cConnection) Init() error { method Test (line 37) | func (c *digisparkI2cConnection) Test(address uint8) error { method UpdateDelay (line 45) | func (c *digisparkI2cConnection) UpdateDelay(duration uint) error { method Read (line 54) | func (c *digisparkI2cConnection) Read(b []byte) (int, error) { method Write (line 62) | func (c *digisparkI2cConnection) Write(data []byte) (int, error) { method Close (line 70) | func (c *digisparkI2cConnection) Close() error { method ReadByte (line 75) | func (c *digisparkI2cConnection) ReadByte() (byte, error) { method ReadByteData (line 88) | func (c *digisparkI2cConnection) ReadByteData(reg uint8) (uint8, error) { method ReadWordData (line 105) | func (c *digisparkI2cConnection) ReadWordData(reg uint8) (uint16, erro... method ReadBlockData (line 124) | func (c *digisparkI2cConnection) ReadBlockData(reg uint8, data []byte)... method WriteByte (line 139) | func (c *digisparkI2cConnection) WriteByte(val byte) error { method WriteByteData (line 148) | func (c *digisparkI2cConnection) WriteByteData(reg uint8, val byte) er... method WriteWordData (line 157) | func (c *digisparkI2cConnection) WriteWordData(reg uint8, val uint16) ... method WriteBlockData (line 168) | func (c *digisparkI2cConnection) WriteBlockData(reg uint8, data []byte... method WriteBytes (line 183) | func (c *digisparkI2cConnection) WriteBytes(buf []byte) error { method readAndCheckCount (line 194) | func (c *digisparkI2cConnection) readAndCheckCount(buf []byte) error { method writeAndCheckCount (line 206) | func (c *digisparkI2cConnection) writeAndCheckCount(buf []byte, finalS... method readInternal (line 218) | func (c *digisparkI2cConnection) readInternal(b []byte) (int, error) { method writeInternal (line 243) | func (c *digisparkI2cConnection) writeInternal(data []byte, finalStop ... function NewDigisparkI2cConnection (line 21) | func NewDigisparkI2cConnection(adaptor *Adaptor, address uint8) *digispa... FILE: platforms/digispark/digispark_i2c_test.go constant availableI2cAddress (line 18) | availableI2cAddress = 0x40 constant maxUint8 (line 19) | maxUint8 = ^uint8(0) type i2cMock (line 27) | type i2cMock struct method i2cInit (line 302) | func (l *i2cMock) i2cInit() error { method i2cStart (line 307) | func (l *i2cMock) i2cStart(address7bit uint8, direction uint8) error { method i2cWrite (line 323) | func (l *i2cMock) i2cWrite(sendBuffer []byte, length int, endWithStop ... method i2cRead (line 331) | func (l *i2cMock) i2cRead(readBuffer []byte, length int, endWithStop u... method i2cUpdateDelay (line 346) | func (l *i2cMock) i2cUpdateDelay(duration uint) error { method digitalWrite (line 352) | func (l *i2cMock) digitalWrite(pin uint8, state uint8) error ... method pinMode (line 353) | func (l *i2cMock) pinMode(pin uint8, mode uint8) error ... method pwmInit (line 354) | func (l *i2cMock) pwmInit() error ... method pwmStop (line 355) | func (l *i2cMock) pwmStop() error ... method pwmUpdateCompare (line 356) | func (l *i2cMock) pwmUpdateCompare(channelA uint8, channelB uint8) err... method pwmUpdatePrescaler (line 357) | func (l *i2cMock) pwmUpdatePrescaler(value uint) error ... method servoInit (line 358) | func (l *i2cMock) servoInit() error ... method servoUpdateLocation (line 359) | func (l *i2cMock) servoUpdateLocation(locationA uint8, locationB uint8... method error (line 360) | func (l *i2cMock) error() error ... function initTestAdaptorI2c (line 37) | func initTestAdaptorI2c() *Adaptor { function TestDigisparkAdaptorI2cGetI2cConnection (line 44) | func TestDigisparkAdaptorI2cGetI2cConnection(t *testing.T) { function TestDigisparkAdaptorI2cGetI2cConnectionFailWithInvalidBus (line 58) | func TestDigisparkAdaptorI2cGetI2cConnectionFailWithInvalidBus(t *testin... function TestDigisparkAdaptorI2cStartFailWithWrongAddress (line 70) | func TestDigisparkAdaptorI2cStartFailWithWrongAddress(t *testing.T) { function TestDigisparkAdaptorI2cWrite (line 85) | func TestDigisparkAdaptorI2cWrite(t *testing.T) { function TestDigisparkAdaptorI2cWriteByte (line 106) | func TestDigisparkAdaptorI2cWriteByte(t *testing.T) { function TestDigisparkAdaptorI2cWriteByteData (line 125) | func TestDigisparkAdaptorI2cWriteByteData(t *testing.T) { function TestDigisparkAdaptorI2cWriteWordData (line 145) | func TestDigisparkAdaptorI2cWriteWordData(t *testing.T) { function TestDigisparkAdaptorI2cWriteBlockData (line 165) | func TestDigisparkAdaptorI2cWriteBlockData(t *testing.T) { function TestDigisparkAdaptorI2cRead (line 185) | func TestDigisparkAdaptorI2cRead(t *testing.T) { function TestDigisparkAdaptorI2cReadByte (line 206) | func TestDigisparkAdaptorI2cReadByte(t *testing.T) { function TestDigisparkAdaptorI2cReadByteData (line 224) | func TestDigisparkAdaptorI2cReadByteData(t *testing.T) { function TestDigisparkAdaptorI2cReadWordData (line 244) | func TestDigisparkAdaptorI2cReadWordData(t *testing.T) { function TestDigisparkAdaptorI2cReadBlockData (line 266) | func TestDigisparkAdaptorI2cReadBlockData(t *testing.T) { function TestDigisparkAdaptorI2cUpdateDelay (line 288) | func TestDigisparkAdaptorI2cUpdateDelay(t *testing.T) { FILE: platforms/digispark/littleWire.c function littlewire_search (line 68) | int littlewire_search() function littleWire (line 112) | littleWire* littlewire_connect_byID(int desiredID) function littleWire (line 126) | littleWire* littlewire_connect_bySerialNum(int mySerial) function littleWire (line 144) | littleWire* littleWire_connect() function readFirmwareVersion (line 154) | unsigned char readFirmwareVersion(littleWire* lwHandle) function changeSerialNumber (line 161) | void changeSerialNumber(littleWire* lwHandle,int serialNumber) function digitalWrite (line 179) | void digitalWrite(littleWire* lwHandle, unsigned char pin, unsigned char... function pinMode (line 188) | void pinMode(littleWire* lwHandle, unsigned char pin, unsigned char mode) function digitalRead (line 197) | unsigned char digitalRead(littleWire* lwHandle, unsigned char pin) function internalPullup (line 204) | void internalPullup(littleWire* lwHandle, unsigned char pin, unsigned ch... function analog_init (line 213) | void analog_init(littleWire* lwHandle, unsigned char voltageRef) function analogRead (line 218) | unsigned int analogRead(littleWire* lwHandle, unsigned char channel) function pwm_init (line 225) | void pwm_init(littleWire* lwHandle) function pwm_stop (line 230) | void pwm_stop(littleWire* lwHandle) function pwm_updateCompare (line 235) | void pwm_updateCompare(littleWire* lwHandle, unsigned char channelA, uns... function pwm_updatePrescaler (line 240) | void pwm_updatePrescaler(littleWire* lwHandle, unsigned int value) function spi_init (line 262) | void spi_init(littleWire* lwHandle) function spi_sendMessage (line 267) | void spi_sendMessage(littleWire* lwHandle, unsigned char * sendBuffer, u... function debugSpi (line 278) | unsigned char debugSpi(littleWire* lwHandle, unsigned char message) function spi_updateDelay (line 285) | void spi_updateDelay(littleWire* lwHandle, unsigned int duration) function i2c_init (line 290) | void i2c_init(littleWire* lwHandle) function i2c_start (line 295) | unsigned char i2c_start(littleWire* lwHandle, unsigned char address7bit,... function i2c_write (line 306) | void i2c_write(littleWire* lwHandle, unsigned char* sendBuffer, unsigned... function i2c_read (line 311) | void i2c_read(littleWire* lwHandle, unsigned char* readBuffer, unsigned ... function i2c_updateDelay (line 328) | void i2c_updateDelay(littleWire* lwHandle, unsigned int duration) function onewire_sendBit (line 333) | void onewire_sendBit(littleWire* lwHandle, unsigned char bitValue) function onewire_writeByte (line 338) | void onewire_writeByte(littleWire* lwHandle, unsigned char messageToSend) function onewire_readByte (line 344) | unsigned char onewire_readByte(littleWire* lwHandle) function onewire_readBit (line 352) | unsigned char onewire_readBit(littleWire* lwHandle) function onewire_resetPulse (line 359) | unsigned char onewire_resetPulse(littleWire* lwHandle) function softPWM_state (line 367) | void softPWM_state(littleWire* lwHandle,unsigned char state) function softPWM_write (line 372) | void softPWM_write(littleWire* lwHandle,unsigned char ch1,unsigned char ... function ws2812_write (line 377) | void ws2812_write(littleWire* lwHandle, unsigned char pin, unsigned char... function ws2812_flush (line 382) | void ws2812_flush(littleWire* lwHandle, unsigned char pin) function ws2812_preload (line 387) | void ws2812_preload(littleWire* lwHandle, unsigned char r,unsigned char ... function customMessage (line 392) | int customMessage(littleWire* lwHandle,unsigned char* receiveBuffer,unsi... function docrc8 (line 406) | unsigned char docrc8(unsigned char value) function onewire_nextAddress (line 415) | int onewire_nextAddress(littleWire* lwHandle) function onewire_firstAddress (line 534) | int onewire_firstAddress(littleWire* lwHandle) function littleWire_error (line 546) | int littleWire_error () { FILE: platforms/digispark/littleWire.go type lw (line 17) | type lw interface type littleWire (line 34) | type littleWire struct method digitalWrite (line 44) | func (l *littleWire) digitalWrite(pin uint8, state uint8) error { method pinMode (line 49) | func (l *littleWire) pinMode(pin uint8, mode uint8) error { method pwmInit (line 54) | func (l *littleWire) pwmInit() error { method pwmStop (line 59) | func (l *littleWire) pwmStop() error { method pwmUpdateCompare (line 64) | func (l *littleWire) pwmUpdateCompare(channelA uint8, channelB uint8) ... method pwmUpdatePrescaler (line 69) | func (l *littleWire) pwmUpdatePrescaler(value uint) error { method servoInit (line 74) | func (l *littleWire) servoInit() error { method servoUpdateLocation (line 79) | func (l *littleWire) servoUpdateLocation(locationA uint8, locationB ui... method i2cInit (line 84) | func (l *littleWire) i2cInit() error { method i2cStart (line 90) | func (l *littleWire) i2cStart(address7bit uint8, direction uint8) error { method i2cWrite (line 101) | func (l *littleWire) i2cWrite(sendBuffer []byte, length int, endWithSt... method i2cRead (line 107) | func (l *littleWire) i2cRead(readBuffer []byte, length int, endWithSto... method i2cUpdateDelay (line 113) | func (l *littleWire) i2cUpdateDelay(duration uint) error { method error (line 118) | func (l *littleWire) error() error { function littleWireConnect (line 38) | func littleWireConnect() *littleWire { FILE: platforms/digispark/littleWire.h type usb_dev_handle (line 105) | typedef usb_dev_handle littleWire; type lwCollection (line 107) | typedef struct lwCollection FILE: platforms/digispark/littleWire_servo.c function servo_init (line 39) | void servo_init(littleWire* lwHandle) function servo_updateLocation (line 52) | void servo_updateLocation(littleWire* lwHandle,unsigned char locationCha... FILE: platforms/digispark/littleWire_util.c function delay (line 5) | void delay(unsigned int duration) FILE: platforms/digispark/opendevice.c function _shellStyleMatch (line 27) | static int _shellStyleMatch(char *text, char *p) function shellStyleMatch (line 77) | static int shellStyleMatch(char *text, char *pattern) function usbGetStringAscii (line 86) | int usbGetStringAscii(usb_dev_handle *dev, int index, char *buf, int buf... function usbOpenDevice (line 116) | int usbOpenDevice(usb_dev_handle **device, int vendorID, char *vendorNam... FILE: platforms/dji/tello/crc.go function CalculateCRC8 (line 23) | func CalculateCRC8(pkt []byte) byte { function CalculateCRC16 (line 53) | func CalculateCRC16(pkt []byte) uint16 { FILE: platforms/dji/tello/driver.go constant BounceEvent (line 21) | BounceEvent = "bounce" constant ConnectedEvent (line 24) | ConnectedEvent = "connected" constant FlightDataEvent (line 27) | FlightDataEvent = "flightdata" constant TakeoffEvent (line 30) | TakeoffEvent = "takeoff" constant LandingEvent (line 33) | LandingEvent = "landing" constant PalmLandingEvent (line 36) | PalmLandingEvent = "palm-landing" constant FlipEvent (line 39) | FlipEvent = "flip" constant TimeEvent (line 42) | TimeEvent = "time" constant LogEvent (line 45) | LogEvent = "log" constant WifiDataEvent (line 48) | WifiDataEvent = "wifidata" constant LightStrengthEvent (line 51) | LightStrengthEvent = "lightstrength" constant SetExposureEvent (line 54) | SetExposureEvent = "setexposure" constant VideoFrameEvent (line 57) | VideoFrameEvent = "videoframe" constant SetVideoEncoderRateEvent (line 60) | SetVideoEncoderRateEvent = "setvideoencoder" constant messageStart (line 65) | messageStart = 0x00cc constant wifiMessage (line 66) | wifiMessage = 0x001a constant videoRateQuery (line 67) | videoRateQuery = 0x0028 constant lightMessage (line 68) | lightMessage = 0x0035 constant flightMessage (line 69) | flightMessage = 0x0056 constant logMessage (line 70) | logMessage = 0x1050 constant videoEncoderRateCommand (line 72) | videoEncoderRateCommand = 0x0020 constant videoStartCommand (line 73) | videoStartCommand = 0x0025 constant exposureCommand (line 74) | exposureCommand = 0x0034 constant timeCommand (line 75) | timeCommand = 0x0046 constant stickCommand (line 76) | stickCommand = 0x0050 constant takeoffCommand (line 77) | takeoffCommand = 0x0054 constant landCommand (line 78) | landCommand = 0x0055 constant flipCommand (line 79) | flipCommand = 0x005c constant throwtakeoffCommand (line 80) | throwtakeoffCommand = 0x005d constant palmLandCommand (line 81) | palmLandCommand = 0x005e constant bounceCommand (line 82) | bounceCommand = 0x1053 type FlipType (line 86) | type FlipType constant FlipFront (line 90) | FlipFront FlipType = 0 constant FlipLeft (line 93) | FlipLeft FlipType = 1 constant FlipBack (line 96) | FlipBack FlipType = 2 constant FlipRight (line 99) | FlipRight FlipType = 3 constant FlipForwardLeft (line 102) | FlipForwardLeft FlipType = 4 constant FlipBackLeft (line 105) | FlipBackLeft FlipType = 5 constant FlipBackRight (line 108) | FlipBackRight FlipType = 6 constant FlipForwardRight (line 111) | FlipForwardRight FlipType = 7 type VideoBitRate (line 115) | type VideoBitRate constant VideoBitRateAuto (line 119) | VideoBitRateAuto VideoBitRate = 0 constant VideoBitRate1M (line 122) | VideoBitRate1M VideoBitRate = 1 constant VideoBitRate15M (line 125) | VideoBitRate15M VideoBitRate = 2 constant VideoBitRate2M (line 128) | VideoBitRate2M VideoBitRate = 3 constant VideoBitRate3M (line 131) | VideoBitRate3M VideoBitRate = 4 constant VideoBitRate4M (line 134) | VideoBitRate4M VideoBitRate = 5 type FlightData (line 141) | type FlightData struct method AirSpeed (line 1118) | func (f *FlightData) AirSpeed() float64 { method GroundSpeed (line 1125) | func (f *FlightData) GroundSpeed() float64 { type WifiData (line 179) | type WifiData struct type Driver (line 185) | type Driver struct method Name (line 240) | func (d *Driver) Name() string { return d.name } method SetName (line 243) | func (d *Driver) SetName(n string) { d.name = n } method Connection (line 246) | func (d *Driver) Connection() gobot.Connection { return nil } method Start (line 249) | func (d *Driver) Start() error { method Halt (line 326) | func (d *Driver) Halt() error { method TakeOff (line 351) | func (d *Driver) TakeOff() error { method ThrowTakeOff (line 366) | func (d *Driver) ThrowTakeOff() error { method Land (line 381) | func (d *Driver) Land() error { method StopLanding (line 399) | func (d *Driver) StopLanding() error { method PalmLand (line 417) | func (d *Driver) PalmLand() error { method StartVideo (line 435) | func (d *Driver) StartVideo() error { method SetExposure (line 450) | func (d *Driver) SetExposure(level int) error { method SetVideoEncoderRate (line 472) | func (d *Driver) SetVideoEncoderRate(rate VideoBitRate) error { method SetFastMode (line 490) | func (d *Driver) SetFastMode() error { method SetSlowMode (line 499) | func (d *Driver) SetSlowMode() error { method Rate (line 508) | func (d *Driver) Rate() error { method Vector (line 539) | func (d *Driver) Vector() (x, y, z, psi float32) { method AddVector (line 546) | func (d *Driver) AddVector(x, y, z, psi float32) error { method SetVector (line 561) | func (d *Driver) SetVector(x, y, z, psi float32) error { method SetX (line 576) | func (d *Driver) SetX(x float32) error { method SetY (line 588) | func (d *Driver) SetY(y float32) error { method SetZ (line 600) | func (d *Driver) SetZ(z float32) error { method SetPsi (line 612) | func (d *Driver) SetPsi(psi float32) error { method Up (line 622) | func (d *Driver) Up(val int) error { method Down (line 631) | func (d *Driver) Down(val int) error { method Forward (line 640) | func (d *Driver) Forward(val int) error { method Backward (line 649) | func (d *Driver) Backward(val int) error { method Right (line 658) | func (d *Driver) Right(val int) error { method Left (line 667) | func (d *Driver) Left(val int) error { method Clockwise (line 676) | func (d *Driver) Clockwise(val int) error { method CounterClockwise (line 686) | func (d *Driver) CounterClockwise(val int) error { method Hover (line 695) | func (d *Driver) Hover() { method CeaseRotation (line 706) | func (d *Driver) CeaseRotation() { method Bounce (line 714) | func (d *Driver) Bounce() error { method Flip (line 739) | func (d *Driver) Flip(direction FlipType) error { method FrontFlip (line 757) | func (d *Driver) FrontFlip() error { method BackFlip (line 762) | func (d *Driver) BackFlip() error { method RightFlip (line 767) | func (d *Driver) RightFlip() error { method LeftFlip (line 772) | func (d *Driver) LeftFlip() error { method ParseFlightData (line 777) | func (d *Driver) ParseFlightData(b []byte) (*FlightData, error) { method SendStickCommand (line 871) | func (d *Driver) SendStickCommand() error { method SendDateTime (line 944) | func (d *Driver) SendDateTime() error { method SendCommand (line 988) | func (d *Driver) SendCommand(cmd string) error { method handleResponse (line 993) | func (d *Driver) handleResponse(r io.Reader) error { method processVideo (line 1048) | func (d *Driver) processVideo() error { method createPacket (line 1083) | func (d *Driver) createPacket(cmd int16, pktType byte, pktLen int16) (... method connectionString (line 1106) | func (d *Driver) connectionString() string { method addDoneChReaderCount (line 1114) | func (d *Driver) addDoneChReaderCount(delta int32) { function NewDriver (line 205) | func NewDriver(port string) *Driver { function NewDriverWithIP (line 211) | func NewDriverWithIP(ip string, port string) *Driver { function bound (line 523) | func bound(x, y float32) float32 { //nolint:unparam // keep y as parameter FILE: platforms/dji/tello/driver_test.go type WriteCloserDoNothing (line 20) | type WriteCloserDoNothing struct method Write (line 22) | func (w *WriteCloserDoNothing) Write(p []byte) (int, error) { method Close (line 26) | func (w *WriteCloserDoNothing) Close() error { function TestNewDriver (line 30) | func TestNewDriver(t *testing.T) { function Test_handleResponse (line 36) | func Test_handleResponse(t *testing.T) { function TestHaltShouldTerminateAllTheRelatedGoroutines (line 137) | func TestHaltShouldTerminateAllTheRelatedGoroutines(t *testing.T) { function TestHaltNotWaitForeverWhenCalledMultipleTimes (line 174) | func TestHaltNotWaitForeverWhenCalledMultipleTimes(t *testing.T) { function statusMessage (line 183) | func statusMessage(msgType uint16, msgAfter7 ...byte) []byte { FILE: platforms/dji/tello/pitch.go function ValidatePitch (line 8) | func ValidatePitch(data float64, offset float64) int { FILE: platforms/dji/tello/pitch_test.go function TestMinidroneValidatePitchWhenEqualOffset (line 9) | func TestMinidroneValidatePitchWhenEqualOffset(t *testing.T) { function TestMinidroneValidatePitchWhenTiny (line 13) | func TestMinidroneValidatePitchWhenTiny(t *testing.T) { function TestMinidroneValidatePitchWhenCentered (line 17) | func TestMinidroneValidatePitchWhenCentered(t *testing.T) { FILE: platforms/dragonboard/dragonboard_adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 0 constant defaultSpiMaxSpeed (line 17) | defaultSpiMaxSpeed = 5000 type Adaptor (line 21) | type Adaptor struct method Name (line 109) | func (a *Adaptor) Name() string { return a.name } method SetName (line 112) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 115) | func (a *Adaptor) Connect() error { method Finalize (line 127) | func (a *Adaptor) Finalize() error { method translateDigitalPin (line 140) | func (a *Adaptor) translateDigitalPin(id string) (string, int, error) { function NewAdaptor (line 65) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/dragonboard/dragonboard_adaptor_test.go function initConnectedTestAdaptor (line 25) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 33) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 50) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 64) | func TestDigitalIO(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 87) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestI2cDefaultBus (line 107) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 112) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/firmata/ble_firmata_adaptor.go constant ReceiveID (line 16) | ReceiveID = "6e400003b5a3f393e0a9e50e24dcca9e" constant TransmitID (line 19) | TransmitID = "6e400002b5a3f393e0a9e50e24dcca9e" type BLEAdaptor (line 24) | type BLEAdaptor struct function NewBLEAdaptor (line 30) | func NewBLEAdaptor(args ...interface{}) *BLEAdaptor { FILE: platforms/firmata/ble_firmata_adaptor_test.go function initTestBLEAdaptor (line 17) | func initTestBLEAdaptor() *BLEAdaptor { function TestFirmataBLEAdaptor (line 22) | func TestFirmataBLEAdaptor(t *testing.T) { FILE: platforms/firmata/client/client.go constant Input (line 18) | Input = 0x00 constant Output (line 19) | Output = 0x01 constant Analog (line 20) | Analog = 0x02 constant Pwm (line 21) | Pwm = 0x03 constant Servo (line 22) | Servo = 0x04 constant ProtocolVersion (line 27) | ProtocolVersion byte = 0xF9 constant SystemReset (line 28) | SystemReset byte = 0xFF constant DigitalMessage (line 29) | DigitalMessage byte = 0x90 constant DigitalMessageRangeStart (line 30) | DigitalMessageRangeStart byte = 0x90 constant DigitalMessageRangeEnd (line 31) | DigitalMessageRangeEnd byte = 0x9F constant AnalogMessage (line 32) | AnalogMessage byte = 0xE0 constant AnalogMessageRangeStart (line 33) | AnalogMessageRangeStart byte = 0xE0 constant AnalogMessageRangeEnd (line 34) | AnalogMessageRangeEnd byte = 0xEF constant ReportAnalog (line 35) | ReportAnalog byte = 0xC0 constant ReportDigital (line 36) | ReportDigital byte = 0xD0 constant PinMode (line 37) | PinMode byte = 0xF4 constant StartSysex (line 38) | StartSysex byte = 0xF0 constant EndSysex (line 39) | EndSysex byte = 0xF7 constant CapabilityQuery (line 40) | CapabilityQuery byte = 0x6B constant CapabilityResponse (line 41) | CapabilityResponse byte = 0x6C constant PinStateQuery (line 42) | PinStateQuery byte = 0x6D constant PinStateResponse (line 43) | PinStateResponse byte = 0x6E constant AnalogMappingQuery (line 44) | AnalogMappingQuery byte = 0x69 constant AnalogMappingResponse (line 45) | AnalogMappingResponse byte = 0x6A constant StringData (line 46) | StringData byte = 0x71 constant I2CRequest (line 47) | I2CRequest byte = 0x76 constant I2CReply (line 48) | I2CReply byte = 0x77 constant I2CConfig (line 49) | I2CConfig byte = 0x78 constant FirmwareQuery (line 50) | FirmwareQuery byte = 0x79 constant I2CModeWrite (line 51) | I2CModeWrite byte = 0x00 constant I2CModeRead (line 52) | I2CModeRead byte = 0x01 constant I2CModeContinuousRead (line 53) | I2CModeContinuousRead byte = 0x02 constant I2CModeStopReading (line 54) | I2CModeStopReading byte = 0x03 constant ServoConfig (line 55) | ServoConfig byte = 0x70 type Client (line 64) | type Client struct method setConnecting (line 123) | func (b *Client) setConnecting(c bool) { method setConnected (line 127) | func (b *Client) setConnected(c bool) { method Disconnect (line 132) | func (b *Client) Disconnect() error { method Connecting (line 138) | func (b *Client) Connecting() bool { method Connected (line 144) | func (b *Client) Connected() bool { method Pins (line 150) | func (b *Client) Pins() []Pin { method Connect (line 157) | func (b *Client) Connect(conn io.ReadWriteCloser) error { method Reset (line 252) | func (b *Client) Reset() error { method SetPinMode (line 257) | func (b *Client) SetPinMode(pin int, mode int) error { method DigitalWrite (line 263) | func (b *Client) DigitalWrite(pin int, value int) error { method ServoConfig (line 278) | func (b *Client) ServoConfig(pin int, maximum int, minimum int) error { method AnalogWrite (line 291) | func (b *Client) AnalogWrite(pin int, value int) error { method FirmwareQuery (line 297) | func (b *Client) FirmwareQuery() error { method PinStateQuery (line 302) | func (b *Client) PinStateQuery(pin int) error { method ProtocolVersionQuery (line 307) | func (b *Client) ProtocolVersionQuery() error { method CapabilitiesQuery (line 312) | func (b *Client) CapabilitiesQuery() error { method AnalogMappingQuery (line 317) | func (b *Client) AnalogMappingQuery() error { method ReportDigital (line 323) | func (b *Client) ReportDigital(pin int, state int) error { method ReportAnalog (line 329) | func (b *Client) ReportAnalog(pin int, state int) error { method I2cRead (line 334) | func (b *Client) I2cRead(address int, numBytes int) error { method I2cWrite (line 342) | func (b *Client) I2cWrite(address int, data []byte) error { method I2cConfig (line 353) | func (b *Client) I2cConfig(delay int) error { method togglePinReporting (line 357) | func (b *Client) togglePinReporting(pin int, state int, mode byte) err... method WriteSysex (line 368) | func (b *Client) WriteSysex(data []byte) error { method write (line 372) | func (b *Client) write(data []byte) error { method read (line 377) | func (b *Client) read(n int) ([]byte, error) { method process (line 383) | func (b *Client) process() error { type Pin (line 78) | type Pin struct type I2cReply (line 87) | type I2cReply struct function New (line 94) | func New() *Client { FILE: platforms/firmata/client/client_test.go constant semPublishWait (line 14) | semPublishWait = 30 * time.Millisecond type readWriteCloser (line 16) | type readWriteCloser struct method Write (line 58) | func (readWriteCloser) Write(p []byte) (int, error) { method addTestReadData (line 64) | func (rwc readWriteCloser) addTestReadData(d []byte) { method Read (line 78) | func (rwc readWriteCloser) Read(b []byte) (int, error) { method Close (line 98) | func (readWriteCloser) Close() error { function initTestFirmataWithReadWriteCloser (line 102) | func initTestFirmataWithReadWriteCloser(name string, data ...[]byte) (*C... function TestPins (line 116) | func TestPins(t *testing.T) { function TestProtocolVersionQuery (line 122) | func TestProtocolVersionQuery(t *testing.T) { function TestFirmwareQuery (line 127) | func TestFirmwareQuery(t *testing.T) { function TestPinStateQuery (line 132) | func TestPinStateQuery(t *testing.T) { function TestProcessProtocolVersion (line 137) | func TestProcessProtocolVersion(t *testing.T) { function TestProcessAnalogRead0 (line 156) | func TestProcessAnalogRead0(t *testing.T) { function TestProcessAnalogRead1 (line 175) | func TestProcessAnalogRead1(t *testing.T) { function TestProcessDigitalRead2 (line 194) | func TestProcessDigitalRead2(t *testing.T) { function TestProcessDigitalRead4 (line 214) | func TestProcessDigitalRead4(t *testing.T) { function TestDigitalWrite (line 234) | func TestDigitalWrite(t *testing.T) { function TestSetPinMode (line 239) | func TestSetPinMode(t *testing.T) { function TestAnalogWrite (line 244) | func TestAnalogWrite(t *testing.T) { function TestReportAnalog (line 249) | func TestReportAnalog(t *testing.T) { function TestProcessPinState13 (line 255) | func TestProcessPinState13(t *testing.T) { function TestI2cConfig (line 274) | func TestI2cConfig(t *testing.T) { function TestI2cWrite (line 279) | func TestI2cWrite(t *testing.T) { function TestI2cRead (line 284) | func TestI2cRead(t *testing.T) { function TestWriteSysex (line 289) | func TestWriteSysex(t *testing.T) { function TestProcessI2cReply (line 294) | func TestProcessI2cReply(t *testing.T) { function TestProcessFirmwareQuery (line 317) | func TestProcessFirmwareQuery(t *testing.T) { function TestProcessStringData (line 336) | func TestProcessStringData(t *testing.T) { function TestConnect (line 355) | func TestConnect(t *testing.T) { function TestServoConfig (line 382) | func TestServoConfig(t *testing.T) { function TestProcessSysexData (line 421) | func TestProcessSysexData(t *testing.T) { FILE: platforms/firmata/client/examples/blink.go function main (line 18) | func main() { FILE: platforms/firmata/firmata_adaptor.go type firmataBoard (line 19) | type firmataBoard interface type FirmataAdaptor (line 36) | type FirmataAdaptor interface type Adaptor (line 46) | type Adaptor struct method Connect (line 90) | func (f *Adaptor) Connect() error { method Disconnect (line 108) | func (f *Adaptor) Disconnect() error { method Finalize (line 116) | func (f *Adaptor) Finalize() error { method Port (line 121) | func (f *Adaptor) Port() string { return f.port } method Name (line 124) | func (f *Adaptor) Name() string { return f.name } method SetName (line 127) | func (f *Adaptor) SetName(n string) { f.name = n } method ServoConfig (line 130) | func (f *Adaptor) ServoConfig(pin string, minimum, maximum int) error { method ServoWrite (line 140) | func (f *Adaptor) ServoWrite(pin string, angle byte) error { method PwmWrite (line 157) | func (f *Adaptor) PwmWrite(pin string, level byte) error { method DigitalWrite (line 174) | func (f *Adaptor) DigitalWrite(pin string, level byte) error { method DigitalRead (line 191) | func (f *Adaptor) DigitalRead(pin string) (int, error) { method AnalogRead (line 212) | func (f *Adaptor) AnalogRead(pin string) (int, error) { method WriteSysex (line 234) | func (f *Adaptor) WriteSysex(data []byte) error { method digitalPin (line 239) | func (f *Adaptor) digitalPin(pin int) int { method GetI2cConnection (line 245) | func (f *Adaptor) GetI2cConnection(address int, bus int) (i2c.Connecti... method DefaultI2cBus (line 256) | func (f *Adaptor) DefaultI2cBus() int { function NewAdaptor (line 65) | func NewAdaptor(args ...interface{}) *Adaptor { FILE: platforms/firmata/firmata_adaptor_test.go type readWriteCloser (line 33) | type readWriteCloser struct method Write (line 35) | func (readWriteCloser) Write(p []byte) (int, error) { method Read (line 44) | func (readWriteCloser) Read(b []byte) (int, error) { method Close (line 55) | func (readWriteCloser) Close() error { type mockFirmataBoard (line 59) | type mockFirmataBoard struct method Connect (line 80) | func (mockFirmataBoard) Connect(io.ReadWriteCloser) error { return nil } method Disconnect (line 82) | func (m mockFirmataBoard) Disconnect() error { method Pins (line 86) | func (m mockFirmataBoard) Pins() []client.Pin { method AnalogWrite (line 89) | func (mockFirmataBoard) AnalogWrite(int, int) error { return nil } method SetPinMode (line 90) | func (mockFirmataBoard) SetPinMode(int, int) error { return nil } method ReportAnalog (line 91) | func (mockFirmataBoard) ReportAnalog(int, int) error { return nil } method ReportDigital (line 92) | func (mockFirmataBoard) ReportDigital(int, int) error { return nil } method DigitalWrite (line 93) | func (mockFirmataBoard) DigitalWrite(int, int) error { return nil } method ServoConfig (line 94) | func (mockFirmataBoard) ServoConfig(int, int, int) error { return nil } method WriteSysex (line 95) | func (mockFirmataBoard) WriteSysex([]byte) error { return nil } method I2cRead (line 98) | func (mockFirmataBoard) I2cRead(int, int) error { return nil } method I2cWrite (line 99) | func (mockFirmataBoard) I2cWrite(int, []byte) error { return nil } method I2cConfig (line 100) | func (mockFirmataBoard) I2cConfig(int) error { return nil } function newMockFirmataBoard (line 66) | func newMockFirmataBoard() *mockFirmataBoard { function initTestAdaptor (line 102) | func initTestAdaptor() *Adaptor { function TestNewAdaptor (line 112) | func TestNewAdaptor(t *testing.T) { function TestAdaptorFinalize (line 117) | func TestAdaptorFinalize(t *testing.T) { function TestAdaptorConnect (line 126) | func TestAdaptorConnect(t *testing.T) { function TestAdaptorServoWrite (line 151) | func TestAdaptorServoWrite(t *testing.T) { function TestAdaptorServoWriteBadPin (line 156) | func TestAdaptorServoWriteBadPin(t *testing.T) { function TestAdaptorPwmWrite (line 161) | func TestAdaptorPwmWrite(t *testing.T) { function TestAdaptorPwmWriteBadPin (line 166) | func TestAdaptorPwmWriteBadPin(t *testing.T) { function TestAdaptorDigitalWrite (line 171) | func TestAdaptorDigitalWrite(t *testing.T) { function TestAdaptorDigitalWriteBadPin (line 176) | func TestAdaptorDigitalWriteBadPin(t *testing.T) { function TestAdaptorDigitalRead (line 181) | func TestAdaptorDigitalRead(t *testing.T) { function TestAdaptorDigitalReadBadPin (line 192) | func TestAdaptorDigitalReadBadPin(t *testing.T) { function TestAdaptorAnalogRead (line 198) | func TestAdaptorAnalogRead(t *testing.T) { function TestAdaptorAnalogReadBadPin (line 209) | func TestAdaptorAnalogReadBadPin(t *testing.T) { function TestServoConfig (line 215) | func TestServoConfig(t *testing.T) { FILE: platforms/firmata/firmata_i2c.go type firmataI2cConnection (line 14) | type firmataI2cConnection struct method Read (line 28) | func (c *firmataI2cConnection) Read(b []byte) (int, error) { method Write (line 36) | func (c *firmataI2cConnection) Write(data []byte) (int, error) { method Close (line 44) | func (c *firmataI2cConnection) Close() error { method ReadByte (line 49) | func (c *firmataI2cConnection) ReadByte() (byte, error) { method ReadByteData (line 65) | func (c *firmataI2cConnection) ReadByteData(reg uint8) (uint8, error) { method ReadWordData (line 85) | func (c *firmataI2cConnection) ReadWordData(reg uint8) (uint16, error) { method ReadBlockData (line 106) | func (c *firmataI2cConnection) ReadBlockData(reg uint8, data []byte) e... method WriteByte (line 121) | func (c *firmataI2cConnection) WriteByte(val byte) error { method WriteByteData (line 130) | func (c *firmataI2cConnection) WriteByteData(reg uint8, val byte) error { method WriteWordData (line 139) | func (c *firmataI2cConnection) WriteWordData(reg uint8, val uint16) er... method WriteBlockData (line 150) | func (c *firmataI2cConnection) WriteBlockData(reg uint8, data []byte) ... method WriteBytes (line 165) | func (c *firmataI2cConnection) WriteBytes(buf []byte) error { method readAndCheckCount (line 176) | func (c *firmataI2cConnection) readAndCheckCount(buf []byte) error { method writeAndCheckCount (line 188) | func (c *firmataI2cConnection) writeAndCheckCount(buf []byte) error { method readInternal (line 200) | func (c *firmataI2cConnection) readInternal(b []byte) (int, error) { method writeInternal (line 219) | func (c *firmataI2cConnection) writeInternal(data []byte) (int, error) { function NewFirmataI2cConnection (line 22) | func NewFirmataI2cConnection(adaptor *Adaptor, address int) *firmataI2cC... FILE: platforms/firmata/firmata_i2c_test.go type i2cMockFirmataBoard (line 23) | type i2cMockFirmataBoard struct method I2cRead (line 32) | func (t *i2cMockFirmataBoard) I2cRead(address int, numBytes int) error { method I2cWrite (line 42) | func (t *i2cMockFirmataBoard) I2cWrite(address int, data []byte) error { method I2cConfig (line 46) | func (*i2cMockFirmataBoard) I2cConfig(int) error { return nil } method Connect (line 49) | func (*i2cMockFirmataBoard) Connect(io.ReadWriteCloser) error { return... method Disconnect (line 50) | func (*i2cMockFirmataBoard) Disconnect() error { return... method Pins (line 51) | func (*i2cMockFirmataBoard) Pins() []client.Pin { return... method AnalogWrite (line 52) | func (*i2cMockFirmataBoard) AnalogWrite(int, int) error { return... method SetPinMode (line 53) | func (*i2cMockFirmataBoard) SetPinMode(int, int) error { return... method ReportAnalog (line 54) | func (*i2cMockFirmataBoard) ReportAnalog(int, int) error { return... method ReportDigital (line 55) | func (*i2cMockFirmataBoard) ReportDigital(int, int) error { return... method DigitalWrite (line 56) | func (*i2cMockFirmataBoard) DigitalWrite(int, int) error { return... method ServoConfig (line 57) | func (*i2cMockFirmataBoard) ServoConfig(int, int, int) error { return... method WriteSysex (line 60) | func (*i2cMockFirmataBoard) WriteSysex([]byte) error { return nil } function newI2cMockFirmataBoard (line 62) | func newI2cMockFirmataBoard() *i2cMockFirmataBoard { function initTestTestAdaptorWithI2cConnection (line 70) | func initTestTestAdaptorWithI2cConnection() (i2c.Connection, *i2cMockFir... function TestClose (line 80) | func TestClose(t *testing.T) { function TestRead (line 85) | func TestRead(t *testing.T) { function TestReadByte (line 99) | func TestReadByte(t *testing.T) { function TestReadByteData (line 112) | func TestReadByteData(t *testing.T) { function TestReadWordData (line 127) | func TestReadWordData(t *testing.T) { function TestReadBlockData (line 144) | func TestReadBlockData(t *testing.T) { function TestWrite (line 160) | func TestWrite(t *testing.T) { function TestWrite20bytes (line 173) | func TestWrite20bytes(t *testing.T) { function TestWriteByte (line 186) | func TestWriteByte(t *testing.T) { function TestWriteByteData (line 198) | func TestWriteByteData(t *testing.T) { function TestWriteWordData (line 212) | func TestWriteWordData(t *testing.T) { function TestWriteBlockData (line 227) | func TestWriteBlockData(t *testing.T) { function TestDefaultBus (line 245) | func TestDefaultBus(t *testing.T) { function TestGetI2cConnectionInvalidBus (line 250) | func TestGetI2cConnectionInvalidBus(t *testing.T) { FILE: platforms/firmata/tcp_firmata_adaptor.go type TCPAdaptor (line 15) | type TCPAdaptor struct function NewTCPAdaptor (line 21) | func NewTCPAdaptor(args ...interface{}) *TCPAdaptor { function connect (line 33) | func connect(address string) (io.ReadWriteCloser, error) { FILE: platforms/firmata/tcp_firmata_adaptor_test.go function initTestTCPAdaptor (line 17) | func initTestTCPAdaptor() *TCPAdaptor { function TestFirmataTCPAdaptor (line 22) | func TestFirmataTCPAdaptor(t *testing.T) { FILE: platforms/friendlyelec/nanopct6/adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 8 constant defaultSpiBusNumber (line 17) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 18) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 19) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 20) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 500000 type Adaptor (line 25) | type Adaptor struct method Name (line 117) | func (a *Adaptor) Name() string { return a.name } method SetName (line 120) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 123) | func (a *Adaptor) Connect() error { method Finalize (line 151) | func (a *Adaptor) Finalize() error { function NewAdaptor (line 58) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/friendlyelec/nanopct6/adaptor_test.go constant pwmDir (line 19) | pwmDir = "/sys/devices/platform/febf0030.pwm/pwm/pwmchip7/" constant pwmExportPath (line 20) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 21) | pwmUnexportPath = pwmDir + "unexport" constant pwmPwmDir (line 22) | pwmPwmDir = pwmDir + "pwm0/" constant pwmEnablePath (line 23) | pwmEnablePath = pwmPwmDir + "enable" constant pwmPeriodPath (line 24) | pwmPeriodPath = pwmPwmDir + "period" constant pwmDutyCyclePath (line 25) | pwmDutyCyclePath = pwmPwmDir + "duty_cycle" constant pwmPolarityPath (line 26) | pwmPolarityPath = pwmPwmDir + "polarity" constant pwmInvertedIdentifier (line 28) | pwmInvertedIdentifier = "inversed" function preparePwmFs (line 51) | func preparePwmFs(fs *system.MockFilesystem) { function initConnectedTestAdaptorWithMockedFilesystem (line 58) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function initConnectedTestAdaptor (line 64) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 72) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 91) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 99) | func TestDigitalIO(t *testing.T) { function TestDigitalIOSysfs (line 122) | func TestDigitalIOSysfs(t *testing.T) { function TestAnalogRead (line 146) | func TestAnalogRead(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 169) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 182) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestSpiDefaultValues (line 195) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 205) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 210) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/friendlyelec/nanopi/adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 0 constant defaultSpiBusNumber (line 17) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 18) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 19) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 20) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 500000 type Adaptor (line 25) | type Adaptor struct method Name (line 104) | func (a *Adaptor) Name() string { return a.name } method SetName (line 107) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 110) | func (a *Adaptor) Connect() error { method Finalize (line 133) | func (a *Adaptor) Finalize() error { function NewNeoAdaptor (line 56) | func NewNeoAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/friendlyelec/nanopi/adaptor_test.go constant pwmDir (line 19) | pwmDir = "/sys/devices/platform/soc/1c21400.pwm/pwm/pwmchip0/" constant pwmExportPath (line 20) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 21) | pwmUnexportPath = pwmDir + "unexport" constant pwmPwmDir (line 22) | pwmPwmDir = pwmDir + "pwm0/" constant pwmEnablePath (line 23) | pwmEnablePath = pwmPwmDir + "enable" constant pwmPeriodPath (line 24) | pwmPeriodPath = pwmPwmDir + "period" constant pwmDutyCyclePath (line 25) | pwmDutyCyclePath = pwmPwmDir + "duty_cycle" constant pwmPolarityPath (line 26) | pwmPolarityPath = pwmPwmDir + "polarity" constant pwmInvertedIdentifier (line 28) | pwmInvertedIdentifier = "inversed" function preparePwmFs (line 53) | func preparePwmFs(fs *system.MockFilesystem) { function initConnectedTestAdaptorWithMockedFilesystem (line 60) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function initConnectedTestAdaptor (line 66) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 74) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 92) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 100) | func TestDigitalIO(t *testing.T) { function TestDigitalIOSysfs (line 123) | func TestDigitalIOSysfs(t *testing.T) { function TestAnalog (line 147) | func TestAnalog(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 170) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 183) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestSpiDefaultValues (line 196) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 206) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 211) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/holystone/hs200/hs200_driver.go type Driver (line 12) | type Driver struct method Name (line 55) | func (d *Driver) Name() string { return d.name } method SetName (line 58) | func (d *Driver) SetName(n string) { d.name = n } method Connection (line 61) | func (d *Driver) Connection() gobot.Connection { return nil } method Start (line 64) | func (d *Driver) Start() error { method Halt (line 82) | func (d *Driver) Halt() error { method stop (line 87) | func (d *Driver) stop() { method flightLoop (line 93) | func (d *Driver) flightLoop(stopc chan struct{}) { method sendUDP (line 119) | func (d *Driver) sendUDP() { method Enable (line 129) | func (d *Driver) Enable() { method Disable (line 139) | func (d *Driver) Disable() { method TakeOff (line 148) | func (d *Driver) TakeOff() { method Land (line 161) | func (d *Driver) Land() { method Throttle (line 187) | func (d *Driver) Throttle(speed float32) { method Rotate (line 195) | func (d *Driver) Rotate(speed float32) { method Forward (line 203) | func (d *Driver) Forward(speed float32) { method Right (line 212) | func (d *Driver) Right(speed float32) { function NewDriver (line 25) | func NewDriver(tcpaddress string, udpaddress string) *Driver { function checksum (line 111) | func checksum(c []byte) byte { function floatToCmdByte (line 174) | func floatToCmdByte(cmd float32, mid byte, maxv byte) byte { FILE: platforms/holystone/hs200/hs200_driver_test.go function TestHS200Driver (line 13) | func TestHS200Driver(t *testing.T) { FILE: platforms/intel-iot/curie/imu_driver.go constant CURIE_IMU (line 11) | CURIE_IMU = 0x11 constant CURIE_IMU_READ_ACCEL (line 12) | CURIE_IMU_READ_ACCEL = 0x00 constant CURIE_IMU_READ_GYRO (line 13) | CURIE_IMU_READ_GYRO = 0x01 constant CURIE_IMU_READ_TEMP (line 14) | CURIE_IMU_READ_TEMP = 0x02 constant CURIE_IMU_SHOCK_DETECT (line 15) | CURIE_IMU_SHOCK_DETECT = 0x03 constant CURIE_IMU_STEP_COUNTER (line 16) | CURIE_IMU_STEP_COUNTER = 0x04 constant CURIE_IMU_TAP_DETECT (line 17) | CURIE_IMU_TAP_DETECT = 0x05 constant CURIE_IMU_READ_MOTION (line 18) | CURIE_IMU_READ_MOTION = 0x06 type AccelerometerData (line 22) | type AccelerometerData struct type GyroscopeData (line 29) | type GyroscopeData struct type ShockData (line 36) | type ShockData struct type TapData (line 42) | type TapData struct type MotionData (line 48) | type MotionData struct type IMUDriver (line 58) | type IMUDriver struct method Start (line 77) | func (imu *IMUDriver) Start() error { method Halt (line 88) | func (imu *IMUDriver) Halt() error { return nil } method Name (line 91) | func (imu *IMUDriver) Name() string { return imu.name } method SetName (line 94) | func (imu *IMUDriver) SetName(n string) { imu.name = n } method Connection (line 97) | func (imu *IMUDriver) Connection() gobot.Connection { return imu.conne... method ReadAccelerometer (line 101) | func (imu *IMUDriver) ReadAccelerometer() error { method ReadGyroscope (line 107) | func (imu *IMUDriver) ReadGyroscope() error { method ReadTemperature (line 113) | func (imu *IMUDriver) ReadTemperature() error { method EnableShockDetection (line 119) | func (imu *IMUDriver) EnableShockDetection(detect bool) error { method EnableStepCounter (line 129) | func (imu *IMUDriver) EnableStepCounter(count bool) error { method EnableTapDetection (line 139) | func (imu *IMUDriver) EnableTapDetection(detect bool) error { method ReadMotion (line 149) | func (imu *IMUDriver) ReadMotion() error { method handleEvent (line 153) | func (imu *IMUDriver) handleEvent(data []byte) error { function NewIMUDriver (line 66) | func NewIMUDriver(a *firmata.Adaptor) *IMUDriver { function parseAccelerometerData (line 203) | func parseAccelerometerData(data []byte) (*AccelerometerData, error) { function parseGyroscopeData (line 215) | func parseGyroscopeData(data []byte) (*GyroscopeData, error) { function parseTemperatureData (line 227) | func parseTemperatureData(data []byte) (float32, error) { function parseShockData (line 238) | func parseShockData(data []byte) (*ShockData, error) { function parseStepData (line 247) | func parseStepData(data []byte) (int16, error) { function parseTapData (line 256) | func parseTapData(data []byte) (*TapData, error) { function parseMotionData (line 265) | func parseMotionData(data []byte) (*MotionData, error) { FILE: platforms/intel-iot/curie/imu_driver_test.go type readWriteCloser (line 19) | type readWriteCloser struct method Write (line 21) | func (readWriteCloser) Write(p []byte) (int, error) { method Read (line 30) | func (readWriteCloser) Read(b []byte) (int, error) { method Close (line 41) | func (readWriteCloser) Close() error { type mockFirmataBoard (line 45) | type mockFirmataBoard struct method Connect (line 66) | func (mockFirmataBoard) Connect(io.ReadWriteCloser) error { return nil } method Disconnect (line 67) | func (m mockFirmataBoard) Disconnect() error { method Pins (line 71) | func (m mockFirmataBoard) Pins() []client.Pin { method AnalogWrite (line 74) | func (mockFirmataBoard) AnalogWrite(int, int) error { return nil } method SetPinMode (line 75) | func (mockFirmataBoard) SetPinMode(int, int) error { return nil } method ReportAnalog (line 76) | func (mockFirmataBoard) ReportAnalog(int, int) error { return nil } method ReportDigital (line 77) | func (mockFirmataBoard) ReportDigital(int, int) error { return nil } method DigitalWrite (line 78) | func (mockFirmataBoard) DigitalWrite(int, int) error { return nil } method I2cRead (line 79) | func (mockFirmataBoard) I2cRead(int, int) error { return nil } method I2cWrite (line 80) | func (mockFirmataBoard) I2cWrite(int, []byte) error { return nil } method I2cConfig (line 81) | func (mockFirmataBoard) I2cConfig(int) error { return nil } method ServoConfig (line 82) | func (mockFirmataBoard) ServoConfig(int, int, int) error { return nil } method WriteSysex (line 83) | func (mockFirmataBoard) WriteSysex(data []byte) error { return nil } function newMockFirmataBoard (line 52) | func newMockFirmataBoard() *mockFirmataBoard { function initTestIMUDriver (line 85) | func initTestIMUDriver() *IMUDriver { function TestIMUDriverStart (line 94) | func TestIMUDriverStart(t *testing.T) { function TestIMUDriverHalt (line 99) | func TestIMUDriverHalt(t *testing.T) { function TestIMUDriverDefaultName (line 104) | func TestIMUDriverDefaultName(t *testing.T) { function TestIMUDriverSetName (line 109) | func TestIMUDriverSetName(t *testing.T) { function TestIMUDriverConnection (line 115) | func TestIMUDriverConnection(t *testing.T) { function TestIMUDriverReadAccelerometer (line 120) | func TestIMUDriverReadAccelerometer(t *testing.T) { function TestIMUDriverReadAccelerometerData (line 126) | func TestIMUDriverReadAccelerometerData(t *testing.T) { function TestIMUDriverReadGyroscope (line 135) | func TestIMUDriverReadGyroscope(t *testing.T) { function TestIMUDriverReadGyroscopeData (line 141) | func TestIMUDriverReadGyroscopeData(t *testing.T) { function TestIMUDriverReadTemperature (line 150) | func TestIMUDriverReadTemperature(t *testing.T) { function TestIMUDriverReadTemperatureData (line 156) | func TestIMUDriverReadTemperatureData(t *testing.T) { function TestIMUDriverEnableShockDetection (line 165) | func TestIMUDriverEnableShockDetection(t *testing.T) { function TestIMUDriverShockDetectData (line 171) | func TestIMUDriverShockDetectData(t *testing.T) { function TestIMUDriverEnableStepCounter (line 180) | func TestIMUDriverEnableStepCounter(t *testing.T) { function TestIMUDriverStepCountData (line 186) | func TestIMUDriverStepCountData(t *testing.T) { function TestIMUDriverEnableTapDetection (line 195) | func TestIMUDriverEnableTapDetection(t *testing.T) { function TestIMUDriverTapDetectData (line 201) | func TestIMUDriverTapDetectData(t *testing.T) { function TestIMUDriverEnableReadMotion (line 210) | func TestIMUDriverEnableReadMotion(t *testing.T) { function TestIMUDriverReadMotionData (line 216) | func TestIMUDriverReadMotionData(t *testing.T) { function TestIMUDriverHandleEvents (line 227) | func TestIMUDriverHandleEvents(t *testing.T) { FILE: platforms/intel-iot/edison/edison_adaptor.go constant defaultI2cBusNumber (line 17) | defaultI2cBusNumber = 6 constant defaultI2cBusNumberOther (line 18) | defaultI2cBusNumberOther = 1 type mux (line 21) | type mux struct type sysfsPin (line 26) | type sysfsPin struct type Adaptor (line 35) | type Adaptor struct method Name (line 99) | func (a *Adaptor) Name() string { return a.name } method SetName (line 102) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 105) | func (a *Adaptor) Connect() error { method Finalize (line 139) | func (a *Adaptor) Finalize() error { method DigitalRead (line 173) | func (a *Adaptor) DigitalRead(pin string) (int, error) { method DigitalWrite (line 185) | func (a *Adaptor) DigitalWrite(pin string, val byte) error { method DigitalPin (line 194) | func (a *Adaptor) DigitalPin(id string) (gobot.DigitalPinner, error) { method AnalogRead (line 202) | func (a *Adaptor) AnalogRead(pin string) (int, error) { method validateAndSetupI2cBusNumber (line 211) | func (a *Adaptor) validateAndSetupI2cBusNumber(busNr int) error { method arduinoSetup (line 232) | func (a *Adaptor) arduinoSetup() error { method arduinoI2CSetup (line 269) | func (a *Adaptor) arduinoI2CSetup() error { method digitalPin (line 299) | func (a *Adaptor) digitalPin(id string, o ...func(gobot.DigitalPinOpti... method ensureDigitalPin (line 343) | func (a *Adaptor) ensureDigitalPin(idx int, o ...func(gobot.DigitalPin... method translateAnalogPin (line 367) | func (a *Adaptor) translateAnalogPin(pin string) (string, bool, uint16... method translateAndMuxPWMPin (line 376) | func (a *Adaptor) translateAndMuxPWMPin(id string) (string, int, error) { method newUnexportedDigitalPin (line 393) | func (a *Adaptor) newUnexportedDigitalPin(i int, o ...func(gobot.Digit... method newExportedDigitalPin (line 401) | func (a *Adaptor) newExportedDigitalPin( method changePinMode (line 411) | func (a *Adaptor) changePinMode(pin, mode string) error { method digitalWrite (line 421) | func (a *Adaptor) digitalWrite(pin string, val byte) error { function NewAdaptor (line 58) | func NewAdaptor(opts ...interface{}) *Adaptor { function pwmPinInitializer (line 360) | func pwmPinInitializer(_ string, pin gobot.PWMPinner) error { FILE: platforms/intel-iot/edison/edison_adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 216) | func initConnectedTestAdaptorWithMockedFilesystem() (*Adaptor, *system.M... function initTestAdaptorWithMockedFilesystem (line 224) | func initTestAdaptorWithMockedFilesystem(boardType string) (*Adaptor, *s... function TestNewAdaptor (line 231) | func TestNewAdaptor(t *testing.T) { function TestConnect (line 249) | func TestConnect(t *testing.T) { function TestArduinoSetupFail263 (line 256) | func TestArduinoSetupFail263(t *testing.T) { function TestArduinoSetupFail240 (line 264) | func TestArduinoSetupFail240(t *testing.T) { function TestArduinoSetupFail111 (line 272) | func TestArduinoSetupFail111(t *testing.T) { function TestArduinoSetupFail131 (line 280) | func TestArduinoSetupFail131(t *testing.T) { function TestArduinoI2CSetupFailTristate (line 288) | func TestArduinoI2CSetupFailTristate(t *testing.T) { function TestArduinoI2CSetupFail14 (line 297) | func TestArduinoI2CSetupFail14(t *testing.T) { function TestArduinoI2CSetupUnexportFail (line 307) | func TestArduinoI2CSetupUnexportFail(t *testing.T) { function TestArduinoI2CSetupFail236 (line 317) | func TestArduinoI2CSetupFail236(t *testing.T) { function TestArduinoI2CSetupFail28 (line 327) | func TestArduinoI2CSetupFail28(t *testing.T) { function TestConnectArduinoError (line 337) | func TestConnectArduinoError(t *testing.T) { function TestConnectArduinoWriteError (line 345) | func TestConnectArduinoWriteError(t *testing.T) { function TestConnectSparkfun (line 353) | func TestConnectSparkfun(t *testing.T) { function TestConnectMiniboard (line 361) | func TestConnectMiniboard(t *testing.T) { function TestConnectUnknown (line 369) | func TestConnectUnknown(t *testing.T) { function TestFinalize (line 376) | func TestFinalize(t *testing.T) { function TestFinalizeError (line 397) | func TestFinalizeError(t *testing.T) { function TestDigitalIO (line 410) | func TestDigitalIO(t *testing.T) { function TestDigitalPinInFileError (line 422) | func TestDigitalPinInFileError(t *testing.T) { function TestDigitalPinInResistorFileError (line 433) | func TestDigitalPinInResistorFileError(t *testing.T) { function TestDigitalPinInLevelShifterFileError (line 444) | func TestDigitalPinInLevelShifterFileError(t *testing.T) { function TestDigitalPinInMuxFileError (line 455) | func TestDigitalPinInMuxFileError(t *testing.T) { function TestDigitalWriteError (line 466) | func TestDigitalWriteError(t *testing.T) { function TestDigitalReadWriteError (line 474) | func TestDigitalReadWriteError(t *testing.T) { function TestPwm (line 482) | func TestPwm(t *testing.T) { function TestPwmExportError (line 493) | func TestPwmExportError(t *testing.T) { function TestPwmEnableError (line 504) | func TestPwmEnableError(t *testing.T) { function TestPwmWritePinError (line 514) | func TestPwmWritePinError(t *testing.T) { function TestPwmWriteError (line 522) | func TestPwmWriteError(t *testing.T) { function TestPwmReadError (line 530) | func TestPwmReadError(t *testing.T) { function TestAnalog (line 538) | func TestAnalog(t *testing.T) { function TestAnalogError (line 547) | func TestAnalogError(t *testing.T) { function TestI2cWorkflow (line 555) | func TestI2cWorkflow(t *testing.T) { function TestI2cFinalizeWithErrors (line 573) | func TestI2cFinalizeWithErrors(t *testing.T) { function Test_validateAndSetupI2cBusNumber (line 591) | func Test_validateAndSetupI2cBusNumber(t *testing.T) { FILE: platforms/intel-iot/joule/joule_adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 0 constant defaultSpiMaxSpeed (line 17) | defaultSpiMaxSpeed = 5000 type sysfsPin (line 20) | type sysfsPin struct type Adaptor (line 26) | type Adaptor struct method Name (line 93) | func (a *Adaptor) Name() string { return a.name } method SetName (line 96) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 99) | func (a *Adaptor) Connect() error { method Finalize (line 114) | func (a *Adaptor) Finalize() error { method translateDigitalPin (line 131) | func (a *Adaptor) translateDigitalPin(id string) (string, int, error) { method translatePWMPin (line 138) | func (a *Adaptor) translatePWMPin(id string) (string, int, error) { function NewAdaptor (line 50) | func NewAdaptor(opts ...interface{}) *Adaptor { function pwmPinInitializer (line 149) | func pwmPinInitializer(_ string, pin gobot.PWMPinner) error { FILE: platforms/intel-iot/joule/joule_adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 28) | func initConnectedTestAdaptorWithMockedFilesystem() (*Adaptor, *system.M... function TestNewAdaptor (line 102) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 119) | func TestNewAdaptorWithOption(t *testing.T) { function TestFinalize (line 133) | func TestFinalize(t *testing.T) { function TestDigitalIO (line 148) | func TestDigitalIO(t *testing.T) { function TestPwm (line 164) | func TestPwm(t *testing.T) { function TestPwmPinExportError (line 178) | func TestPwmPinExportError(t *testing.T) { function TestPwmPinEnableError (line 186) | func TestPwmPinEnableError(t *testing.T) { function TestI2cDefaultBus (line 194) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 199) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/jetson/adaptor.go constant pwmPeriodDefault (line 15) | pwmPeriodDefault = 3000000 constant pwmPeriodMinimum (line 16) | pwmPeriodMinimum = 5334 constant pwmDutyRateMinimum (line 17) | pwmDutyRateMinimum = 0.0005 constant defaultI2cBusNumber (line 19) | defaultI2cBusNumber = 1 constant defaultSpiBusNumber (line 21) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 22) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 23) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 24) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 25) | defaultSpiMaxSpeed = 10000000 type Adaptor (line 29) | type Adaptor struct method Name (line 99) | func (a *Adaptor) Name() string { method SetName (line 107) | func (a *Adaptor) SetName(n string) { method Connect (line 115) | func (a *Adaptor) Connect() error { method Finalize (line 135) | func (a *Adaptor) Finalize() error { method translateDigitalPin (line 155) | func (a *Adaptor) translateDigitalPin(id string) (string, int, error) { method translatePWMPin (line 162) | func (a *Adaptor) translatePWMPin(id string) (string, int, error) { function NewAdaptor (line 53) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/jetson/adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 31) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function TestNewAdaptor (line 40) | func TestNewAdaptor(t *testing.T) { function TestFinalize (line 58) | func TestFinalize(t *testing.T) { function TestPWMPinsConnect (line 75) | func TestPWMPinsConnect(t *testing.T) { function TestPWMPinsReConnect (line 85) | func TestPWMPinsReConnect(t *testing.T) { function TestDigitalIO (line 104) | func TestDigitalIO(t *testing.T) { function TestDigitalPinConcurrency (line 129) | func TestDigitalPinConcurrency(t *testing.T) { function TestSpiDefaultValues (line 152) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 161) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 166) | func TestI2cFinalizeWithErrors(t *testing.T) { function Test_translatePWMPin (line 183) | func Test_translatePWMPin(t *testing.T) { FILE: platforms/joystick/bin/scanner.go function printAt (line 26) | func printAt(x, y int, s string) { function readJoystick (line 33) | func readJoystick(js joystick.Joystick) { function main (line 56) | func main() { FILE: platforms/joystick/events.go constant LeftX (line 5) | LeftX = "left_x" constant LeftY (line 7) | LeftY = "left_y" constant RightX (line 9) | RightX = "right_x" constant RightY (line 11) | RightY = "right_y" constant L1 (line 13) | L1 = "l1" constant L1Press (line 15) | L1Press = "l1_press" constant L1Release (line 17) | L1Release = "l1_release" constant L2 (line 19) | L2 = "l2" constant L2Press (line 21) | L2Press = "l2_press" constant L2Release (line 23) | L2Release = "l2_release" constant L3Press (line 25) | L3Press = "l3_press" constant L3Release (line 27) | L3Release = "l3_release" constant R1 (line 29) | R1 = "r1" constant R1Press (line 31) | R1Press = "r1_press" constant R1Release (line 33) | R1Release = "r1_release" constant R2 (line 35) | R2 = "r2" constant R2Press (line 37) | R2Press = "r2_press" constant R2Release (line 39) | R2Release = "r2_release" constant R3Press (line 41) | R3Press = "r3_press" constant R3Release (line 43) | R3Release = "r3_release" constant UpPress (line 45) | UpPress = "up_press" constant UpRelease (line 47) | UpRelease = "up_release" constant DownPress (line 49) | DownPress = "down_press" constant DownRelease (line 51) | DownRelease = "down_release" constant LeftPress (line 53) | LeftPress = "left_press" constant LeftRelease (line 55) | LeftRelease = "left_release" constant RightPress (line 57) | RightPress = "right_press" constant RightRelease (line 59) | RightRelease = "right_release" constant SquarePress (line 61) | SquarePress = "square_press" constant SquareRelease (line 63) | SquareRelease = "square_release" constant CirclePress (line 65) | CirclePress = "circle_press" constant CircleRelease (line 67) | CircleRelease = "circle_release" constant TrianglePress (line 69) | TrianglePress = "triangle_press" constant TriangleRelease (line 71) | TriangleRelease = "triangle_release" constant XPress (line 73) | XPress = "x_press" constant XRelease (line 75) | XRelease = "x_release" constant SharePress (line 77) | SharePress = "share_press" constant ShareRelease (line 79) | ShareRelease = "share_release" constant CreatePress (line 81) | CreatePress = "create_press" constant CreateRelease (line 83) | CreateRelease = "create_release" constant PSPress (line 85) | PSPress = "ps_press" constant PSRelease (line 87) | PSRelease = "ps_release" constant TrackpadPress (line 89) | TrackpadPress = "trackpad_press" constant TrackpadRelease (line 91) | TrackpadRelease = "trackpad_release" constant OptionsPress (line 93) | OptionsPress = "options_press" constant OptionsRelease (line 95) | OptionsRelease = "options_release" constant HomePress (line 97) | HomePress = "home_press" constant HomeRelease (line 99) | HomeRelease = "home_release" constant StartPress (line 101) | StartPress = "start_press" constant StartRelease (line 103) | StartRelease = "start_release" constant SelectPress (line 105) | SelectPress = "select_press" constant SelectRelease (line 107) | SelectRelease = "select_release" constant RTPress (line 109) | RTPress = "rt_press" constant RTRelease (line 111) | RTRelease = "rt_release" constant LTPress (line 113) | LTPress = "lt_press" constant LTRelease (line 115) | LTRelease = "lt_release" constant YPress (line 117) | YPress = "y_press" constant YRelease (line 119) | YRelease = "y_release" constant APress (line 121) | APress = "a_press" constant ARelease (line 123) | ARelease = "a_release" constant BPress (line 125) | BPress = "b_press" constant BRelease (line 127) | BRelease = "b_release" constant RBPress (line 129) | RBPress = "rb_press" constant RBRelease (line 131) | RBRelease = "rb_release" constant LBPress (line 133) | LBPress = "lb_press" constant LBRelease (line 135) | LBRelease = "lb_release" constant BackPress (line 137) | BackPress = "back_press" constant BackRelease (line 139) | BackRelease = "back_release" constant RedPress (line 141) | RedPress = "red_press" constant RedRelease (line 143) | RedRelease = "red_release" constant YellowPress (line 145) | YellowPress = "yellow_press" constant YellowRelease (line 147) | YellowRelease = "yellow_release" constant BluePress (line 149) | BluePress = "blue_press" constant BlueRelease (line 151) | BlueRelease = "blue_release" constant GreenPress (line 153) | GreenPress = "green_press" constant GreenRelease (line 155) | GreenRelease = "green_release" constant PedalPress (line 157) | PedalPress = "pedal_press" constant PedalRelease (line 159) | PedalRelease = "pedal_release" FILE: platforms/joystick/joystick_adaptor.go type Adaptor (line 13) | type Adaptor struct method Name (line 44) | func (j *Adaptor) Name() string { return j.name } method SetName (line 47) | func (j *Adaptor) SetName(n string) { j.name = n } method Connect (line 50) | func (j *Adaptor) Connect() error { method Finalize (line 55) | func (j *Adaptor) Finalize() error { function NewAdaptor (line 22) | func NewAdaptor(id string) *Adaptor { FILE: platforms/joystick/joystick_adaptor_test.go function initTestAdaptor (line 15) | func initTestAdaptor() *Adaptor { function TestJoystickAdaptorName (line 24) | func TestJoystickAdaptorName(t *testing.T) { function TestAdaptorConnect (line 31) | func TestAdaptorConnect(t *testing.T) { function TestAdaptorFinalize (line 40) | func TestAdaptorFinalize(t *testing.T) { FILE: platforms/joystick/joystick_driver.go constant Dualshock3 (line 16) | Dualshock3 = "dualshock3" constant Dualshock4 (line 19) | Dualshock4 = "dualshock4" constant Dualsense (line 22) | Dualsense = "dualsense" constant TFlightHotasX (line 25) | TFlightHotasX = "tflightHotasX" constant Xbox360 (line 28) | Xbox360 = "xbox360" constant Xbox360RockBandDrums (line 31) | Xbox360RockBandDrums = "xbox360RockBandDrums" constant XboxOne (line 34) | XboxOne = "xboxOne" constant Shield (line 37) | Shield = "shield" constant NintendoSwitchPair (line 40) | NintendoSwitchPair = "joyconPair" type Driver (line 44) | type Driver struct method Name (line 101) | func (j *Driver) Name() string { return j.name } method SetName (line 104) | func (j *Driver) SetName(n string) { j.name = n } method Connection (line 107) | func (j *Driver) Connection() gobot.Connection { return j.connection } method adaptor (line 110) | func (j *Driver) adaptor() *Adaptor { method Start (line 125) | func (j *Driver) Start() error { method initConfig (line 161) | func (j *Driver) initConfig() error { method initEvents (line 191) | func (j *Driver) initEvents() { method Halt (line 202) | func (j *Driver) Halt() error { method handleButtons (line 207) | func (j *Driver) handleButtons(state js.State) error { method handleAxes (line 230) | func (j *Driver) handleAxes(state js.State) error { method findName (line 248) | func (j *Driver) findName(id uint8, list []pair) string { method findID (line 258) | func (j *Driver) findID(name string, list []pair) int { method loadFile (line 268) | func (j *Driver) loadFile() error { type pair (line 59) | type pair struct type joystickConfig (line 65) | type joystickConfig struct function NewDriver (line 79) | func NewDriver(a *Adaptor, config string, v ...time.Duration) *Driver { FILE: platforms/joystick/joystick_driver_test.go function initTestDriver (line 18) | func initTestDriver(config string) (*Driver, *testJoystick) { function TestJoystickDriverName (line 30) | func TestJoystickDriverName(t *testing.T) { function TestDriverStart (line 37) | func TestDriverStart(t *testing.T) { function TestDriverHalt (line 44) | func TestDriverHalt(t *testing.T) { function TestDriverHandleEventDS3 (line 52) | func TestDriverHandleEventDS3(t *testing.T) { function TestDriverHandleEventJSONDS3 (line 106) | func TestDriverHandleEventJSONDS3(t *testing.T) { function TestDriverHandleEventDS4 (line 160) | func TestDriverHandleEventDS4(t *testing.T) { function TestDriverInvalidConfig (line 214) | func TestDriverInvalidConfig(t *testing.T) { FILE: platforms/joystick/test_helper.go type testJoystick (line 5) | type testJoystick struct method Close (line 10) | func (t *testJoystick) Close() {} method ID (line 11) | func (t *testJoystick) ID() int { return 0 } method ButtonCount (line 12) | func (t *testJoystick) ButtonCount() int { return t.buttonCount } method AxisCount (line 13) | func (t *testJoystick) AxisCount() int { return t.axisCount } method Name (line 14) | func (t *testJoystick) Name() string { return "test-joy" } method Read (line 15) | func (t *testJoystick) Read() (js.State, error) { return js.State{}, n... FILE: platforms/keyboard/keyboard.go type bytes (line 9) | type bytes type KeyEvent (line 12) | type KeyEvent struct constant Tilde (line 19) | Tilde = iota + 96 constant A (line 20) | A constant B (line 21) | B constant C (line 22) | C constant D (line 23) | D constant E (line 24) | E constant F (line 25) | F constant G (line 26) | G constant H (line 27) | H constant I (line 28) | I constant J (line 29) | J constant K (line 30) | K constant L (line 31) | L constant M (line 32) | M constant N (line 33) | N constant O (line 34) | O constant P (line 35) | P constant Q (line 36) | Q constant R (line 37) | R constant S (line 38) | S constant T (line 39) | T constant U (line 40) | U constant V (line 41) | V constant W (line 42) | W constant X (line 43) | X constant Y (line 44) | Y constant Z (line 45) | Z constant Escape (line 49) | Escape = 27 constant Spacebar (line 50) | Spacebar = 32 constant Hyphen (line 51) | Hyphen = 45 constant Asterisk (line 52) | Asterisk = 42 constant Plus (line 53) | Plus = 43 constant Slash (line 54) | Slash = 47 constant Dot (line 55) | Dot = 46 constant Zero (line 59) | Zero = iota + 48 constant One (line 60) | One constant Two (line 61) | Two constant Three (line 62) | Three constant Four (line 63) | Four constant Five (line 64) | Five constant Six (line 65) | Six constant Seven (line 66) | Seven constant Eight (line 67) | Eight constant Nine (line 68) | Nine constant ArrowUp (line 72) | ArrowUp = iota + 65 constant ArrowDown (line 73) | ArrowDown constant ArrowRight (line 74) | ArrowRight constant ArrowLeft (line 75) | ArrowLeft function Parse (line 81) | func Parse(input bytes) KeyEvent { function configure (line 152) | func configure() error { function restore (line 168) | func restore() error { function stty (line 178) | func stty(args ...string) (string, error) { FILE: platforms/keyboard/keyboard_driver.go constant Key (line 12) | Key = "key" type Driver (line 16) | type Driver struct method Name (line 71) | func (k *Driver) Name() string { return k.name } method SetName (line 74) | func (k *Driver) SetName(n string) { k.name = n } method Connection (line 77) | func (k *Driver) Connection() gobot.Connection { return nil } method Start (line 81) | func (k *Driver) Start() error { method Halt (line 92) | func (k *Driver) Halt() error { function NewDriver (line 26) | func NewDriver() *Driver { FILE: platforms/keyboard/keyboard_driver_test.go function initTestKeyboardDriver (line 16) | func initTestKeyboardDriver() *Driver { function TestKeyboardDriver (line 26) | func TestKeyboardDriver(t *testing.T) { function TestKeyboardDriverName (line 31) | func TestKeyboardDriverName(t *testing.T) { function TestKeyboardDriverStart (line 38) | func TestKeyboardDriverStart(t *testing.T) { function TestKeyboardDriverHalt (line 43) | func TestKeyboardDriverHalt(t *testing.T) { FILE: platforms/keyboard/keyboard_test.go function TestParseSpace (line 9) | func TestParseSpace(t *testing.T) { function TestParseEscape (line 13) | func TestParseEscape(t *testing.T) { function TestParseHyphen (line 17) | func TestParseHyphen(t *testing.T) { function TestParseAsterisk (line 21) | func TestParseAsterisk(t *testing.T) { function TestParsePlus (line 25) | func TestParsePlus(t *testing.T) { function TestParseSlash (line 29) | func TestParseSlash(t *testing.T) { function TestParseDot (line 33) | func TestParseDot(t *testing.T) { function TestParseNotEscape (line 37) | func TestParseNotEscape(t *testing.T) { function TestParseNumberKeys (line 41) | func TestParseNumberKeys(t *testing.T) { function TestParseAlphaKeys (line 47) | func TestParseAlphaKeys(t *testing.T) { function TestParseNotAlphaKeys (line 53) | func TestParseNotAlphaKeys(t *testing.T) { function TestParseArrowKeys (line 57) | func TestParseArrowKeys(t *testing.T) { function TestParseNotArrowKeys (line 64) | func TestParseNotArrowKeys(t *testing.T) { FILE: platforms/leap/leap_motion_adaptor.go type Adaptor (line 12) | type Adaptor struct method Name (line 32) | func (l *Adaptor) Name() string { return l.name } method SetName (line 35) | func (l *Adaptor) SetName(n string) { l.name = n } method Port (line 38) | func (l *Adaptor) Port() string { return l.port } method Connect (line 41) | func (l *Adaptor) Connect() error { method Finalize (line 52) | func (l *Adaptor) Finalize() error { return nil } function NewAdaptor (line 21) | func NewAdaptor(port string) *Adaptor { FILE: platforms/leap/leap_motion_adaptor_test.go function initTestLeapMotionAdaptor (line 17) | func initTestLeapMotionAdaptor() *Adaptor { function TestLeapMotionAdaptor (line 23) | func TestLeapMotionAdaptor(t *testing.T) { function TestLeapMotionAdaptorName (line 28) | func TestLeapMotionAdaptorName(t *testing.T) { function TestLeapMotionAdaptorConnect (line 35) | func TestLeapMotionAdaptorConnect(t *testing.T) { function TestLeapMotionAdaptorFinalize (line 45) | func TestLeapMotionAdaptorFinalize(t *testing.T) { FILE: platforms/leap/leap_motion_driver.go constant MessageEvent (line 15) | MessageEvent = "message" constant HandEvent (line 17) | HandEvent = "hand" constant GestureEvent (line 19) | GestureEvent = "gesture" type Driver (line 23) | type Driver struct method Name (line 58) | func (l *Driver) Name() string { return l.name } method SetName (line 61) | func (l *Driver) SetName(n string) { l.name = n } method Connection (line 64) | func (l *Driver) Connection() gobot.Connection { return l.connection } method adaptor (line 67) | func (l *Driver) adaptor() *Adaptor { method Start (line 93) | func (l *Driver) Start() error { method Halt (line 129) | func (l *Driver) Halt() error { return nil } function NewDriver (line 38) | func NewDriver(a *Adaptor) *Driver { function enableFeature (line 72) | func enableFeature(l *Driver, feature string) error { FILE: platforms/leap/leap_motion_driver_test.go type NullReadWriteCloser (line 19) | type NullReadWriteCloser struct method WriteError (line 24) | func (n *NullReadWriteCloser) WriteError(e error) { method Write (line 30) | func (n *NullReadWriteCloser) Write(p []byte) (int, error) { method Read (line 36) | func (n *NullReadWriteCloser) Read(b []byte) (int, error) { method Close (line 40) | func (n *NullReadWriteCloser) Close() error { function initTestLeapMotionDriver (line 44) | func initTestLeapMotionDriver() (*Driver, *NullReadWriteCloser) { function TestLeapMotionDriver (line 60) | func TestLeapMotionDriver(t *testing.T) { function TestLeapMotionDriverName (line 65) | func TestLeapMotionDriverName(t *testing.T) { function TestLeapMotionDriverStart (line 72) | func TestLeapMotionDriverStart(t *testing.T) { function TestLeapMotionDriverHalt (line 82) | func TestLeapMotionDriverHalt(t *testing.T) { function TestLeapMotionDriverParser (line 87) | func TestLeapMotionDriverParser(t *testing.T) { FILE: platforms/leap/parser.go type Gesture (line 8) | type Gesture struct type Hand (line 26) | type Hand struct method X (line 94) | func (h *Hand) X() float64 { method Y (line 99) | func (h *Hand) Y() float64 { method Z (line 104) | func (h *Hand) Z() float64 { type Pointable (line 50) | type Pointable struct type InteractionBox (line 74) | type InteractionBox struct type Frame (line 80) | type Frame struct method ParseFrame (line 109) | func (l *Driver) ParseFrame(data []byte) (Frame, error) { FILE: platforms/mavlink/common/common.go function NewMAVLinkMessage (line 133) | func NewMAVLinkMessage(msgid uint8, data []byte) (MAVLinkMessage, error) { constant MAV_AUTOPILOT_GENERIC (line 147) | MAV_AUTOPILOT_GENERIC = 0 constant MAV_AUTOPILOT_PIXHAWK (line 148) | MAV_AUTOPILOT_PIXHAWK = 1 constant MAV_AUTOPILOT_SLUGS (line 149) | MAV_AUTOPILOT_SLUGS = 2 constant MAV_AUTOPILOT_ARDUPILOTMEGA (line 150) | MAV_AUTOPILOT_ARDUPILOTMEGA = 3 constant MAV_AUTOPILOT_OPENPILOT (line 151) | MAV_AUTOPILOT_OPENPILOT = 4 constant MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY (line 152) | MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY = 5 constant MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY (line 153) | MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY = 6 constant MAV_AUTOPILOT_GENERIC_MISSION_FULL (line 154) | MAV_AUTOPILOT_GENERIC_MISSION_FULL = 7 constant MAV_AUTOPILOT_INVALID (line 155) | MAV_AUTOPILOT_INVALID = 8 constant MAV_AUTOPILOT_PPZ (line 156) | MAV_AUTOPILOT_PPZ = 9 constant MAV_AUTOPILOT_UDB (line 157) | MAV_AUTOPILOT_UDB = 10 constant MAV_AUTOPILOT_FP (line 158) | MAV_AUTOPILOT_FP = 11 constant MAV_AUTOPILOT_PX4 (line 159) | MAV_AUTOPILOT_PX4 = 12 constant MAV_AUTOPILOT_SMACCMPILOT (line 160) | MAV_AUTOPILOT_SMACCMPILOT = 13 constant MAV_AUTOPILOT_AUTOQUAD (line 161) | MAV_AUTOPILOT_AUTOQUAD = 14 constant MAV_AUTOPILOT_ARMAZILA (line 162) | MAV_AUTOPILOT_ARMAZILA = 15 constant MAV_AUTOPILOT_AEROB (line 163) | MAV_AUTOPILOT_AEROB = 16 constant MAV_AUTOPILOT_ENUM_END (line 164) | MAV_AUTOPILOT_ENUM_END = 17 constant MAV_TYPE_GENERIC (line 172) | MAV_TYPE_GENERIC = 0 constant MAV_TYPE_FIXED_WING (line 173) | MAV_TYPE_FIXED_WING = 1 constant MAV_TYPE_QUADROTOR (line 174) | MAV_TYPE_QUADROTOR = 2 constant MAV_TYPE_COAXIAL (line 175) | MAV_TYPE_COAXIAL = 3 constant MAV_TYPE_HELICOPTER (line 176) | MAV_TYPE_HELICOPTER = 4 constant MAV_TYPE_ANTENNA_TRACKER (line 177) | MAV_TYPE_ANTENNA_TRACKER = 5 constant MAV_TYPE_GCS (line 178) | MAV_TYPE_GCS = 6 constant MAV_TYPE_AIRSHIP (line 179) | MAV_TYPE_AIRSHIP = 7 constant MAV_TYPE_FREE_BALLOON (line 180) | MAV_TYPE_FREE_BALLOON = 8 constant MAV_TYPE_ROCKET (line 181) | MAV_TYPE_ROCKET = 9 constant MAV_TYPE_GROUND_ROVER (line 182) | MAV_TYPE_GROUND_ROVER = 10 constant MAV_TYPE_SURFACE_BOAT (line 183) | MAV_TYPE_SURFACE_BOAT = 11 constant MAV_TYPE_SUBMARINE (line 184) | MAV_TYPE_SUBMARINE = 12 constant MAV_TYPE_HEXAROTOR (line 185) | MAV_TYPE_HEXAROTOR = 13 constant MAV_TYPE_OCTOROTOR (line 186) | MAV_TYPE_OCTOROTOR = 14 constant MAV_TYPE_TRICOPTER (line 187) | MAV_TYPE_TRICOPTER = 15 constant MAV_TYPE_FLAPPING_WING (line 188) | MAV_TYPE_FLAPPING_WING = 16 constant MAV_TYPE_KITE (line 189) | MAV_TYPE_KITE = 17 constant MAV_TYPE_ONBOARD_CONTROLLER (line 190) | MAV_TYPE_ONBOARD_CONTROLLER = 18 constant MAV_TYPE_ENUM_END (line 191) | MAV_TYPE_ENUM_END = 19 constant MAV_MODE_FLAG_CUSTOM_MODE_ENABLED (line 199) | MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1 constant MAV_MODE_FLAG_TEST_ENABLED (line 200) | MAV_MODE_FLAG_TEST_ENABLED = 2 constant MAV_MODE_FLAG_AUTO_ENABLED (line 201) | MAV_MODE_FLAG_AUTO_ENABLED = 4 constant MAV_MODE_FLAG_GUIDED_ENABLED (line 202) | MAV_MODE_FLAG_GUIDED_ENABLED = 8 constant MAV_MODE_FLAG_STABILIZE_ENABLED (line 203) | MAV_MODE_FLAG_STABILIZE_ENABLED = 16 constant MAV_MODE_FLAG_HIL_ENABLED (line 204) | MAV_MODE_FLAG_HIL_ENABLED = 32 constant MAV_MODE_FLAG_MANUAL_INPUT_ENABLED (line 205) | MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64 constant MAV_MODE_FLAG_SAFETY_ARMED (line 206) | MAV_MODE_FLAG_SAFETY_ARMED = 128 constant MAV_MODE_FLAG_ENUM_END (line 207) | MAV_MODE_FLAG_ENUM_END = 129 constant MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE (line 215) | MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE = 1 constant MAV_MODE_FLAG_DECODE_POSITION_TEST (line 216) | MAV_MODE_FLAG_DECODE_POSITION_TEST = 2 constant MAV_MODE_FLAG_DECODE_POSITION_AUTO (line 217) | MAV_MODE_FLAG_DECODE_POSITION_AUTO = 4 constant MAV_MODE_FLAG_DECODE_POSITION_GUIDED (line 218) | MAV_MODE_FLAG_DECODE_POSITION_GUIDED = 8 constant MAV_MODE_FLAG_DECODE_POSITION_STABILIZE (line 219) | MAV_MODE_FLAG_DECODE_POSITION_STABILIZE = 16 constant MAV_MODE_FLAG_DECODE_POSITION_HIL (line 220) | MAV_MODE_FLAG_DECODE_POSITION_HIL = 32 constant MAV_MODE_FLAG_DECODE_POSITION_MANUAL (line 221) | MAV_MODE_FLAG_DECODE_POSITION_MANUAL = 64 constant MAV_MODE_FLAG_DECODE_POSITION_SAFETY (line 222) | MAV_MODE_FLAG_DECODE_POSITION_SAFETY = 128 constant MAV_MODE_FLAG_DECODE_POSITION_ENUM_END (line 223) | MAV_MODE_FLAG_DECODE_POSITION_ENUM_END = 129 constant MAV_GOTO_DO_HOLD (line 231) | MAV_GOTO_DO_HOLD = 0 constant MAV_GOTO_DO_CONTINUE (line 232) | MAV_GOTO_DO_CONTINUE = 1 constant MAV_GOTO_HOLD_AT_CURRENT_POSITION (line 233) | MAV_GOTO_HOLD_AT_CURRENT_POSITION = 2 constant MAV_GOTO_HOLD_AT_SPECIFIED_POSITION (line 234) | MAV_GOTO_HOLD_AT_SPECIFIED_POSITION = 3 constant MAV_GOTO_ENUM_END (line 235) | MAV_GOTO_ENUM_END = 4 constant MAV_MODE_PREFLIGHT (line 244) | MAV_MODE_PREFLIGHT = 0 constant MAV_MODE_MANUAL_DISARMED (line 245) | MAV_MODE_MANUAL_DISARMED = 64 constant MAV_MODE_TEST_DISARMED (line 246) | MAV_MODE_TEST_DISARMED = 66 constant MAV_MODE_STABILIZE_DISARMED (line 247) | MAV_MODE_STABILIZE_DISARMED = 80 constant MAV_MODE_GUIDED_DISARMED (line 248) | MAV_MODE_GUIDED_DISARMED = 88 constant MAV_MODE_AUTO_DISARMED (line 249) | MAV_MODE_AUTO_DISARMED = 92 constant MAV_MODE_MANUAL_ARMED (line 250) | MAV_MODE_MANUAL_ARMED = 192 constant MAV_MODE_TEST_ARMED (line 251) | MAV_MODE_TEST_ARMED = 194 constant MAV_MODE_STABILIZE_ARMED (line 252) | MAV_MODE_STABILIZE_ARMED = 208 constant MAV_MODE_GUIDED_ARMED (line 253) | MAV_MODE_GUIDED_ARMED = 216 constant MAV_MODE_AUTO_ARMED (line 254) | MAV_MODE_AUTO_ARMED = 220 constant MAV_MODE_ENUM_END (line 255) | MAV_MODE_ENUM_END = 221 constant MAV_STATE_UNINIT (line 263) | MAV_STATE_UNINIT = 0 constant MAV_STATE_BOOT (line 264) | MAV_STATE_BOOT = 1 constant MAV_STATE_CALIBRATING (line 265) | MAV_STATE_CALIBRATING = 2 constant MAV_STATE_STANDBY (line 266) | MAV_STATE_STANDBY = 3 constant MAV_STATE_ACTIVE (line 267) | MAV_STATE_ACTIVE = 4 constant MAV_STATE_CRITICAL (line 268) | MAV_STATE_CRITICAL = 5 constant MAV_STATE_EMERGENCY (line 269) | MAV_STATE_EMERGENCY = 6 constant MAV_STATE_POWEROFF (line 270) | MAV_STATE_POWEROFF = 7 constant MAV_STATE_ENUM_END (line 271) | MAV_STATE_ENUM_END = 8 constant MAV_COMP_ID_ALL (line 279) | MAV_COMP_ID_ALL = 0 constant MAV_COMP_ID_CAMERA (line 280) | MAV_COMP_ID_CAMERA = 100 constant MAV_COMP_ID_SERVO1 (line 281) | MAV_COMP_ID_SERVO1 = 140 constant MAV_COMP_ID_SERVO2 (line 282) | MAV_COMP_ID_SERVO2 = 141 constant MAV_COMP_ID_SERVO3 (line 283) | MAV_COMP_ID_SERVO3 = 142 constant MAV_COMP_ID_SERVO4 (line 284) | MAV_COMP_ID_SERVO4 = 143 constant MAV_COMP_ID_SERVO5 (line 285) | MAV_COMP_ID_SERVO5 = 144 constant MAV_COMP_ID_SERVO6 (line 286) | MAV_COMP_ID_SERVO6 = 145 constant MAV_COMP_ID_SERVO7 (line 287) | MAV_COMP_ID_SERVO7 = 146 constant MAV_COMP_ID_SERVO8 (line 288) | MAV_COMP_ID_SERVO8 = 147 constant MAV_COMP_ID_SERVO9 (line 289) | MAV_COMP_ID_SERVO9 = 148 constant MAV_COMP_ID_SERVO10 (line 290) | MAV_COMP_ID_SERVO10 = 149 constant MAV_COMP_ID_SERVO11 (line 291) | MAV_COMP_ID_SERVO11 = 150 constant MAV_COMP_ID_SERVO12 (line 292) | MAV_COMP_ID_SERVO12 = 151 constant MAV_COMP_ID_SERVO13 (line 293) | MAV_COMP_ID_SERVO13 = 152 constant MAV_COMP_ID_SERVO14 (line 294) | MAV_COMP_ID_SERVO14 = 153 constant MAV_COMP_ID_MAPPER (line 295) | MAV_COMP_ID_MAPPER = 180 constant MAV_COMP_ID_MISSIONPLANNER (line 296) | MAV_COMP_ID_MISSIONPLANNER = 190 constant MAV_COMP_ID_PATHPLANNER (line 297) | MAV_COMP_ID_PATHPLANNER = 195 constant MAV_COMP_ID_IMU (line 298) | MAV_COMP_ID_IMU = 200 constant MAV_COMP_ID_IMU_2 (line 299) | MAV_COMP_ID_IMU_2 = 201 constant MAV_COMP_ID_IMU_3 (line 300) | MAV_COMP_ID_IMU_3 = 202 constant MAV_COMP_ID_GPS (line 301) | MAV_COMP_ID_GPS = 220 constant MAV_COMP_ID_UDP_BRIDGE (line 302) | MAV_COMP_ID_UDP_BRIDGE = 240 constant MAV_COMP_ID_UART_BRIDGE (line 303) | MAV_COMP_ID_UART_BRIDGE = 241 constant MAV_COMP_ID_SYSTEM_CONTROL (line 304) | MAV_COMP_ID_SYSTEM_CONTROL = 250 constant MAV_COMPONENT_ENUM_END (line 305) | MAV_COMPONENT_ENUM_END = 251 constant MAV_SYS_STATUS_SENSOR_3D_GYRO (line 313) | MAV_SYS_STATUS_SENSOR_3D_GYRO = 1 constant MAV_SYS_STATUS_SENSOR_3D_ACCEL (line 314) | MAV_SYS_STATUS_SENSOR_3D_ACCEL = 2 constant MAV_SYS_STATUS_SENSOR_3D_MAG (line 315) | MAV_SYS_STATUS_SENSOR_3D_MAG = 4 constant MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE (line 316) | MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE = 8 constant MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE (line 317) | MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE = 16 constant MAV_SYS_STATUS_SENSOR_GPS (line 318) | MAV_SYS_STATUS_SENSOR_GPS = 32 constant MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW (line 319) | MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW = 64 constant MAV_SYS_STATUS_SENSOR_VISION_POSITION (line 320) | MAV_SYS_STATUS_SENSOR_VISION_POSITION = 128 constant MAV_SYS_STATUS_SENSOR_LASER_POSITION (line 321) | MAV_SYS_STATUS_SENSOR_LASER_POSITION = 256 constant MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH (line 322) | MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH = 512 constant MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL (line 323) | MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL = 1024 constant MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION (line 324) | MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION = 2048 constant MAV_SYS_STATUS_SENSOR_YAW_POSITION (line 325) | MAV_SYS_STATUS_SENSOR_YAW_POSITION = 4096 constant MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL (line 326) | MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL = 8192 constant MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL (line 327) | MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL = 16384 constant MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS (line 328) | MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS = 32768 constant MAV_SYS_STATUS_SENSOR_RC_RECEIVER (line 329) | MAV_SYS_STATUS_SENSOR_RC_RECEIVER = 65536 constant MAV_SYS_STATUS_SENSOR_3D_GYRO2 (line 330) | MAV_SYS_STATUS_SENSOR_3D_GYRO2 = 131072 constant MAV_SYS_STATUS_SENSOR_3D_ACCEL2 (line 331) | MAV_SYS_STATUS_SENSOR_3D_ACCEL2 = 262144 constant MAV_SYS_STATUS_SENSOR_3D_MAG2 (line 332) | MAV_SYS_STATUS_SENSOR_3D_MAG2 = 524288 constant MAV_SYS_STATUS_GEOFENCE (line 333) | MAV_SYS_STATUS_GEOFENCE = 1048576 constant MAV_SYS_STATUS_AHRS (line 334) | MAV_SYS_STATUS_AHRS = 2097152 constant MAV_SYS_STATUS_TERRAIN (line 335) | MAV_SYS_STATUS_TERRAIN = 4194304 constant MAV_SYS_STATUS_SENSOR_ENUM_END (line 336) | MAV_SYS_STATUS_SENSOR_ENUM_END = 4194305 constant MAV_FRAME_GLOBAL (line 344) | MAV_FRAME_GLOBAL = 0 constant MAV_FRAME_LOCAL_NED (line 345) | MAV_FRAME_LOCAL_NED = 1 constant MAV_FRAME_MISSION (line 346) | MAV_FRAME_MISSION = 2 constant MAV_FRAME_GLOBAL_RELATIVE_ALT (line 347) | MAV_FRAME_GLOBAL_RELATIVE_ALT = 3 constant MAV_FRAME_LOCAL_ENU (line 348) | MAV_FRAME_LOCAL_ENU = 4 constant MAV_FRAME_GLOBAL_INT (line 349) | MAV_FRAME_GLOBAL_INT = 5 constant MAV_FRAME_GLOBAL_RELATIVE_ALT_INT (line 350) | MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6 constant MAV_FRAME_LOCAL_OFFSET_NED (line 351) | MAV_FRAME_LOCAL_OFFSET_NED = 7 constant MAV_FRAME_BODY_NED (line 352) | MAV_FRAME_BODY_NED = 8 constant MAV_FRAME_BODY_OFFSET_NED (line 353) | MAV_FRAME_BODY_OFFSET_NED = 9 constant MAV_FRAME_GLOBAL_TERRAIN_ALT (line 354) | MAV_FRAME_GLOBAL_TERRAIN_ALT = 10 constant MAV_FRAME_ENUM_END (line 355) | MAV_FRAME_ENUM_END = 11 constant MAVLINK_DATA_STREAM_IMG_JPEG (line 363) | MAVLINK_DATA_STREAM_IMG_JPEG = 1 constant MAVLINK_DATA_STREAM_IMG_BMP (line 364) | MAVLINK_DATA_STREAM_IMG_BMP = 2 constant MAVLINK_DATA_STREAM_IMG_RAW8U (line 365) | MAVLINK_DATA_STREAM_IMG_RAW8U = 3 constant MAVLINK_DATA_STREAM_IMG_RAW32U (line 366) | MAVLINK_DATA_STREAM_IMG_RAW32U = 4 constant MAVLINK_DATA_STREAM_IMG_PGM (line 367) | MAVLINK_DATA_STREAM_IMG_PGM = 5 constant MAVLINK_DATA_STREAM_IMG_PNG (line 368) | MAVLINK_DATA_STREAM_IMG_PNG = 6 constant MAVLINK_DATA_STREAM_TYPE_ENUM_END (line 369) | MAVLINK_DATA_STREAM_TYPE_ENUM_END = 7 constant FENCE_ACTION_NONE (line 377) | FENCE_ACTION_NONE = 0 constant FENCE_ACTION_GUIDED (line 378) | FENCE_ACTION_GUIDED = 1 constant FENCE_ACTION_REPORT (line 379) | FENCE_ACTION_REPORT = 2 constant FENCE_ACTION_GUIDED_THR_PASS (line 380) | FENCE_ACTION_GUIDED_THR_PASS = 3 constant FENCE_ACTION_ENUM_END (line 381) | FENCE_ACTION_ENUM_END = 4 constant FENCE_BREACH_NONE (line 389) | FENCE_BREACH_NONE = 0 constant FENCE_BREACH_MINALT (line 390) | FENCE_BREACH_MINALT = 1 constant FENCE_BREACH_MAXALT (line 391) | FENCE_BREACH_MAXALT = 2 constant FENCE_BREACH_BOUNDARY (line 392) | FENCE_BREACH_BOUNDARY = 3 constant FENCE_BREACH_ENUM_END (line 393) | FENCE_BREACH_ENUM_END = 4 constant MAV_MOUNT_MODE_RETRACT (line 401) | MAV_MOUNT_MODE_RETRACT = 0 constant MAV_MOUNT_MODE_NEUTRAL (line 402) | MAV_MOUNT_MODE_NEUTRAL = 1 constant MAV_MOUNT_MODE_MAVLINK_TARGETING (line 403) | MAV_MOUNT_MODE_MAVLINK_TARGETING = 2 constant MAV_MOUNT_MODE_RC_TARGETING (line 404) | MAV_MOUNT_MODE_RC_TARGETING = 3 constant MAV_MOUNT_MODE_GPS_POINT (line 405) | MAV_MOUNT_MODE_GPS_POINT = 4 constant MAV_MOUNT_MODE_ENUM_END (line 406) | MAV_MOUNT_MODE_ENUM_END = 5 constant MAV_CMD_NAV_WAYPOINT (line 414) | MAV_CMD_NAV_WAYPOINT = 16 constant MAV_CMD_NAV_LOITER_UNLIM (line 415) | MAV_CMD_NAV_LOITER_UNLIM = 17 constant MAV_CMD_NAV_LOITER_TURNS (line 416) | MAV_CMD_NAV_LOITER_TURNS = 18 constant MAV_CMD_NAV_LOITER_TIME (line 417) | MAV_CMD_NAV_LOITER_TIME = 19 constant MAV_CMD_NAV_RETURN_TO_LAUNCH (line 418) | MAV_CMD_NAV_RETURN_TO_LAUNCH = 20 constant MAV_CMD_NAV_LAND (line 419) | MAV_CMD_NAV_LAND = 21 constant MAV_CMD_NAV_TAKEOFF (line 420) | MAV_CMD_NAV_TAKEOFF = 22 constant MAV_CMD_NAV_ROI (line 421) | MAV_CMD_NAV_ROI = 80 constant MAV_CMD_NAV_PATHPLANNING (line 422) | MAV_CMD_NAV_PATHPLANNING = 81 constant MAV_CMD_NAV_SPLINE_WAYPOINT (line 423) | MAV_CMD_NAV_SPLINE_WAYPOINT = 82 constant MAV_CMD_NAV_GUIDED_ENABLE (line 424) | MAV_CMD_NAV_GUIDED_ENABLE = 92 constant MAV_CMD_NAV_LAST (line 425) | MAV_CMD_NAV_LAST = 95 constant MAV_CMD_CONDITION_DELAY (line 426) | MAV_CMD_CONDITION_DELAY = 112 constant MAV_CMD_CONDITION_CHANGE_ALT (line 427) | MAV_CMD_CONDITION_CHANGE_ALT = 113 constant MAV_CMD_CONDITION_DISTANCE (line 428) | MAV_CMD_CONDITION_DISTANCE = 114 constant MAV_CMD_CONDITION_YAW (line 429) | MAV_CMD_CONDITION_YAW = 115 constant MAV_CMD_CONDITION_LAST (line 430) | MAV_CMD_CONDITION_LAST = 159 constant MAV_CMD_DO_SET_MODE (line 431) | MAV_CMD_DO_SET_MODE = 176 constant MAV_CMD_DO_JUMP (line 432) | MAV_CMD_DO_JUMP = 177 constant MAV_CMD_DO_CHANGE_SPEED (line 433) | MAV_CMD_DO_CHANGE_SPEED = 178 constant MAV_CMD_DO_SET_HOME (line 434) | MAV_CMD_DO_SET_HOME = 179 constant MAV_CMD_DO_SET_PARAMETER (line 435) | MAV_CMD_DO_SET_PARAMETER = 180 constant MAV_CMD_DO_SET_RELAY (line 436) | MAV_CMD_DO_SET_RELAY = 181 constant MAV_CMD_DO_REPEAT_RELAY (line 437) | MAV_CMD_DO_REPEAT_RELAY = 182 constant MAV_CMD_DO_SET_SERVO (line 438) | MAV_CMD_DO_SET_SERVO = 183 constant MAV_CMD_DO_REPEAT_SERVO (line 439) | MAV_CMD_DO_REPEAT_SERVO = 184 constant MAV_CMD_DO_FLIGHTTERMINATION (line 440) | MAV_CMD_DO_FLIGHTTERMINATION = 185 constant MAV_CMD_DO_RALLY_LAND (line 441) | MAV_CMD_DO_RALLY_LAND = 190 constant MAV_CMD_DO_GO_AROUND (line 442) | MAV_CMD_DO_GO_AROUND = 191 constant MAV_CMD_DO_CONTROL_VIDEO (line 443) | MAV_CMD_DO_CONTROL_VIDEO = 200 constant MAV_CMD_DO_SET_ROI (line 444) | MAV_CMD_DO_SET_ROI = 201 constant MAV_CMD_DO_DIGICAM_CONFIGURE (line 445) | MAV_CMD_DO_DIGICAM_CONFIGURE = 202 constant MAV_CMD_DO_DIGICAM_CONTROL (line 446) | MAV_CMD_DO_DIGICAM_CONTROL = 203 constant MAV_CMD_DO_MOUNT_CONFIGURE (line 447) | MAV_CMD_DO_MOUNT_CONFIGURE = 204 constant MAV_CMD_DO_MOUNT_CONTROL (line 448) | MAV_CMD_DO_MOUNT_CONTROL = 205 constant MAV_CMD_DO_SET_CAM_TRIGG_DIST (line 449) | MAV_CMD_DO_SET_CAM_TRIGG_DIST = 206 constant MAV_CMD_DO_FENCE_ENABLE (line 450) | MAV_CMD_DO_FENCE_ENABLE = 207 constant MAV_CMD_DO_PARACHUTE (line 451) | MAV_CMD_DO_PARACHUTE = 208 constant MAV_CMD_DO_INVERTED_FLIGHT (line 452) | MAV_CMD_DO_INVERTED_FLIGHT = 210 constant MAV_CMD_DO_MOUNT_CONTROL_QUAT (line 453) | MAV_CMD_DO_MOUNT_CONTROL_QUAT = 220 constant MAV_CMD_DO_GUIDED_CONTROLLER (line 454) | MAV_CMD_DO_GUIDED_CONTROLLER = 221 constant MAV_CMD_DO_GUIDED_LIMITS (line 455) | MAV_CMD_DO_GUIDED_LIMITS = 222 constant MAV_CMD_DO_LAST (line 456) | MAV_CMD_DO_LAST = 240 constant MAV_CMD_PREFLIGHT_CALIBRATION (line 457) | MAV_CMD_PREFLIGHT_CALIBRATION = 241 constant MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS (line 458) | MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS = 242 constant MAV_CMD_PREFLIGHT_STORAGE (line 459) | MAV_CMD_PREFLIGHT_STORAGE = 245 constant MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN (line 460) | MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246 constant MAV_CMD_OVERRIDE_GOTO (line 461) | MAV_CMD_OVERRIDE_GOTO = 252 constant MAV_CMD_MISSION_START (line 462) | MAV_CMD_MISSION_START = 300 constant MAV_CMD_COMPONENT_ARM_DISARM (line 463) | MAV_CMD_COMPONENT_ARM_DISARM = 400 constant MAV_CMD_START_RX_PAIR (line 464) | MAV_CMD_START_RX_PAIR = 500 constant MAV_CMD_ENUM_END (line 465) | MAV_CMD_ENUM_END = 501 constant MAV_DATA_STREAM_ALL (line 475) | MAV_DATA_STREAM_ALL = 0 constant MAV_DATA_STREAM_RAW_SENSORS (line 476) | MAV_DATA_STREAM_RAW_SENSORS = 1 constant MAV_DATA_STREAM_EXTENDED_STATUS (line 477) | MAV_DATA_STREAM_EXTENDED_STATUS = 2 constant MAV_DATA_STREAM_RC_CHANNELS (line 478) | MAV_DATA_STREAM_RC_CHANNELS = 3 constant MAV_DATA_STREAM_RAW_CONTROLLER (line 479) | MAV_DATA_STREAM_RAW_CONTROLLER = 4 constant MAV_DATA_STREAM_POSITION (line 480) | MAV_DATA_STREAM_POSITION = 6 constant MAV_DATA_STREAM_EXTRA1 (line 481) | MAV_DATA_STREAM_EXTRA1 = 10 constant MAV_DATA_STREAM_EXTRA2 (line 482) | MAV_DATA_STREAM_EXTRA2 = 11 constant MAV_DATA_STREAM_EXTRA3 (line 483) | MAV_DATA_STREAM_EXTRA3 = 12 constant MAV_DATA_STREAM_ENUM_END (line 484) | MAV_DATA_STREAM_ENUM_END = 13 constant MAV_ROI_NONE (line 494) | MAV_ROI_NONE = 0 constant MAV_ROI_WPNEXT (line 495) | MAV_ROI_WPNEXT = 1 constant MAV_ROI_WPINDEX (line 496) | MAV_ROI_WPINDEX = 2 constant MAV_ROI_LOCATION (line 497) | MAV_ROI_LOCATION = 3 constant MAV_ROI_TARGET (line 498) | MAV_ROI_TARGET = 4 constant MAV_ROI_ENUM_END (line 499) | MAV_ROI_ENUM_END = 5 constant MAV_CMD_ACK_OK (line 507) | MAV_CMD_ACK_OK = 1 constant MAV_CMD_ACK_ERR_FAIL (line 508) | MAV_CMD_ACK_ERR_FAIL = 2 constant MAV_CMD_ACK_ERR_ACCESS_DENIED (line 509) | MAV_CMD_ACK_ERR_ACCESS_DENIED = 3 constant MAV_CMD_ACK_ERR_NOT_SUPPORTED (line 510) | MAV_CMD_ACK_ERR_NOT_SUPPORTED = 4 constant MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED (line 511) | MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED = 5 constant MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE (line 512) | MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE = 6 constant MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE (line 513) | MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE = 7 constant MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE (line 514) | MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE = 8 constant MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE (line 515) | MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE = 9 constant MAV_CMD_ACK_ENUM_END (line 516) | MAV_CMD_ACK_ENUM_END = 10 constant MAV_PARAM_TYPE_UINT8 (line 524) | MAV_PARAM_TYPE_UINT8 = 1 constant MAV_PARAM_TYPE_INT8 (line 525) | MAV_PARAM_TYPE_INT8 = 2 constant MAV_PARAM_TYPE_UINT16 (line 526) | MAV_PARAM_TYPE_UINT16 = 3 constant MAV_PARAM_TYPE_INT16 (line 527) | MAV_PARAM_TYPE_INT16 = 4 constant MAV_PARAM_TYPE_UINT32 (line 528) | MAV_PARAM_TYPE_UINT32 = 5 constant MAV_PARAM_TYPE_INT32 (line 529) | MAV_PARAM_TYPE_INT32 = 6 constant MAV_PARAM_TYPE_UINT64 (line 530) | MAV_PARAM_TYPE_UINT64 = 7 constant MAV_PARAM_TYPE_INT64 (line 531) | MAV_PARAM_TYPE_INT64 = 8 constant MAV_PARAM_TYPE_REAL32 (line 532) | MAV_PARAM_TYPE_REAL32 = 9 constant MAV_PARAM_TYPE_REAL64 (line 533) | MAV_PARAM_TYPE_REAL64 = 10 constant MAV_PARAM_TYPE_ENUM_END (line 534) | MAV_PARAM_TYPE_ENUM_END = 11 constant MAV_RESULT_ACCEPTED (line 542) | MAV_RESULT_ACCEPTED = 0 constant MAV_RESULT_TEMPORARILY_REJECTED (line 543) | MAV_RESULT_TEMPORARILY_REJECTED = 1 constant MAV_RESULT_DENIED (line 544) | MAV_RESULT_DENIED = 2 constant MAV_RESULT_UNSUPPORTED (line 545) | MAV_RESULT_UNSUPPORTED = 3 constant MAV_RESULT_FAILED (line 546) | MAV_RESULT_FAILED = 4 constant MAV_RESULT_ENUM_END (line 547) | MAV_RESULT_ENUM_END = 5 constant MAV_MISSION_ACCEPTED (line 555) | MAV_MISSION_ACCEPTED = 0 constant MAV_MISSION_ERROR (line 556) | MAV_MISSION_ERROR = 1 constant MAV_MISSION_UNSUPPORTED_FRAME (line 557) | MAV_MISSION_UNSUPPORTED_FRAME = 2 constant MAV_MISSION_UNSUPPORTED (line 558) | MAV_MISSION_UNSUPPORTED = 3 constant MAV_MISSION_NO_SPACE (line 559) | MAV_MISSION_NO_SPACE = 4 constant MAV_MISSION_INVALID (line 560) | MAV_MISSION_INVALID = 5 constant MAV_MISSION_INVALID_PARAM1 (line 561) | MAV_MISSION_INVALID_PARAM1 = 6 constant MAV_MISSION_INVALID_PARAM2 (line 562) | MAV_MISSION_INVALID_PARAM2 = 7 constant MAV_MISSION_INVALID_PARAM3 (line 563) | MAV_MISSION_INVALID_PARAM3 = 8 constant MAV_MISSION_INVALID_PARAM4 (line 564) | MAV_MISSION_INVALID_PARAM4 = 9 constant MAV_MISSION_INVALID_PARAM5_X (line 565) | MAV_MISSION_INVALID_PARAM5_X = 10 constant MAV_MISSION_INVALID_PARAM6_Y (line 566) | MAV_MISSION_INVALID_PARAM6_Y = 11 constant MAV_MISSION_INVALID_PARAM7 (line 567) | MAV_MISSION_INVALID_PARAM7 = 12 constant MAV_MISSION_INVALID_SEQUENCE (line 568) | MAV_MISSION_INVALID_SEQUENCE = 13 constant MAV_MISSION_DENIED (line 569) | MAV_MISSION_DENIED = 14 constant MAV_MISSION_RESULT_ENUM_END (line 570) | MAV_MISSION_RESULT_ENUM_END = 15 constant MAV_SEVERITY_EMERGENCY (line 578) | MAV_SEVERITY_EMERGENCY = 0 constant MAV_SEVERITY_ALERT (line 579) | MAV_SEVERITY_ALERT = 1 constant MAV_SEVERITY_CRITICAL (line 580) | MAV_SEVERITY_CRITICAL = 2 constant MAV_SEVERITY_ERROR (line 581) | MAV_SEVERITY_ERROR = 3 constant MAV_SEVERITY_WARNING (line 582) | MAV_SEVERITY_WARNING = 4 constant MAV_SEVERITY_NOTICE (line 583) | MAV_SEVERITY_NOTICE = 5 constant MAV_SEVERITY_INFO (line 584) | MAV_SEVERITY_INFO = 6 constant MAV_SEVERITY_DEBUG (line 585) | MAV_SEVERITY_DEBUG = 7 constant MAV_SEVERITY_ENUM_END (line 586) | MAV_SEVERITY_ENUM_END = 8 constant MAV_POWER_STATUS_BRICK_VALID (line 594) | MAV_POWER_STATUS_BRICK_VALID = 1 constant MAV_POWER_STATUS_SERVO_VALID (line 595) | MAV_POWER_STATUS_SERVO_VALID = 2 constant MAV_POWER_STATUS_USB_CONNECTED (line 596) | MAV_POWER_STATUS_USB_CONNECTED = 4 constant MAV_POWER_STATUS_PERIPH_OVERCURRENT (line 597) | MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 constant MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT (line 598) | MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 constant MAV_POWER_STATUS_CHANGED (line 599) | MAV_POWER_STATUS_CHANGED = 32 constant MAV_POWER_STATUS_ENUM_END (line 600) | MAV_POWER_STATUS_ENUM_END = 33 constant SERIAL_CONTROL_DEV_TELEM1 (line 608) | SERIAL_CONTROL_DEV_TELEM1 = 0 constant SERIAL_CONTROL_DEV_TELEM2 (line 609) | SERIAL_CONTROL_DEV_TELEM2 = 1 constant SERIAL_CONTROL_DEV_GPS1 (line 610) | SERIAL_CONTROL_DEV_GPS1 = 2 constant SERIAL_CONTROL_DEV_GPS2 (line 611) | SERIAL_CONTROL_DEV_GPS2 = 3 constant SERIAL_CONTROL_DEV_ENUM_END (line 612) | SERIAL_CONTROL_DEV_ENUM_END = 4 constant SERIAL_CONTROL_FLAG_REPLY (line 620) | SERIAL_CONTROL_FLAG_REPLY = 1 constant SERIAL_CONTROL_FLAG_RESPOND (line 621) | SERIAL_CONTROL_FLAG_RESPOND = 2 constant SERIAL_CONTROL_FLAG_EXCLUSIVE (line 622) | SERIAL_CONTROL_FLAG_EXCLUSIVE = 4 constant SERIAL_CONTROL_FLAG_BLOCKING (line 623) | SERIAL_CONTROL_FLAG_BLOCKING = 8 constant SERIAL_CONTROL_FLAG_MULTI (line 624) | SERIAL_CONTROL_FLAG_MULTI = 16 constant SERIAL_CONTROL_FLAG_ENUM_END (line 625) | SERIAL_CONTROL_FLAG_ENUM_END = 17 constant MAV_DISTANCE_SENSOR_LASER (line 633) | MAV_DISTANCE_SENSOR_LASER = 0 constant MAV_DISTANCE_SENSOR_ULTRASOUND (line 634) | MAV_DISTANCE_SENSOR_ULTRASOUND = 1 constant MAV_DISTANCE_SENSOR_ENUM_END (line 635) | MAV_DISTANCE_SENSOR_ENUM_END = 2 type Heartbeat (line 645) | type Heartbeat struct method Id (line 667) | func (*Heartbeat) Id() uint8 { method Len (line 672) | func (*Heartbeat) Len() uint8 { method Crc (line 677) | func (*Heartbeat) Crc() uint8 { method Pack (line 682) | func (m *Heartbeat) Pack() []byte { method Decode (line 706) | func (m *Heartbeat) Decode(buf []byte) { function NewHeartbeat (line 655) | func NewHeartbeat(CUSTOM_MODE uint32, TYPE uint8, AUTOPILOT uint8, BASE_... type SysStatus (line 735) | type SysStatus struct method Id (line 771) | func (*SysStatus) Id() uint8 { method Len (line 776) | func (*SysStatus) Len() uint8 { method Crc (line 781) | func (*SysStatus) Crc() uint8 { method Pack (line 786) | func (m *SysStatus) Pack() []byte { method Decode (line 831) | func (m *SysStatus) Decode(buf []byte) { function NewSysStatus (line 752) | func NewSysStatus(ONBOARD_CONTROL_SENSORS_PRESENT uint32, ONBOARD_CONTRO... type SystemTime (line 881) | type SystemTime struct method Id (line 895) | func (*SystemTime) Id() uint8 { method Len (line 900) | func (*SystemTime) Len() uint8 { method Crc (line 905) | func (*SystemTime) Crc() uint8 { method Pack (line 910) | func (m *SystemTime) Pack() []byte { method Decode (line 922) | func (m *SystemTime) Decode(buf []byte) { function NewSystemTime (line 887) | func NewSystemTime(TIME_UNIX_USEC uint64, TIME_BOOT_MS uint32) *SystemTi... type Ping (line 939) | type Ping struct method Id (line 957) | func (*Ping) Id() uint8 { method Len (line 962) | func (*Ping) Len() uint8 { method Crc (line 967) | func (*Ping) Crc() uint8 { method Pack (line 972) | func (m *Ping) Pack() []byte { method Decode (line 990) | func (m *Ping) Decode(buf []byte) { function NewPing (line 947) | func NewPing(TIME_USEC uint64, SEQ uint32, TARGET_SYSTEM uint8, TARGET_C... type ChangeOperatorControl (line 1013) | type ChangeOperatorControl struct method Id (line 1031) | func (*ChangeOperatorControl) Id() uint8 { method Len (line 1036) | func (*ChangeOperatorControl) Len() uint8 { method Crc (line 1041) | func (*ChangeOperatorControl) Crc() uint8 { method Pack (line 1046) | func (m *ChangeOperatorControl) Pack() []byte { method Decode (line 1064) | func (m *ChangeOperatorControl) Decode(buf []byte) { function NewChangeOperatorControl (line 1021) | func NewChangeOperatorControl(TARGET_SYSTEM uint8, CONTROL_REQUEST uint8... constant MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_passkey_LEN (line 1081) | MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_passkey_LEN = 25 type ChangeOperatorControlAck (line 1091) | type ChangeOperatorControlAck struct method Id (line 1107) | func (*ChangeOperatorControlAck) Id() uint8 { method Len (line 1112) | func (*ChangeOperatorControlAck) Len() uint8 { method Crc (line 1117) | func (*ChangeOperatorControlAck) Crc() uint8 { method Pack (line 1122) | func (m *ChangeOperatorControlAck) Pack() []byte { method Decode (line 1137) | func (m *ChangeOperatorControlAck) Decode(buf []byte) { function NewChangeOperatorControlAck (line 1098) | func NewChangeOperatorControlAck(GCS_SYSTEM_ID uint8, CONTROL_REQUEST ui... type AuthKey (line 1157) | type AuthKey struct method Id (line 1169) | func (*AuthKey) Id() uint8 { method Len (line 1174) | func (*AuthKey) Len() uint8 { method Crc (line 1179) | func (*AuthKey) Crc() uint8 { method Pack (line 1184) | func (m *AuthKey) Pack() []byte { method Decode (line 1193) | func (m *AuthKey) Decode(buf []byte) { function NewAuthKey (line 1162) | func NewAuthKey(KEY [32]uint8) *AuthKey { constant MAVLINK_MSG_AUTH_KEY_FIELD_key_LEN (line 1201) | MAVLINK_MSG_AUTH_KEY_FIELD_key_LEN = 32 type SetMode (line 1211) | type SetMode struct method Id (line 1227) | func (*SetMode) Id() uint8 { method Len (line 1232) | func (*SetMode) Len() uint8 { method Crc (line 1237) | func (*SetMode) Crc() uint8 { method Pack (line 1242) | func (m *SetMode) Pack() []byte { method Decode (line 1257) | func (m *SetMode) Decode(buf []byte) { function NewSetMode (line 1218) | func NewSetMode(CUSTOM_MODE uint32, TARGET_SYSTEM uint8, BASE_MODE uint8... type ParamRequestRead (line 1277) | type ParamRequestRead struct method Id (line 1295) | func (*ParamRequestRead) Id() uint8 { method Len (line 1300) | func (*ParamRequestRead) Len() uint8 { method Crc (line 1305) | func (*ParamRequestRead) Crc() uint8 { method Pack (line 1310) | func (m *ParamRequestRead) Pack() []byte { method Decode (line 1328) | func (m *ParamRequestRead) Decode(buf []byte) { function NewParamRequestRead (line 1285) | func NewParamRequestRead(PARAM_INDEX int16, TARGET_SYSTEM uint8, TARGET_... constant MAVLINK_MSG_PARAM_REQUEST_READ_FIELD_param_id_LEN (line 1345) | MAVLINK_MSG_PARAM_REQUEST_READ_FIELD_param_id_LEN = 16 type ParamRequestList (line 1355) | type ParamRequestList struct method Id (line 1369) | func (*ParamRequestList) Id() uint8 { method Len (line 1374) | func (*ParamRequestList) Len() uint8 { method Crc (line 1379) | func (*ParamRequestList) Crc() uint8 { method Pack (line 1384) | func (m *ParamRequestList) Pack() []byte { method Decode (line 1396) | func (m *ParamRequestList) Decode(buf []byte) { function NewParamRequestList (line 1361) | func NewParamRequestList(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8) *P... type ParamValue (line 1413) | type ParamValue struct method Id (line 1433) | func (*ParamValue) Id() uint8 { method Len (line 1438) | func (*ParamValue) Len() uint8 { method Crc (line 1443) | func (*ParamValue) Crc() uint8 { method Pack (line 1448) | func (m *ParamValue) Pack() []byte { method Decode (line 1469) | func (m *ParamValue) Decode(buf []byte) { function NewParamValue (line 1422) | func NewParamValue(PARAM_VALUE float32, PARAM_COUNT uint16, PARAM_INDEX ... constant MAVLINK_MSG_PARAM_VALUE_FIELD_param_id_LEN (line 1489) | MAVLINK_MSG_PARAM_VALUE_FIELD_param_id_LEN = 16 type ParamSet (line 1499) | type ParamSet struct method Id (line 1519) | func (*ParamSet) Id() uint8 { method Len (line 1524) | func (*ParamSet) Len() uint8 { method Crc (line 1529) | func (*ParamSet) Crc() uint8 { method Pack (line 1534) | func (m *ParamSet) Pack() []byte { method Decode (line 1555) | func (m *ParamSet) Decode(buf []byte) { function NewParamSet (line 1508) | func NewParamSet(PARAM_VALUE float32, TARGET_SYSTEM uint8, TARGET_COMPON... constant MAVLINK_MSG_PARAM_SET_FIELD_param_id_LEN (line 1575) | MAVLINK_MSG_PARAM_SET_FIELD_param_id_LEN = 16 type GpsRawInt (line 1585) | type GpsRawInt struct method Id (line 1615) | func (*GpsRawInt) Id() uint8 { method Len (line 1620) | func (*GpsRawInt) Len() uint8 { method Crc (line 1625) | func (*GpsRawInt) Crc() uint8 { method Pack (line 1630) | func (m *GpsRawInt) Pack() []byte { method Decode (line 1666) | func (m *GpsRawInt) Decode(buf []byte) { function NewGpsRawInt (line 1599) | func NewGpsRawInt(TIME_USEC uint64, LAT int32, LON int32, ALT int32, EPH... type GpsStatus (line 1707) | type GpsStatus struct method Id (line 1729) | func (*GpsStatus) Id() uint8 { method Len (line 1734) | func (*GpsStatus) Len() uint8 { method Crc (line 1739) | func (*GpsStatus) Crc() uint8 { method Pack (line 1744) | func (m *GpsStatus) Pack() []byte { method Decode (line 1768) | func (m *GpsStatus) Decode(buf []byte) { function NewGpsStatus (line 1717) | func NewGpsStatus(SATELLITES_VISIBLE uint8, SATELLITE_PRN [20]uint8, SAT... constant MAVLINK_MSG_GPS_STATUS_FIELD_satellite_prn_LEN (line 1791) | MAVLINK_MSG_GPS_STATUS_FIELD_satellite_prn_LEN = 20 constant MAVLINK_MSG_GPS_STATUS_FIELD_satellite_used_LEN (line 1792) | MAVLINK_MSG_GPS_STATUS_FIELD_satellite_used_LEN = 20 constant MAVLINK_MSG_GPS_STATUS_FIELD_satellite_elevation_LEN (line 1793) | MAVLINK_MSG_GPS_STATUS_FIELD_satellite_elevation_LEN = 20 constant MAVLINK_MSG_GPS_STATUS_FIELD_satellite_azimuth_LEN (line 1794) | MAVLINK_MSG_GPS_STATUS_FIELD_satellite_azimuth_LEN = 20 constant MAVLINK_MSG_GPS_STATUS_FIELD_satellite_snr_LEN (line 1795) | MAVLINK_MSG_GPS_STATUS_FIELD_satellite_snr_LEN = 20 type ScaledImu (line 1805) | type ScaledImu struct method Id (line 1835) | func (*ScaledImu) Id() uint8 { method Len (line 1840) | func (*ScaledImu) Len() uint8 { method Crc (line 1845) | func (*ScaledImu) Crc() uint8 { method Pack (line 1850) | func (m *ScaledImu) Pack() []byte { method Decode (line 1886) | func (m *ScaledImu) Decode(buf []byte) { function NewScaledImu (line 1819) | func NewScaledImu(TIME_BOOT_MS uint32, XACC int16, YACC int16, ZACC int1... type RawImu (line 1927) | type RawImu struct method Id (line 1957) | func (*RawImu) Id() uint8 { method Len (line 1962) | func (*RawImu) Len() uint8 { method Crc (line 1967) | func (*RawImu) Crc() uint8 { method Pack (line 1972) | func (m *RawImu) Pack() []byte { method Decode (line 2008) | func (m *RawImu) Decode(buf []byte) { function NewRawImu (line 1941) | func NewRawImu(TIME_USEC uint64, XACC int16, YACC int16, ZACC int16, XGY... type RawPressure (line 2049) | type RawPressure struct method Id (line 2069) | func (*RawPressure) Id() uint8 { method Len (line 2074) | func (*RawPressure) Len() uint8 { method Crc (line 2079) | func (*RawPressure) Crc() uint8 { method Pack (line 2084) | func (m *RawPressure) Pack() []byte { method Decode (line 2105) | func (m *RawPressure) Decode(buf []byte) { function NewRawPressure (line 2058) | func NewRawPressure(TIME_USEC uint64, PRESS_ABS int16, PRESS_DIFF1 int16... type ScaledPressure (line 2131) | type ScaledPressure struct method Id (line 2149) | func (*ScaledPressure) Id() uint8 { method Len (line 2154) | func (*ScaledPressure) Len() uint8 { method Crc (line 2159) | func (*ScaledPressure) Crc() uint8 { method Pack (line 2164) | func (m *ScaledPressure) Pack() []byte { method Decode (line 2182) | func (m *ScaledPressure) Decode(buf []byte) { function NewScaledPressure (line 2139) | func NewScaledPressure(TIME_BOOT_MS uint32, PRESS_ABS float32, PRESS_DIF... type Attitude (line 2205) | type Attitude struct method Id (line 2229) | func (*Attitude) Id() uint8 { method Len (line 2234) | func (*Attitude) Len() uint8 { method Crc (line 2239) | func (*Attitude) Crc() uint8 { method Pack (line 2244) | func (m *Attitude) Pack() []byte { method Decode (line 2271) | func (m *Attitude) Decode(buf []byte) { function NewAttitude (line 2216) | func NewAttitude(TIME_BOOT_MS uint32, ROLL float32, PITCH float32, YAW f... type AttitudeQuaternion (line 2303) | type AttitudeQuaternion struct method Id (line 2329) | func (*AttitudeQuaternion) Id() uint8 { method Len (line 2334) | func (*AttitudeQuaternion) Len() uint8 { method Crc (line 2339) | func (*AttitudeQuaternion) Crc() uint8 { method Pack (line 2344) | func (m *AttitudeQuaternion) Pack() []byte { method Decode (line 2374) | func (m *AttitudeQuaternion) Decode(buf []byte) { function NewAttitudeQuaternion (line 2315) | func NewAttitudeQuaternion(TIME_BOOT_MS uint32, Q1 float32, Q2 float32, ... type LocalPositionNed (line 2409) | type LocalPositionNed struct method Id (line 2433) | func (*LocalPositionNed) Id() uint8 { method Len (line 2438) | func (*LocalPositionNed) Len() uint8 { method Crc (line 2443) | func (*LocalPositionNed) Crc() uint8 { method Pack (line 2448) | func (m *LocalPositionNed) Pack() []byte { method Decode (line 2475) | func (m *LocalPositionNed) Decode(buf []byte) { function NewLocalPositionNed (line 2420) | func NewLocalPositionNed(TIME_BOOT_MS uint32, X float32, Y float32, Z fl... type GlobalPositionInt (line 2507) | type GlobalPositionInt struct method Id (line 2535) | func (*GlobalPositionInt) Id() uint8 { method Len (line 2540) | func (*GlobalPositionInt) Len() uint8 { method Crc (line 2545) | func (*GlobalPositionInt) Crc() uint8 { method Pack (line 2550) | func (m *GlobalPositionInt) Pack() []byte { method Decode (line 2583) | func (m *GlobalPositionInt) Decode(buf []byte) { function NewGlobalPositionInt (line 2520) | func NewGlobalPositionInt(TIME_BOOT_MS uint32, LAT int32, LON int32, ALT... type RcChannelsScaled (line 2621) | type RcChannelsScaled struct method Id (line 2653) | func (*RcChannelsScaled) Id() uint8 { method Len (line 2658) | func (*RcChannelsScaled) Len() uint8 { method Crc (line 2663) | func (*RcChannelsScaled) Crc() uint8 { method Pack (line 2668) | func (m *RcChannelsScaled) Pack() []byte { method Decode (line 2707) | func (m *RcChannelsScaled) Decode(buf []byte) { function NewRcChannelsScaled (line 2636) | func NewRcChannelsScaled(TIME_BOOT_MS uint32, CHAN1_SCALED int16, CHAN2_... type RcChannelsRaw (line 2751) | type RcChannelsRaw struct method Id (line 2783) | func (*RcChannelsRaw) Id() uint8 { method Len (line 2788) | func (*RcChannelsRaw) Len() uint8 { method Crc (line 2793) | func (*RcChannelsRaw) Crc() uint8 { method Pack (line 2798) | func (m *RcChannelsRaw) Pack() []byte { method Decode (line 2837) | func (m *RcChannelsRaw) Decode(buf []byte) { function NewRcChannelsRaw (line 2766) | func NewRcChannelsRaw(TIME_BOOT_MS uint32, CHAN1_RAW uint16, CHAN2_RAW u... type ServoOutputRaw (line 2881) | type ServoOutputRaw struct method Id (line 2911) | func (*ServoOutputRaw) Id() uint8 { method Len (line 2916) | func (*ServoOutputRaw) Len() uint8 { method Crc (line 2921) | func (*ServoOutputRaw) Crc() uint8 { method Pack (line 2926) | func (m *ServoOutputRaw) Pack() []byte { method Decode (line 2962) | func (m *ServoOutputRaw) Decode(buf []byte) { function NewServoOutputRaw (line 2895) | func NewServoOutputRaw(TIME_USEC uint32, SERVO1_RAW uint16, SERVO2_RAW u... type MissionRequestPartialList (line 3003) | type MissionRequestPartialList struct method Id (line 3021) | func (*MissionRequestPartialList) Id() uint8 { method Len (line 3026) | func (*MissionRequestPartialList) Len() uint8 { method Crc (line 3031) | func (*MissionRequestPartialList) Crc() uint8 { method Pack (line 3036) | func (m *MissionRequestPartialList) Pack() []byte { method Decode (line 3054) | func (m *MissionRequestPartialList) Decode(buf []byte) { function NewMissionRequestPartialList (line 3011) | func NewMissionRequestPartialList(START_INDEX int16, END_INDEX int16, TA... type MissionWritePartialList (line 3077) | type MissionWritePartialList struct method Id (line 3095) | func (*MissionWritePartialList) Id() uint8 { method Len (line 3100) | func (*MissionWritePartialList) Len() uint8 { method Crc (line 3105) | func (*MissionWritePartialList) Crc() uint8 { method Pack (line 3110) | func (m *MissionWritePartialList) Pack() []byte { method Decode (line 3128) | func (m *MissionWritePartialList) Decode(buf []byte) { function NewMissionWritePartialList (line 3085) | func NewMissionWritePartialList(START_INDEX int16, END_INDEX int16, TARG... type MissionItem (line 3151) | type MissionItem struct method Id (line 3189) | func (*MissionItem) Id() uint8 { method Len (line 3194) | func (*MissionItem) Len() uint8 { method Crc (line 3199) | func (*MissionItem) Crc() uint8 { method Pack (line 3204) | func (m *MissionItem) Pack() []byte { method Decode (line 3252) | func (m *MissionItem) Decode(buf []byte) { function NewMissionItem (line 3169) | func NewMissionItem(PARAM1 float32, PARAM2 float32, PARAM3 float32, PARA... type MissionRequest (line 3305) | type MissionRequest struct method Id (line 3321) | func (*MissionRequest) Id() uint8 { method Len (line 3326) | func (*MissionRequest) Len() uint8 { method Crc (line 3331) | func (*MissionRequest) Crc() uint8 { method Pack (line 3336) | func (m *MissionRequest) Pack() []byte { method Decode (line 3351) | func (m *MissionRequest) Decode(buf []byte) { function NewMissionRequest (line 3312) | func NewMissionRequest(SEQ uint16, TARGET_SYSTEM uint8, TARGET_COMPONENT... type MissionSetCurrent (line 3371) | type MissionSetCurrent struct method Id (line 3387) | func (*MissionSetCurrent) Id() uint8 { method Len (line 3392) | func (*MissionSetCurrent) Len() uint8 { method Crc (line 3397) | func (*MissionSetCurrent) Crc() uint8 { method Pack (line 3402) | func (m *MissionSetCurrent) Pack() []byte { method Decode (line 3417) | func (m *MissionSetCurrent) Decode(buf []byte) { function NewMissionSetCurrent (line 3378) | func NewMissionSetCurrent(SEQ uint16, TARGET_SYSTEM uint8, TARGET_COMPON... type MissionCurrent (line 3437) | type MissionCurrent struct method Id (line 3449) | func (*MissionCurrent) Id() uint8 { method Len (line 3454) | func (*MissionCurrent) Len() uint8 { method Crc (line 3459) | func (*MissionCurrent) Crc() uint8 { method Pack (line 3464) | func (m *MissionCurrent) Pack() []byte { method Decode (line 3473) | func (m *MissionCurrent) Decode(buf []byte) { function NewMissionCurrent (line 3442) | func NewMissionCurrent(SEQ uint16) *MissionCurrent { type MissionRequestList (line 3487) | type MissionRequestList struct method Id (line 3501) | func (*MissionRequestList) Id() uint8 { method Len (line 3506) | func (*MissionRequestList) Len() uint8 { method Crc (line 3511) | func (*MissionRequestList) Crc() uint8 { method Pack (line 3516) | func (m *MissionRequestList) Pack() []byte { method Decode (line 3528) | func (m *MissionRequestList) Decode(buf []byte) { function NewMissionRequestList (line 3493) | func NewMissionRequestList(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8) ... type MissionCount (line 3545) | type MissionCount struct method Id (line 3561) | func (*MissionCount) Id() uint8 { method Len (line 3566) | func (*MissionCount) Len() uint8 { method Crc (line 3571) | func (*MissionCount) Crc() uint8 { method Pack (line 3576) | func (m *MissionCount) Pack() []byte { method Decode (line 3591) | func (m *MissionCount) Decode(buf []byte) { function NewMissionCount (line 3552) | func NewMissionCount(COUNT uint16, TARGET_SYSTEM uint8, TARGET_COMPONENT... type MissionClearAll (line 3611) | type MissionClearAll struct method Id (line 3625) | func (*MissionClearAll) Id() uint8 { method Len (line 3630) | func (*MissionClearAll) Len() uint8 { method Crc (line 3635) | func (*MissionClearAll) Crc() uint8 { method Pack (line 3640) | func (m *MissionClearAll) Pack() []byte { method Decode (line 3652) | func (m *MissionClearAll) Decode(buf []byte) { function NewMissionClearAll (line 3617) | func NewMissionClearAll(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8) *Mi... type MissionItemReached (line 3669) | type MissionItemReached struct method Id (line 3681) | func (*MissionItemReached) Id() uint8 { method Len (line 3686) | func (*MissionItemReached) Len() uint8 { method Crc (line 3691) | func (*MissionItemReached) Crc() uint8 { method Pack (line 3696) | func (m *MissionItemReached) Pack() []byte { method Decode (line 3705) | func (m *MissionItemReached) Decode(buf []byte) { function NewMissionItemReached (line 3674) | func NewMissionItemReached(SEQ uint16) *MissionItemReached { type MissionAck (line 3719) | type MissionAck struct method Id (line 3735) | func (*MissionAck) Id() uint8 { method Len (line 3740) | func (*MissionAck) Len() uint8 { method Crc (line 3745) | func (*MissionAck) Crc() uint8 { method Pack (line 3750) | func (m *MissionAck) Pack() []byte { method Decode (line 3765) | func (m *MissionAck) Decode(buf []byte) { function NewMissionAck (line 3726) | func NewMissionAck(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8, TYPE uin... type SetGpsGlobalOrigin (line 3785) | type SetGpsGlobalOrigin struct method Id (line 3803) | func (*SetGpsGlobalOrigin) Id() uint8 { method Len (line 3808) | func (*SetGpsGlobalOrigin) Len() uint8 { method Crc (line 3813) | func (*SetGpsGlobalOrigin) Crc() uint8 { method Pack (line 3818) | func (m *SetGpsGlobalOrigin) Pack() []byte { method Decode (line 3836) | func (m *SetGpsGlobalOrigin) Decode(buf []byte) { function NewSetGpsGlobalOrigin (line 3793) | func NewSetGpsGlobalOrigin(LATITUDE int32, LONGITUDE int32, ALTITUDE int... type GpsGlobalOrigin (line 3859) | type GpsGlobalOrigin struct method Id (line 3875) | func (*GpsGlobalOrigin) Id() uint8 { method Len (line 3880) | func (*GpsGlobalOrigin) Len() uint8 { method Crc (line 3885) | func (*GpsGlobalOrigin) Crc() uint8 { method Pack (line 3890) | func (m *GpsGlobalOrigin) Pack() []byte { method Decode (line 3905) | func (m *GpsGlobalOrigin) Decode(buf []byte) { function NewGpsGlobalOrigin (line 3866) | func NewGpsGlobalOrigin(LATITUDE int32, LONGITUDE int32, ALTITUDE int32)... type SetLocalPositionSetpoint (line 3925) | type SetLocalPositionSetpoint struct method Id (line 3949) | func (*SetLocalPositionSetpoint) Id() uint8 { method Len (line 3954) | func (*SetLocalPositionSetpoint) Len() uint8 { method Crc (line 3959) | func (*SetLocalPositionSetpoint) Crc() uint8 { method Pack (line 3964) | func (m *SetLocalPositionSetpoint) Pack() []byte { method Decode (line 3991) | func (m *SetLocalPositionSetpoint) Decode(buf []byte) { function NewSetLocalPositionSetpoint (line 3936) | func NewSetLocalPositionSetpoint(X float32, Y float32, Z float32, YAW fl... type LocalPositionSetpoint (line 4023) | type LocalPositionSetpoint struct method Id (line 4043) | func (*LocalPositionSetpoint) Id() uint8 { method Len (line 4048) | func (*LocalPositionSetpoint) Len() uint8 { method Crc (line 4053) | func (*LocalPositionSetpoint) Crc() uint8 { method Pack (line 4058) | func (m *LocalPositionSetpoint) Pack() []byte { method Decode (line 4079) | func (m *LocalPositionSetpoint) Decode(buf []byte) { function NewLocalPositionSetpoint (line 4032) | func NewLocalPositionSetpoint(X float32, Y float32, Z float32, YAW float... type GlobalPositionSetpointInt (line 4105) | type GlobalPositionSetpointInt struct method Id (line 4125) | func (*GlobalPositionSetpointInt) Id() uint8 { method Len (line 4130) | func (*GlobalPositionSetpointInt) Len() uint8 { method Crc (line 4135) | func (*GlobalPositionSetpointInt) Crc() uint8 { method Pack (line 4140) | func (m *GlobalPositionSetpointInt) Pack() []byte { method Decode (line 4161) | func (m *GlobalPositionSetpointInt) Decode(buf []byte) { function NewGlobalPositionSetpointInt (line 4114) | func NewGlobalPositionSetpointInt(LATITUDE int32, LONGITUDE int32, ALTIT... type SetGlobalPositionSetpointInt (line 4187) | type SetGlobalPositionSetpointInt struct method Id (line 4207) | func (*SetGlobalPositionSetpointInt) Id() uint8 { method Len (line 4212) | func (*SetGlobalPositionSetpointInt) Len() uint8 { method Crc (line 4217) | func (*SetGlobalPositionSetpointInt) Crc() uint8 { method Pack (line 4222) | func (m *SetGlobalPositionSetpointInt) Pack() []byte { method Decode (line 4243) | func (m *SetGlobalPositionSetpointInt) Decode(buf []byte) { function NewSetGlobalPositionSetpointInt (line 4196) | func NewSetGlobalPositionSetpointInt(LATITUDE int32, LONGITUDE int32, AL... type SafetySetAllowedArea (line 4269) | type SafetySetAllowedArea struct method Id (line 4297) | func (*SafetySetAllowedArea) Id() uint8 { method Len (line 4302) | func (*SafetySetAllowedArea) Len() uint8 { method Crc (line 4307) | func (*SafetySetAllowedArea) Crc() uint8 { method Pack (line 4312) | func (m *SafetySetAllowedArea) Pack() []byte { method Decode (line 4345) | func (m *SafetySetAllowedArea) Decode(buf []byte) { function NewSafetySetAllowedArea (line 4282) | func NewSafetySetAllowedArea(P1X float32, P1Y float32, P1Z float32, P2X ... type SafetyAllowedArea (line 4383) | type SafetyAllowedArea struct method Id (line 4407) | func (*SafetyAllowedArea) Id() uint8 { method Len (line 4412) | func (*SafetyAllowedArea) Len() uint8 { method Crc (line 4417) | func (*SafetyAllowedArea) Crc() uint8 { method Pack (line 4422) | func (m *SafetyAllowedArea) Pack() []byte { method Decode (line 4449) | func (m *SafetyAllowedArea) Decode(buf []byte) { function NewSafetyAllowedArea (line 4394) | func NewSafetyAllowedArea(P1X float32, P1Y float32, P1Z float32, P2X flo... type SetRollPitchYawThrust (line 4481) | type SetRollPitchYawThrust struct method Id (line 4503) | func (*SetRollPitchYawThrust) Id() uint8 { method Len (line 4508) | func (*SetRollPitchYawThrust) Len() uint8 { method Crc (line 4513) | func (*SetRollPitchYawThrust) Crc() uint8 { method Pack (line 4518) | func (m *SetRollPitchYawThrust) Pack() []byte { method Decode (line 4542) | func (m *SetRollPitchYawThrust) Decode(buf []byte) { function NewSetRollPitchYawThrust (line 4491) | func NewSetRollPitchYawThrust(ROLL float32, PITCH float32, YAW float32, ... type SetRollPitchYawSpeedThrust (line 4571) | type SetRollPitchYawSpeedThrust struct method Id (line 4593) | func (*SetRollPitchYawSpeedThrust) Id() uint8 { method Len (line 4598) | func (*SetRollPitchYawSpeedThrust) Len() uint8 { method Crc (line 4603) | func (*SetRollPitchYawSpeedThrust) Crc() uint8 { method Pack (line 4608) | func (m *SetRollPitchYawSpeedThrust) Pack() []byte { method Decode (line 4632) | func (m *SetRollPitchYawSpeedThrust) Decode(buf []byte) { function NewSetRollPitchYawSpeedThrust (line 4581) | func NewSetRollPitchYawSpeedThrust(ROLL_SPEED float32, PITCH_SPEED float... type RollPitchYawThrustSetpoint (line 4661) | type RollPitchYawThrustSetpoint struct method Id (line 4681) | func (*RollPitchYawThrustSetpoint) Id() uint8 { method Len (line 4686) | func (*RollPitchYawThrustSetpoint) Len() uint8 { method Crc (line 4691) | func (*RollPitchYawThrustSetpoint) Crc() uint8 { method Pack (line 4696) | func (m *RollPitchYawThrustSetpoint) Pack() []byte { method Decode (line 4717) | func (m *RollPitchYawThrustSetpoint) Decode(buf []byte) { function NewRollPitchYawThrustSetpoint (line 4670) | func NewRollPitchYawThrustSetpoint(TIME_BOOT_MS uint32, ROLL float32, PI... type RollPitchYawSpeedThrustSetpoint (line 4743) | type RollPitchYawSpeedThrustSetpoint struct method Id (line 4763) | func (*RollPitchYawSpeedThrustSetpoint) Id() uint8 { method Len (line 4768) | func (*RollPitchYawSpeedThrustSetpoint) Len() uint8 { method Crc (line 4773) | func (*RollPitchYawSpeedThrustSetpoint) Crc() uint8 { method Pack (line 4778) | func (m *RollPitchYawSpeedThrustSetpoint) Pack() []byte { method Decode (line 4799) | func (m *RollPitchYawSpeedThrustSetpoint) Decode(buf []byte) { function NewRollPitchYawSpeedThrustSetpoint (line 4752) | func NewRollPitchYawSpeedThrustSetpoint(TIME_BOOT_MS uint32, ROLL_SPEED ... type SetQuadMotorsSetpoint (line 4825) | type SetQuadMotorsSetpoint struct method Id (line 4845) | func (*SetQuadMotorsSetpoint) Id() uint8 { method Len (line 4850) | func (*SetQuadMotorsSetpoint) Len() uint8 { method Crc (line 4855) | func (*SetQuadMotorsSetpoint) Crc() uint8 { method Pack (line 4860) | func (m *SetQuadMotorsSetpoint) Pack() []byte { method Decode (line 4881) | func (m *SetQuadMotorsSetpoint) Decode(buf []byte) { function NewSetQuadMotorsSetpoint (line 4834) | func NewSetQuadMotorsSetpoint(MOTOR_FRONT_NW uint16, MOTOR_RIGHT_NE uint... type SetQuadSwarmRollPitchYawThrust (line 4907) | type SetQuadSwarmRollPitchYawThrust struct method Id (line 4929) | func (*SetQuadSwarmRollPitchYawThrust) Id() uint8 { method Len (line 4934) | func (*SetQuadSwarmRollPitchYawThrust) Len() uint8 { method Crc (line 4939) | func (*SetQuadSwarmRollPitchYawThrust) Crc() uint8 { method Pack (line 4944) | func (m *SetQuadSwarmRollPitchYawThrust) Pack() []byte { method Decode (line 4968) | func (m *SetQuadSwarmRollPitchYawThrust) Decode(buf []byte) { function NewSetQuadSwarmRollPitchYawThrust (line 4917) | func NewSetQuadSwarmRollPitchYawThrust(ROLL [4]int16, PITCH [4]int16, YA... constant MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN (line 4991) | MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN = 4 constant MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_pitch_LEN (line 4992) | MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_pitch_LEN = 4 constant MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_yaw_LEN (line 4993) | MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_yaw_LEN = 4 constant MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_thrust_LEN (line 4994) | MAVLINK_MSG_SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST_FIELD_thrust_LEN = 4 type NavControllerOutput (line 5004) | type NavControllerOutput struct method Id (line 5030) | func (*NavControllerOutput) Id() uint8 { method Len (line 5035) | func (*NavControllerOutput) Len() uint8 { method Crc (line 5040) | func (*NavControllerOutput) Crc() uint8 { method Pack (line 5045) | func (m *NavControllerOutput) Pack() []byte { method Decode (line 5075) | func (m *NavControllerOutput) Decode(buf []byte) { function NewNavControllerOutput (line 5016) | func NewNavControllerOutput(NAV_ROLL float32, NAV_PITCH float32, ALT_ERR... type SetQuadSwarmLedRollPitchYawThrust (line 5110) | type SetQuadSwarmLedRollPitchYawThrust struct method Id (line 5138) | func (*SetQuadSwarmLedRollPitchYawThrust) Id() uint8 { method Len (line 5143) | func (*SetQuadSwarmLedRollPitchYawThrust) Len() uint8 { method Crc (line 5148) | func (*SetQuadSwarmLedRollPitchYawThrust) Crc() uint8 { method Pack (line 5153) | func (m *SetQuadSwarmLedRollPitchYawThrust) Pack() []byte { method Decode (line 5186) | func (m *SetQuadSwarmLedRollPitchYawThrust) Decode(buf []byte) { function NewSetQuadSwarmLedRollPitchYawThrust (line 5123) | func NewSetQuadSwarmLedRollPitchYawThrust(ROLL [4]int16, PITCH [4]int16,... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN (line 5218) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_roll_LEN ... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_pitch_LEN (line 5219) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_pitch_LEN ... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_yaw_LEN (line 5220) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_yaw_LEN ... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_thrust_LEN (line 5221) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_thrust_LEN ... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_red_LEN (line 5222) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_red_LEN ... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_blue_LEN (line 5223) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_blue_LEN ... constant MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_green_LEN (line 5224) | MAVLINK_MSG_SET_QUAD_SWARM_LED_ROLL_PITCH_YAW_THRUST_FIELD_led_green_LEN... type StateCorrection (line 5234) | type StateCorrection struct method Id (line 5262) | func (*StateCorrection) Id() uint8 { method Len (line 5267) | func (*StateCorrection) Len() uint8 { method Crc (line 5272) | func (*StateCorrection) Crc() uint8 { method Pack (line 5277) | func (m *StateCorrection) Pack() []byte { method Decode (line 5310) | func (m *StateCorrection) Decode(buf []byte) { function NewStateCorrection (line 5247) | func NewStateCorrection(XERR float32, YERR float32, ZERR float32, ROLLER... type RcChannels (line 5348) | type RcChannels struct method Id (line 5400) | func (*RcChannels) Id() uint8 { method Len (line 5405) | func (*RcChannels) Len() uint8 { method Crc (line 5410) | func (*RcChannels) Crc() uint8 { method Pack (line 5415) | func (m *RcChannels) Pack() []byte { method Decode (line 5484) | func (m *RcChannels) Decode(buf []byte) { function NewRcChannels (line 5373) | func NewRcChannels(TIME_BOOT_MS uint32, CHAN1_RAW uint16, CHAN2_RAW uint... type RequestDataStream (line 5558) | type RequestDataStream struct method Id (line 5578) | func (*RequestDataStream) Id() uint8 { method Len (line 5583) | func (*RequestDataStream) Len() uint8 { method Crc (line 5588) | func (*RequestDataStream) Crc() uint8 { method Pack (line 5593) | func (m *RequestDataStream) Pack() []byte { method Decode (line 5614) | func (m *RequestDataStream) Decode(buf []byte) { function NewRequestDataStream (line 5567) | func NewRequestDataStream(REQ_MESSAGE_RATE uint16, TARGET_SYSTEM uint8, ... type DataStream (line 5640) | type DataStream struct method Id (line 5656) | func (*DataStream) Id() uint8 { method Len (line 5661) | func (*DataStream) Len() uint8 { method Crc (line 5666) | func (*DataStream) Crc() uint8 { method Pack (line 5671) | func (m *DataStream) Pack() []byte { method Decode (line 5686) | func (m *DataStream) Decode(buf []byte) { function NewDataStream (line 5647) | func NewDataStream(MESSAGE_RATE uint16, STREAM_ID uint8, ON_OFF uint8) *... type ManualControl (line 5706) | type ManualControl struct method Id (line 5728) | func (*ManualControl) Id() uint8 { method Len (line 5733) | func (*ManualControl) Len() uint8 { method Crc (line 5738) | func (*ManualControl) Crc() uint8 { method Pack (line 5743) | func (m *ManualControl) Pack() []byte { method Decode (line 5767) | func (m *ManualControl) Decode(buf []byte) { function NewManualControl (line 5716) | func NewManualControl(X int16, Y int16, Z int16, R int16, BUTTONS uint16... type RcChannelsOverride (line 5796) | type RcChannelsOverride struct method Id (line 5826) | func (*RcChannelsOverride) Id() uint8 { method Len (line 5831) | func (*RcChannelsOverride) Len() uint8 { method Crc (line 5836) | func (*RcChannelsOverride) Crc() uint8 { method Pack (line 5841) | func (m *RcChannelsOverride) Pack() []byte { method Decode (line 5877) | func (m *RcChannelsOverride) Decode(buf []byte) { function NewRcChannelsOverride (line 5810) | func NewRcChannelsOverride(CHAN1_RAW uint16, CHAN2_RAW uint16, CHAN3_RAW... type VfrHud (line 5918) | type VfrHud struct method Id (line 5940) | func (*VfrHud) Id() uint8 { method Len (line 5945) | func (*VfrHud) Len() uint8 { method Crc (line 5950) | func (*VfrHud) Crc() uint8 { method Pack (line 5955) | func (m *VfrHud) Pack() []byte { method Decode (line 5979) | func (m *VfrHud) Decode(buf []byte) { function NewVfrHud (line 5928) | func NewVfrHud(AIRSPEED float32, GROUNDSPEED float32, ALT float32, CLIMB... type CommandLong (line 6008) | type CommandLong struct method Id (line 6040) | func (*CommandLong) Id() uint8 { method Len (line 6045) | func (*CommandLong) Len() uint8 { method Crc (line 6050) | func (*CommandLong) Crc() uint8 { method Pack (line 6055) | func (m *CommandLong) Pack() []byte { method Decode (line 6094) | func (m *CommandLong) Decode(buf []byte) { function NewCommandLong (line 6023) | func NewCommandLong(PARAM1 float32, PARAM2 float32, PARAM3 float32, PARA... type CommandAck (line 6138) | type CommandAck struct method Id (line 6152) | func (*CommandAck) Id() uint8 { method Len (line 6157) | func (*CommandAck) Len() uint8 { method Crc (line 6162) | func (*CommandAck) Crc() uint8 { method Pack (line 6167) | func (m *CommandAck) Pack() []byte { method Decode (line 6179) | func (m *CommandAck) Decode(buf []byte) { function NewCommandAck (line 6144) | func NewCommandAck(COMMAND uint16, RESULT uint8) *CommandAck { type RollPitchYawRatesThrustSetpoint (line 6196) | type RollPitchYawRatesThrustSetpoint struct method Id (line 6216) | func (*RollPitchYawRatesThrustSetpoint) Id() uint8 { method Len (line 6221) | func (*RollPitchYawRatesThrustSetpoint) Len() uint8 { method Crc (line 6226) | func (*RollPitchYawRatesThrustSetpoint) Crc() uint8 { method Pack (line 6231) | func (m *RollPitchYawRatesThrustSetpoint) Pack() []byte { method Decode (line 6252) | func (m *RollPitchYawRatesThrustSetpoint) Decode(buf []byte) { function NewRollPitchYawRatesThrustSetpoint (line 6205) | func NewRollPitchYawRatesThrustSetpoint(TIME_BOOT_MS uint32, ROLL_RATE f... type ManualSetpoint (line 6278) | type ManualSetpoint struct method Id (line 6302) | func (*ManualSetpoint) Id() uint8 { method Len (line 6307) | func (*ManualSetpoint) Len() uint8 { method Crc (line 6312) | func (*ManualSetpoint) Crc() uint8 { method Pack (line 6317) | func (m *ManualSetpoint) Pack() []byte { method Decode (line 6344) | func (m *ManualSetpoint) Decode(buf []byte) { function NewManualSetpoint (line 6289) | func NewManualSetpoint(TIME_BOOT_MS uint32, ROLL float32, PITCH float32,... type AttitudeSetpointExternal (line 6376) | type AttitudeSetpointExternal struct method Id (line 6404) | func (*AttitudeSetpointExternal) Id() uint8 { method Len (line 6409) | func (*AttitudeSetpointExternal) Len() uint8 { method Crc (line 6414) | func (*AttitudeSetpointExternal) Crc() uint8 { method Pack (line 6419) | func (m *AttitudeSetpointExternal) Pack() []byte { method Decode (line 6452) | func (m *AttitudeSetpointExternal) Decode(buf []byte) { function NewAttitudeSetpointExternal (line 6389) | func NewAttitudeSetpointExternal(TIME_BOOT_MS uint32, Q [4]float32, BODY... constant MAVLINK_MSG_ATTITUDE_SETPOINT_EXTERNAL_FIELD_q_LEN (line 6484) | MAVLINK_MSG_ATTITUDE_SETPOINT_EXTERNAL_FIELD_q_LEN = 4 type LocalNedPositionSetpointExternal (line 6494) | type LocalNedPositionSetpointExternal struct method Id (line 6532) | func (*LocalNedPositionSetpointExternal) Id() uint8 { method Len (line 6537) | func (*LocalNedPositionSetpointExternal) Len() uint8 { method Crc (line 6542) | func (*LocalNedPositionSetpointExternal) Crc() uint8 { method Pack (line 6547) | func (m *LocalNedPositionSetpointExternal) Pack() []byte { method Decode (line 6595) | func (m *LocalNedPositionSetpointExternal) Decode(buf []byte) { function NewLocalNedPositionSetpointExternal (line 6512) | func NewLocalNedPositionSetpointExternal(TIME_BOOT_MS uint32, X float32,... type GlobalPositionSetpointExternalInt (line 6648) | type GlobalPositionSetpointExternalInt struct method Id (line 6684) | func (*GlobalPositionSetpointExternalInt) Id() uint8 { method Len (line 6689) | func (*GlobalPositionSetpointExternalInt) Len() uint8 { method Crc (line 6694) | func (*GlobalPositionSetpointExternalInt) Crc() uint8 { method Pack (line 6699) | func (m *GlobalPositionSetpointExternalInt) Pack() []byte { method Decode (line 6744) | func (m *GlobalPositionSetpointExternalInt) Decode(buf []byte) { function NewGlobalPositionSetpointExternalInt (line 6665) | func NewGlobalPositionSetpointExternalInt(TIME_BOOT_MS uint32, LAT_INT i... type LocalPositionNedSystemGlobalOffset (line 6794) | type LocalPositionNedSystemGlobalOffset struct method Id (line 6818) | func (*LocalPositionNedSystemGlobalOffset) Id() uint8 { method Len (line 6823) | func (*LocalPositionNedSystemGlobalOffset) Len() uint8 { method Crc (line 6828) | func (*LocalPositionNedSystemGlobalOffset) Crc() uint8 { method Pack (line 6833) | func (m *LocalPositionNedSystemGlobalOffset) Pack() []byte { method Decode (line 6860) | func (m *LocalPositionNedSystemGlobalOffset) Decode(buf []byte) { function NewLocalPositionNedSystemGlobalOffset (line 6805) | func NewLocalPositionNedSystemGlobalOffset(TIME_BOOT_MS uint32, X float3... type HilState (line 6892) | type HilState struct method Id (line 6934) | func (*HilState) Id() uint8 { method Len (line 6939) | func (*HilState) Len() uint8 { method Crc (line 6944) | func (*HilState) Crc() uint8 { method Pack (line 6949) | func (m *HilState) Pack() []byte { method Decode (line 7003) | func (m *HilState) Decode(buf []byte) { function NewHilState (line 6912) | func NewHilState(TIME_USEC uint64, ROLL float32, PITCH float32, YAW floa... type HilControls (line 7062) | type HilControls struct method Id (line 7094) | func (*HilControls) Id() uint8 { method Len (line 7099) | func (*HilControls) Len() uint8 { method Crc (line 7104) | func (*HilControls) Crc() uint8 { method Pack (line 7109) | func (m *HilControls) Pack() []byte { method Decode (line 7148) | func (m *HilControls) Decode(buf []byte) { function NewHilControls (line 7077) | func NewHilControls(TIME_USEC uint64, ROLL_AILERONS float32, PITCH_ELEVA... type HilRcInputsRaw (line 7192) | type HilRcInputsRaw struct method Id (line 7230) | func (*HilRcInputsRaw) Id() uint8 { method Len (line 7235) | func (*HilRcInputsRaw) Len() uint8 { method Crc (line 7240) | func (*HilRcInputsRaw) Crc() uint8 { method Pack (line 7245) | func (m *HilRcInputsRaw) Pack() []byte { method Decode (line 7293) | func (m *HilRcInputsRaw) Decode(buf []byte) { function NewHilRcInputsRaw (line 7210) | func NewHilRcInputsRaw(TIME_USEC uint64, CHAN1_RAW uint16, CHAN2_RAW uin... type OpticalFlow (line 7346) | type OpticalFlow struct method Id (line 7372) | func (*OpticalFlow) Id() uint8 { method Len (line 7377) | func (*OpticalFlow) Len() uint8 { method Crc (line 7382) | func (*OpticalFlow) Crc() uint8 { method Pack (line 7387) | func (m *OpticalFlow) Pack() []byte { method Decode (line 7417) | func (m *OpticalFlow) Decode(buf []byte) { function NewOpticalFlow (line 7358) | func NewOpticalFlow(TIME_USEC uint64, FLOW_COMP_M_X float32, FLOW_COMP_M... type GlobalVisionPositionEstimate (line 7452) | type GlobalVisionPositionEstimate struct method Id (line 7476) | func (*GlobalVisionPositionEstimate) Id() uint8 { method Len (line 7481) | func (*GlobalVisionPositionEstimate) Len() uint8 { method Crc (line 7486) | func (*GlobalVisionPositionEstimate) Crc() uint8 { method Pack (line 7491) | func (m *GlobalVisionPositionEstimate) Pack() []byte { method Decode (line 7518) | func (m *GlobalVisionPositionEstimate) Decode(buf []byte) { function NewGlobalVisionPositionEstimate (line 7463) | func NewGlobalVisionPositionEstimate(USEC uint64, X float32, Y float32, ... type VisionPositionEstimate (line 7550) | type VisionPositionEstimate struct method Id (line 7574) | func (*VisionPositionEstimate) Id() uint8 { method Len (line 7579) | func (*VisionPositionEstimate) Len() uint8 { method Crc (line 7584) | func (*VisionPositionEstimate) Crc() uint8 { method Pack (line 7589) | func (m *VisionPositionEstimate) Pack() []byte { method Decode (line 7616) | func (m *VisionPositionEstimate) Decode(buf []byte) { function NewVisionPositionEstimate (line 7561) | func NewVisionPositionEstimate(USEC uint64, X float32, Y float32, Z floa... type VisionSpeedEstimate (line 7648) | type VisionSpeedEstimate struct method Id (line 7666) | func (*VisionSpeedEstimate) Id() uint8 { method Len (line 7671) | func (*VisionSpeedEstimate) Len() uint8 { method Crc (line 7676) | func (*VisionSpeedEstimate) Crc() uint8 { method Pack (line 7681) | func (m *VisionSpeedEstimate) Pack() []byte { method Decode (line 7699) | func (m *VisionSpeedEstimate) Decode(buf []byte) { function NewVisionSpeedEstimate (line 7656) | func NewVisionSpeedEstimate(USEC uint64, X float32, Y float32, Z float32... type ViconPositionEstimate (line 7722) | type ViconPositionEstimate struct method Id (line 7746) | func (*ViconPositionEstimate) Id() uint8 { method Len (line 7751) | func (*ViconPositionEstimate) Len() uint8 { method Crc (line 7756) | func (*ViconPositionEstimate) Crc() uint8 { method Pack (line 7761) | func (m *ViconPositionEstimate) Pack() []byte { method Decode (line 7788) | func (m *ViconPositionEstimate) Decode(buf []byte) { function NewViconPositionEstimate (line 7733) | func NewViconPositionEstimate(USEC uint64, X float32, Y float32, Z float... type HighresImu (line 7820) | type HighresImu struct method Id (line 7860) | func (*HighresImu) Id() uint8 { method Len (line 7865) | func (*HighresImu) Len() uint8 { method Crc (line 7870) | func (*HighresImu) Crc() uint8 { method Pack (line 7875) | func (m *HighresImu) Pack() []byte { method Decode (line 7926) | func (m *HighresImu) Decode(buf []byte) { function NewHighresImu (line 7839) | func NewHighresImu(TIME_USEC uint64, XACC float32, YACC float32, ZACC fl... type OmnidirectionalFlow (line 7982) | type OmnidirectionalFlow struct method Id (line 8004) | func (*OmnidirectionalFlow) Id() uint8 { method Len (line 8009) | func (*OmnidirectionalFlow) Len() uint8 { method Crc (line 8014) | func (*OmnidirectionalFlow) Crc() uint8 { method Pack (line 8019) | func (m *OmnidirectionalFlow) Pack() []byte { method Decode (line 8043) | func (m *OmnidirectionalFlow) Decode(buf []byte) { function NewOmnidirectionalFlow (line 7992) | func NewOmnidirectionalFlow(TIME_USEC uint64, FRONT_DISTANCE_M float32, ... constant MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_left_LEN (line 8066) | MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_left_LEN = 10 constant MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_right_LEN (line 8067) | MAVLINK_MSG_OMNIDIRECTIONAL_FLOW_FIELD_right_LEN = 10 type HilSensor (line 8077) | type HilSensor struct method Id (line 8117) | func (*HilSensor) Id() uint8 { method Len (line 8122) | func (*HilSensor) Len() uint8 { method Crc (line 8127) | func (*HilSensor) Crc() uint8 { method Pack (line 8132) | func (m *HilSensor) Pack() []byte { method Decode (line 8183) | func (m *HilSensor) Decode(buf []byte) { function NewHilSensor (line 8096) | func NewHilSensor(TIME_USEC uint64, XACC float32, YACC float32, ZACC flo... type SimState (line 8239) | type SimState struct method Id (line 8291) | func (*SimState) Id() uint8 { method Len (line 8296) | func (*SimState) Len() uint8 { method Crc (line 8301) | func (*SimState) Crc() uint8 { method Pack (line 8306) | func (m *SimState) Pack() []byte { method Decode (line 8375) | func (m *SimState) Decode(buf []byte) { function NewSimState (line 8264) | func NewSimState(Q1 float32, Q2 float32, Q3 float32, Q4 float32, ROLL fl... type RadioStatus (line 8449) | type RadioStatus struct method Id (line 8473) | func (*RadioStatus) Id() uint8 { method Len (line 8478) | func (*RadioStatus) Len() uint8 { method Crc (line 8483) | func (*RadioStatus) Crc() uint8 { method Pack (line 8488) | func (m *RadioStatus) Pack() []byte { method Decode (line 8515) | func (m *RadioStatus) Decode(buf []byte) { function NewRadioStatus (line 8460) | func NewRadioStatus(RXERRORS uint16, FIXED uint16, RSSI uint8, REMRSSI u... type FileTransferStart (line 8547) | type FileTransferStart struct method Id (line 8567) | func (*FileTransferStart) Id() uint8 { method Len (line 8572) | func (*FileTransferStart) Len() uint8 { method Crc (line 8577) | func (*FileTransferStart) Crc() uint8 { method Pack (line 8582) | func (m *FileTransferStart) Pack() []byte { method Decode (line 8603) | func (m *FileTransferStart) Decode(buf []byte) { function NewFileTransferStart (line 8556) | func NewFileTransferStart(TRANSFER_UID uint64, FILE_SIZE uint32, DEST_PA... constant MAVLINK_MSG_FILE_TRANSFER_START_FIELD_dest_path_LEN (line 8623) | MAVLINK_MSG_FILE_TRANSFER_START_FIELD_dest_path_LEN = 240 type FileTransferDirList (line 8633) | type FileTransferDirList struct method Id (line 8649) | func (*FileTransferDirList) Id() uint8 { method Len (line 8654) | func (*FileTransferDirList) Len() uint8 { method Crc (line 8659) | func (*FileTransferDirList) Crc() uint8 { method Pack (line 8664) | func (m *FileTransferDirList) Pack() []byte { method Decode (line 8679) | func (m *FileTransferDirList) Decode(buf []byte) { function NewFileTransferDirList (line 8640) | func NewFileTransferDirList(TRANSFER_UID uint64, DIR_PATH [240]uint8, FL... constant MAVLINK_MSG_FILE_TRANSFER_DIR_LIST_FIELD_dir_path_LEN (line 8693) | MAVLINK_MSG_FILE_TRANSFER_DIR_LIST_FIELD_dir_path_LEN = 240 type FileTransferRes (line 8703) | type FileTransferRes struct method Id (line 8717) | func (*FileTransferRes) Id() uint8 { method Len (line 8722) | func (*FileTransferRes) Len() uint8 { method Crc (line 8727) | func (*FileTransferRes) Crc() uint8 { method Pack (line 8732) | func (m *FileTransferRes) Pack() []byte { method Decode (line 8744) | func (m *FileTransferRes) Decode(buf []byte) { function NewFileTransferRes (line 8709) | func NewFileTransferRes(TRANSFER_UID uint64, RESULT uint8) *FileTransfer... type HilGps (line 8761) | type HilGps struct method Id (line 8797) | func (*HilGps) Id() uint8 { method Len (line 8802) | func (*HilGps) Len() uint8 { method Crc (line 8807) | func (*HilGps) Crc() uint8 { method Pack (line 8812) | func (m *HilGps) Pack() []byte { method Decode (line 8857) | func (m *HilGps) Decode(buf []byte) { function NewHilGps (line 8778) | func NewHilGps(TIME_USEC uint64, LAT int32, LON int32, ALT int32, EPH ui... type HilOpticalFlow (line 8907) | type HilOpticalFlow struct method Id (line 8933) | func (*HilOpticalFlow) Id() uint8 { method Len (line 8938) | func (*HilOpticalFlow) Len() uint8 { method Crc (line 8943) | func (*HilOpticalFlow) Crc() uint8 { method Pack (line 8948) | func (m *HilOpticalFlow) Pack() []byte { method Decode (line 8978) | func (m *HilOpticalFlow) Decode(buf []byte) { function NewHilOpticalFlow (line 8919) | func NewHilOpticalFlow(TIME_USEC uint64, FLOW_COMP_M_X float32, FLOW_COM... type HilStateQuaternion (line 9013) | type HilStateQuaternion struct method Id (line 9055) | func (*HilStateQuaternion) Id() uint8 { method Len (line 9060) | func (*HilStateQuaternion) Len() uint8 { method Crc (line 9065) | func (*HilStateQuaternion) Crc() uint8 { method Pack (line 9070) | func (m *HilStateQuaternion) Pack() []byte { method Decode (line 9124) | func (m *HilStateQuaternion) Decode(buf []byte) { function NewHilStateQuaternion (line 9033) | func NewHilStateQuaternion(TIME_USEC uint64, ATTITUDE_QUATERNION [4]floa... constant MAVLINK_MSG_HIL_STATE_QUATERNION_FIELD_attitude_quaternion_LEN (line 9177) | MAVLINK_MSG_HIL_STATE_QUATERNION_FIELD_attitude_quaternion_LEN = 4 type ScaledImu2 (line 9187) | type ScaledImu2 struct method Id (line 9217) | func (*ScaledImu2) Id() uint8 { method Len (line 9222) | func (*ScaledImu2) Len() uint8 { method Crc (line 9227) | func (*ScaledImu2) Crc() uint8 { method Pack (line 9232) | func (m *ScaledImu2) Pack() []byte { method Decode (line 9268) | func (m *ScaledImu2) Decode(buf []byte) { function NewScaledImu2 (line 9201) | func NewScaledImu2(TIME_BOOT_MS uint32, XACC int16, YACC int16, ZACC int... type LogRequestList (line 9309) | type LogRequestList struct method Id (line 9327) | func (*LogRequestList) Id() uint8 { method Len (line 9332) | func (*LogRequestList) Len() uint8 { method Crc (line 9337) | func (*LogRequestList) Crc() uint8 { method Pack (line 9342) | func (m *LogRequestList) Pack() []byte { method Decode (line 9360) | func (m *LogRequestList) Decode(buf []byte) { function NewLogRequestList (line 9317) | func NewLogRequestList(START uint16, END uint16, TARGET_SYSTEM uint8, TA... type LogEntry (line 9383) | type LogEntry struct method Id (line 9403) | func (*LogEntry) Id() uint8 { method Len (line 9408) | func (*LogEntry) Len() uint8 { method Crc (line 9413) | func (*LogEntry) Crc() uint8 { method Pack (line 9418) | func (m *LogEntry) Pack() []byte { method Decode (line 9439) | func (m *LogEntry) Decode(buf []byte) { function NewLogEntry (line 9392) | func NewLogEntry(TIME_UTC uint32, SIZE uint32, ID uint16, NUM_LOGS uint1... type LogRequestData (line 9465) | type LogRequestData struct method Id (line 9485) | func (*LogRequestData) Id() uint8 { method Len (line 9490) | func (*LogRequestData) Len() uint8 { method Crc (line 9495) | func (*LogRequestData) Crc() uint8 { method Pack (line 9500) | func (m *LogRequestData) Pack() []byte { method Decode (line 9521) | func (m *LogRequestData) Decode(buf []byte) { function NewLogRequestData (line 9474) | func NewLogRequestData(OFS uint32, COUNT uint32, ID uint16, TARGET_SYSTE... type LogData (line 9547) | type LogData struct method Id (line 9565) | func (*LogData) Id() uint8 { method Len (line 9570) | func (*LogData) Len() uint8 { method Crc (line 9575) | func (*LogData) Crc() uint8 { method Pack (line 9580) | func (m *LogData) Pack() []byte { method Decode (line 9598) | func (m *LogData) Decode(buf []byte) { function NewLogData (line 9555) | func NewLogData(OFS uint32, ID uint16, COUNT uint8, DATA [90]uint8) *Log... constant MAVLINK_MSG_LOG_DATA_FIELD_data_LEN (line 9615) | MAVLINK_MSG_LOG_DATA_FIELD_data_LEN = 90 type LogErase (line 9625) | type LogErase struct method Id (line 9639) | func (*LogErase) Id() uint8 { method Len (line 9644) | func (*LogErase) Len() uint8 { method Crc (line 9649) | func (*LogErase) Crc() uint8 { method Pack (line 9654) | func (m *LogErase) Pack() []byte { method Decode (line 9666) | func (m *LogErase) Decode(buf []byte) { function NewLogErase (line 9631) | func NewLogErase(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8) *LogErase { type LogRequestEnd (line 9683) | type LogRequestEnd struct method Id (line 9697) | func (*LogRequestEnd) Id() uint8 { method Len (line 9702) | func (*LogRequestEnd) Len() uint8 { method Crc (line 9707) | func (*LogRequestEnd) Crc() uint8 { method Pack (line 9712) | func (m *LogRequestEnd) Pack() []byte { method Decode (line 9724) | func (m *LogRequestEnd) Decode(buf []byte) { function NewLogRequestEnd (line 9689) | func NewLogRequestEnd(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8) *LogR... type GpsInjectData (line 9741) | type GpsInjectData struct method Id (line 9759) | func (*GpsInjectData) Id() uint8 { method Len (line 9764) | func (*GpsInjectData) Len() uint8 { method Crc (line 9769) | func (*GpsInjectData) Crc() uint8 { method Pack (line 9774) | func (m *GpsInjectData) Pack() []byte { method Decode (line 9792) | func (m *GpsInjectData) Decode(buf []byte) { function NewGpsInjectData (line 9749) | func NewGpsInjectData(TARGET_SYSTEM uint8, TARGET_COMPONENT uint8, LEN u... constant MAVLINK_MSG_GPS_INJECT_DATA_FIELD_data_LEN (line 9809) | MAVLINK_MSG_GPS_INJECT_DATA_FIELD_data_LEN = 110 type Gps2Raw (line 9819) | type Gps2Raw struct method Id (line 9853) | func (*Gps2Raw) Id() uint8 { method Len (line 9858) | func (*Gps2Raw) Len() uint8 { method Crc (line 9863) | func (*Gps2Raw) Crc() uint8 { method Pack (line 9868) | func (m *Gps2Raw) Pack() []byte { method Decode (line 9910) | func (m *Gps2Raw) Decode(buf []byte) { function NewGps2Raw (line 9835) | func NewGps2Raw(TIME_USEC uint64, LAT int32, LON int32, ALT int32, DGPS_... type PowerStatus (line 9957) | type PowerStatus struct method Id (line 9973) | func (*PowerStatus) Id() uint8 { method Len (line 9978) | func (*PowerStatus) Len() uint8 { method Crc (line 9983) | func (*PowerStatus) Crc() uint8 { method Pack (line 9988) | func (m *PowerStatus) Pack() []byte { method Decode (line 10003) | func (m *PowerStatus) Decode(buf []byte) { function NewPowerStatus (line 9964) | func NewPowerStatus(VCC uint16, VSERVO uint16, FLAGS uint16) *PowerStatus { type SerialControl (line 10023) | type SerialControl struct method Id (line 10045) | func (*SerialControl) Id() uint8 { method Len (line 10050) | func (*SerialControl) Len() uint8 { method Crc (line 10055) | func (*SerialControl) Crc() uint8 { method Pack (line 10060) | func (m *SerialControl) Pack() []byte { method Decode (line 10084) | func (m *SerialControl) Decode(buf []byte) { function NewSerialControl (line 10033) | func NewSerialControl(BAUDRATE uint32, TIMEOUT uint16, DEVICE uint8, FLA... constant MAVLINK_MSG_SERIAL_CONTROL_FIELD_data_LEN (line 10107) | MAVLINK_MSG_SERIAL_CONTROL_FIELD_data_LEN = 70 type GpsRtk (line 10117) | type GpsRtk struct method Id (line 10153) | func (*GpsRtk) Id() uint8 { method Len (line 10158) | func (*GpsRtk) Len() uint8 { method Crc (line 10163) | func (*GpsRtk) Crc() uint8 { method Pack (line 10168) | func (m *GpsRtk) Pack() []byte { method Decode (line 10213) | func (m *GpsRtk) Decode(buf []byte) { function NewGpsRtk (line 10134) | func NewGpsRtk(TIME_LAST_BASELINE_MS uint32, TOW uint32, BASELINE_A_MM i... type Gps2Rtk (line 10263) | type Gps2Rtk struct method Id (line 10299) | func (*Gps2Rtk) Id() uint8 { method Len (line 10304) | func (*Gps2Rtk) Len() uint8 { method Crc (line 10309) | func (*Gps2Rtk) Crc() uint8 { method Pack (line 10314) | func (m *Gps2Rtk) Pack() []byte { method Decode (line 10359) | func (m *Gps2Rtk) Decode(buf []byte) { function NewGps2Rtk (line 10280) | func NewGps2Rtk(TIME_LAST_BASELINE_MS uint32, TOW uint32, BASELINE_A_MM ... type DataTransmissionHandshake (line 10409) | type DataTransmissionHandshake struct method Id (line 10433) | func (*DataTransmissionHandshake) Id() uint8 { method Len (line 10438) | func (*DataTransmissionHandshake) Len() uint8 { method Crc (line 10443) | func (*DataTransmissionHandshake) Crc() uint8 { method Pack (line 10448) | func (m *DataTransmissionHandshake) Pack() []byte { method Decode (line 10475) | func (m *DataTransmissionHandshake) Decode(buf []byte) { function NewDataTransmissionHandshake (line 10420) | func NewDataTransmissionHandshake(SIZE uint32, WIDTH uint16, HEIGHT uint... type EncapsulatedData (line 10507) | type EncapsulatedData struct method Id (line 10521) | func (*EncapsulatedData) Id() uint8 { method Len (line 10526) | func (*EncapsulatedData) Len() uint8 { method Crc (line 10531) | func (*EncapsulatedData) Crc() uint8 { method Pack (line 10536) | func (m *EncapsulatedData) Pack() []byte { method Decode (line 10548) | func (m *EncapsulatedData) Decode(buf []byte) { function NewEncapsulatedData (line 10513) | func NewEncapsulatedData(SEQNR uint16, DATA [253]uint8) *EncapsulatedData { constant MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_data_LEN (line 10559) | MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_data_LEN = 253 type DistanceSensor (line 10569) | type DistanceSensor struct method Id (line 10595) | func (*DistanceSensor) Id() uint8 { method Len (line 10600) | func (*DistanceSensor) Len() uint8 { method Crc (line 10605) | func (*DistanceSensor) Crc() uint8 { method Pack (line 10610) | func (m *DistanceSensor) Pack() []byte { method Decode (line 10640) | func (m *DistanceSensor) Decode(buf []byte) { function NewDistanceSensor (line 10581) | func NewDistanceSensor(TIME_BOOT_MS uint32, MIN_DISTANCE uint16, MAX_DIS... type TerrainRequest (line 10675) | type TerrainRequest struct method Id (line 10693) | func (*TerrainRequest) Id() uint8 { method Len (line 10698) | func (*TerrainRequest) Len() uint8 { method Crc (line 10703) | func (*TerrainRequest) Crc() uint8 { method Pack (line 10708) | func (m *TerrainRequest) Pack() []byte { method Decode (line 10726) | func (m *TerrainRequest) Decode(buf []byte) { function NewTerrainRequest (line 10683) | func NewTerrainRequest(MASK uint64, LAT int32, LON int32, GRID_SPACING u... type TerrainData (line 10749) | type TerrainData struct method Id (line 10769) | func (*TerrainData) Id() uint8 { method Len (line 10774) | func (*TerrainData) Len() uint8 { method Crc (line 10779) | func (*TerrainData) Crc() uint8 { method Pack (line 10784) | func (m *TerrainData) Pack() []byte { method Decode (line 10805) | func (m *TerrainData) Decode(buf []byte) { function NewTerrainData (line 10758) | func NewTerrainData(LAT int32, LON int32, GRID_SPACING uint16, DATA [16]... constant MAVLINK_MSG_TERRAIN_DATA_FIELD_data_LEN (line 10825) | MAVLINK_MSG_TERRAIN_DATA_FIELD_data_LEN = 16 type TerrainCheck (line 10835) | type TerrainCheck struct method Id (line 10849) | func (*TerrainCheck) Id() uint8 { method Len (line 10854) | func (*TerrainCheck) Len() uint8 { method Crc (line 10859) | func (*TerrainCheck) Crc() uint8 { method Pack (line 10864) | func (m *TerrainCheck) Pack() []byte { method Decode (line 10876) | func (m *TerrainCheck) Decode(buf []byte) { function NewTerrainCheck (line 10841) | func NewTerrainCheck(LAT int32, LON int32) *TerrainCheck { type TerrainReport (line 10893) | type TerrainReport struct method Id (line 10917) | func (*TerrainReport) Id() uint8 { method Len (line 10922) | func (*TerrainReport) Len() uint8 { method Crc (line 10927) | func (*TerrainReport) Crc() uint8 { method Pack (line 10932) | func (m *TerrainReport) Pack() []byte { method Decode (line 10959) | func (m *TerrainReport) Decode(buf []byte) { function NewTerrainReport (line 10904) | func NewTerrainReport(LAT int32, LON int32, TERRAIN_HEIGHT float32, CURR... type BatteryStatus (line 10991) | type BatteryStatus struct method Id (line 11023) | func (*BatteryStatus) Id() uint8 { method Len (line 11028) | func (*BatteryStatus) Len() uint8 { method Crc (line 11033) | func (*BatteryStatus) Crc() uint8 { method Pack (line 11038) | func (m *BatteryStatus) Pack() []byte { method Decode (line 11077) | func (m *BatteryStatus) Decode(buf []byte) { function NewBatteryStatus (line 11006) | func NewBatteryStatus(CURRENT_CONSUMED int32, ENERGY_CONSUMED int32, VOL... type Setpoint8Dof (line 11121) | type Setpoint8Dof struct method Id (line 11149) | func (*Setpoint8Dof) Id() uint8 { method Len (line 11154) | func (*Setpoint8Dof) Len() uint8 { method Crc (line 11159) | func (*Setpoint8Dof) Crc() uint8 { method Pack (line 11164) | func (m *Setpoint8Dof) Pack() []byte { method Decode (line 11197) | func (m *Setpoint8Dof) Decode(buf []byte) { function NewSetpoint8Dof (line 11134) | func NewSetpoint8Dof(VAL1 float32, VAL2 float32, VAL3 float32, VAL4 floa... type Setpoint6Dof (line 11235) | type Setpoint6Dof struct method Id (line 11259) | func (*Setpoint6Dof) Id() uint8 { method Len (line 11264) | func (*Setpoint6Dof) Len() uint8 { method Crc (line 11269) | func (*Setpoint6Dof) Crc() uint8 { method Pack (line 11274) | func (m *Setpoint6Dof) Pack() []byte { method Decode (line 11301) | func (m *Setpoint6Dof) Decode(buf []byte) { function NewSetpoint6Dof (line 11246) | func NewSetpoint6Dof(TRANS_X float32, TRANS_Y float32, TRANS_Z float32, ... type MemoryVect (line 11333) | type MemoryVect struct method Id (line 11351) | func (*MemoryVect) Id() uint8 { method Len (line 11356) | func (*MemoryVect) Len() uint8 { method Crc (line 11361) | func (*MemoryVect) Crc() uint8 { method Pack (line 11366) | func (m *MemoryVect) Pack() []byte { method Decode (line 11384) | func (m *MemoryVect) Decode(buf []byte) { function NewMemoryVect (line 11341) | func NewMemoryVect(ADDRESS uint16, VER uint8, TYPE uint8, VALUE [32]int8... constant MAVLINK_MSG_MEMORY_VECT_FIELD_value_LEN (line 11401) | MAVLINK_MSG_MEMORY_VECT_FIELD_value_LEN = 32 type DebugVect (line 11411) | type DebugVect struct method Id (line 11431) | func (*DebugVect) Id() uint8 { method Len (line 11436) | func (*DebugVect) Len() uint8 { method Crc (line 11441) | func (*DebugVect) Crc() uint8 { method Pack (line 11446) | func (m *DebugVect) Pack() []byte { method Decode (line 11467) | func (m *DebugVect) Decode(buf []byte) { function NewDebugVect (line 11420) | func NewDebugVect(TIME_USEC uint64, X float32, Y float32, Z float32, NAM... constant MAVLINK_MSG_DEBUG_VECT_FIELD_name_LEN (line 11487) | MAVLINK_MSG_DEBUG_VECT_FIELD_name_LEN = 10 type NamedValueFloat (line 11497) | type NamedValueFloat struct method Id (line 11513) | func (*NamedValueFloat) Id() uint8 { method Len (line 11518) | func (*NamedValueFloat) Len() uint8 { method Crc (line 11523) | func (*NamedValueFloat) Crc() uint8 { method Pack (line 11528) | func (m *NamedValueFloat) Pack() []byte { method Decode (line 11543) | func (m *NamedValueFloat) Decode(buf []byte) { function NewNamedValueFloat (line 11504) | func NewNamedValueFloat(TIME_BOOT_MS uint32, VALUE float32, NAME [10]uin... constant MAVLINK_MSG_NAMED_VALUE_FLOAT_FIELD_name_LEN (line 11557) | MAVLINK_MSG_NAMED_VALUE_FLOAT_FIELD_name_LEN = 10 type NamedValueInt (line 11567) | type NamedValueInt struct method Id (line 11583) | func (*NamedValueInt) Id() uint8 { method Len (line 11588) | func (*NamedValueInt) Len() uint8 { method Crc (line 11593) | func (*NamedValueInt) Crc() uint8 { method Pack (line 11598) | func (m *NamedValueInt) Pack() []byte { method Decode (line 11613) | func (m *NamedValueInt) Decode(buf []byte) { function NewNamedValueInt (line 11574) | func NewNamedValueInt(TIME_BOOT_MS uint32, VALUE int32, NAME [10]uint8) ... constant MAVLINK_MSG_NAMED_VALUE_INT_FIELD_name_LEN (line 11627) | MAVLINK_MSG_NAMED_VALUE_INT_FIELD_name_LEN = 10 type Statustext (line 11637) | type Statustext struct method Id (line 11651) | func (*Statustext) Id() uint8 { method Len (line 11656) | func (*Statustext) Len() uint8 { method Crc (line 11661) | func (*Statustext) Crc() uint8 { method Pack (line 11666) | func (m *Statustext) Pack() []byte { method Decode (line 11678) | func (m *Statustext) Decode(buf []byte) { function NewStatustext (line 11643) | func NewStatustext(SEVERITY uint8, TEXT [50]uint8) *Statustext { constant MAVLINK_MSG_STATUSTEXT_FIELD_text_LEN (line 11689) | MAVLINK_MSG_STATUSTEXT_FIELD_text_LEN = 50 type Debug (line 11699) | type Debug struct method Id (line 11715) | func (*Debug) Id() uint8 { method Len (line 11720) | func (*Debug) Len() uint8 { method Crc (line 11725) | func (*Debug) Crc() uint8 { method Pack (line 11730) | func (m *Debug) Pack() []byte { method Decode (line 11745) | func (m *Debug) Decode(buf []byte) { function NewDebug (line 11706) | func NewDebug(TIME_BOOT_MS uint32, VALUE float32, IND uint8) *Debug { FILE: platforms/mavlink/common/mavlink.go constant MAVLINK_BIG_ENDIAN (line 16) | MAVLINK_BIG_ENDIAN = 0 constant MAVLINK_LITTLE_ENDIAN (line 17) | MAVLINK_LITTLE_ENDIAN = 1 constant MAVLINK_10_STX (line 18) | MAVLINK_10_STX = 254 constant MAVLINK_20_STX (line 19) | MAVLINK_20_STX = 253 constant MAVLINK_ENDIAN (line 20) | MAVLINK_ENDIAN = MAVLINK_LITTLE_ENDIAN constant MAVLINK_ALIGNED_FIELDS (line 21) | MAVLINK_ALIGNED_FIELDS = 1 constant MAVLINK_CRC_EXTRA (line 22) | MAVLINK_CRC_EXTRA = 1 constant X25_INIT_CRC (line 23) | X25_INIT_CRC = 0xffff constant X25_VALIDATE_CRC (line 24) | X25_VALIDATE_CRC = 0xf0b8 function generateSequence (line 29) | func generateSequence() uint8 { type MAVLinkMessage (line 35) | type MAVLinkMessage interface type MAVLinkPacket (line 44) | type MAVLinkPacket struct method MAVLinkMessage (line 120) | func (m *MAVLinkPacket) MAVLinkMessage() (MAVLinkMessage, error) { method Pack (line 125) | func (m *MAVLinkPacket) Pack() []byte { method Decode (line 153) | func (m *MAVLinkPacket) Decode(buf []byte) { function ReadMAVLinkPacket (line 57) | func ReadMAVLinkPacket(r io.Reader) (*MAVLinkPacket, error) { function CraftMAVLinkPacket (line 83) | func CraftMAVLinkPacket(systemID uint8, cComponentID uint8, mMessage MAV... function NewMAVLinkPacket (line 96) | func NewMAVLinkPacket( function read (line 165) | func read(r io.Reader, length int) ([]byte, error) { function crcAccumulate (line 193) | func crcAccumulate(data uint8, crcAccum uint16) uint16 { function crcInit (line 204) | func crcInit() uint16 { function crcCalculate (line 211) | func crcCalculate(m *MAVLinkPacket) uint16 { FILE: platforms/mavlink/common/version.go constant MAVLINK_BUILD_DATE (line 9) | MAVLINK_BUILD_DATE = "Fri Sep 26 19:23:02 2014" constant MAVLINK_WIRE_PROTOCOL_VERSION (line 10) | MAVLINK_WIRE_PROTOCOL_VERSION = "1.0" constant MAVLINK_MAX_DIALECT_PAYLOAD_SIZE (line 11) | MAVLINK_MAX_DIALECT_PAYLOAD_SIZE = 255 constant MAVLINK_VERSION (line 12) | MAVLINK_VERSION = 3 FILE: platforms/mavlink/mavlink_adaptor.go type BaseAdaptor (line 13) | type BaseAdaptor interface type Adaptor (line 21) | type Adaptor struct method Name (line 39) | func (m *Adaptor) Name() string { return m.name } method SetName (line 40) | func (m *Adaptor) SetName(n string) { m.name = n } method Port (line 41) | func (m *Adaptor) Port() string { return m.port } method Connect (line 44) | func (m *Adaptor) Connect() error { method Finalize (line 55) | func (m *Adaptor) Finalize() error { method ReadMAVLinkPacket (line 59) | func (m *Adaptor) ReadMAVLinkPacket() (*common.MAVLinkPacket, error) { method Write (line 63) | func (m *Adaptor) Write(b []byte) (int, error) { function NewAdaptor (line 29) | func NewAdaptor(port string) *Adaptor { FILE: platforms/mavlink/mavlink_adaptor_test.go type nullReadWriteCloser (line 17) | type nullReadWriteCloser struct method Write (line 27) | func (nullReadWriteCloser) Write(p []byte) (int, error) { method Read (line 40) | func (nullReadWriteCloser) Read(b []byte) (int, error) { method Close (line 48) | func (nullReadWriteCloser) Close() error { function initTestMavlinkAdaptor (line 52) | func initTestMavlinkAdaptor() *Adaptor { function TestMavlinkAdaptor (line 59) | func TestMavlinkAdaptor(t *testing.T) { function TestMavlinkAdaptorName (line 64) | func TestMavlinkAdaptorName(t *testing.T) { function TestMavlinkAdaptorConnect (line 71) | func TestMavlinkAdaptorConnect(t *testing.T) { function TestMavlinkAdaptorFinalize (line 79) | func TestMavlinkAdaptorFinalize(t *testing.T) { FILE: platforms/mavlink/mavlink_driver.go constant PacketEvent (line 12) | PacketEvent = "packet" constant MessageEvent (line 14) | MessageEvent = "message" constant ErrorIOEvent (line 16) | ErrorIOEvent = "errorIO" constant ErrorMAVLinkEvent (line 18) | ErrorMAVLinkEvent = "errorMAVLink" type Driver (line 21) | type Driver struct method Connection (line 57) | func (m *Driver) Connection() gobot.Connection { return m.connection } method Name (line 58) | func (m *Driver) Name() string { return m.name } method SetName (line 59) | func (m *Driver) SetName(n string) { m.name = n } method adaptor (line 62) | func (m *Driver) adaptor() BaseAdaptor { method Start (line 69) | func (m *Driver) Start() error { method Halt (line 91) | func (m *Driver) Halt() error { return nil } method SendPacket (line 94) | func (m *Driver) SendPacket(packet *common.MAVLinkPacket) error { type MavlinkInterface (line 29) | type MavlinkInterface interface function NewDriver (line 37) | func NewDriver(a BaseAdaptor, v ...time.Duration) *Driver { FILE: platforms/mavlink/mavlink_driver_test.go function initTestMavlinkDriver (line 19) | func initTestMavlinkDriver() *Driver { function TestMavlinkDriver (line 26) | func TestMavlinkDriver(t *testing.T) { function TestMavlinkDriverName (line 39) | func TestMavlinkDriverName(t *testing.T) { function TestMavlinkDriverStart (line 46) | func TestMavlinkDriverStart(t *testing.T) { function TestMavlinkDriverHalt (line 86) | func TestMavlinkDriverHalt(t *testing.T) { FILE: platforms/mavlink/mavlink_udp_adaptor.go type UDPConnection (line 9) | type UDPConnection interface type UDPAdaptor (line 15) | type UDPAdaptor struct method Name (line 32) | func (m *UDPAdaptor) Name() string { return m.name } method SetName (line 33) | func (m *UDPAdaptor) SetName(n string) { m.name = n } method Port (line 34) | func (m *UDPAdaptor) Port() string { return m.port } method Connect (line 37) | func (m *UDPAdaptor) Connect() error { method close (line 52) | func (m *UDPAdaptor) close() error { method Finalize (line 64) | func (m *UDPAdaptor) Finalize() error { method ReadMAVLinkPacket (line 68) | func (m *UDPAdaptor) ReadMAVLinkPacket() (*common.MAVLinkPacket, error) { method Write (line 94) | func (m *UDPAdaptor) Write(b []byte) (int, error) { function NewUDPAdaptor (line 25) | func NewUDPAdaptor(port string) *UDPAdaptor { FILE: platforms/mavlink/mavlink_udp_adaptor_test.go type MockUDPConnection (line 19) | type MockUDPConnection struct method Close (line 25) | func (m *MockUDPConnection) Close() error { method ReadFromUDP (line 29) | func (m *MockUDPConnection) ReadFromUDP(b []byte) (int, *net.UDPAddr, ... method WriteTo (line 33) | func (m *MockUDPConnection) WriteTo(b []byte, a net.Addr) (int, error) { function NewMockUDPConnection (line 37) | func NewMockUDPConnection() *MockUDPConnection { function initTestMavlinkUDPAdaptor (line 51) | func initTestMavlinkUDPAdaptor() *UDPAdaptor { function TestMavlinkUDPAdaptor (line 56) | func TestMavlinkUDPAdaptor(t *testing.T) { function TestMavlinkUDPAdaptorName (line 61) | func TestMavlinkUDPAdaptorName(t *testing.T) { function TestMavlinkUDPAdaptorConnectAndFinalize (line 68) | func TestMavlinkUDPAdaptorConnectAndFinalize(t *testing.T) { function TestMavlinkUDPAdaptorWrite (line 74) | func TestMavlinkUDPAdaptorWrite(t *testing.T) { function TestMavlinkReadMAVLinkReadDefaultPacket (line 90) | func TestMavlinkReadMAVLinkReadDefaultPacket(t *testing.T) { function TestMavlinkReadMAVLinkPacketReadError (line 109) | func TestMavlinkReadMAVLinkPacketReadError(t *testing.T) { FILE: platforms/mqtt/mqtt_adaptor.go type Message (line 18) | type Message type Adaptor (line 21) | type Adaptor struct method Name (line 64) | func (a *Adaptor) Name() string { return a.name } method SetName (line 67) | func (a *Adaptor) SetName(n string) { a.name = n } method Port (line 70) | func (a *Adaptor) Port() string { return a.Host } method AutoReconnect (line 73) | func (a *Adaptor) AutoReconnect() bool { return a.autoReconnect } method SetAutoReconnect (line 76) | func (a *Adaptor) SetAutoReconnect(val bool) { a.autoReconnect = val } method CleanSession (line 79) | func (a *Adaptor) CleanSession() bool { return a.cleanSession } method SetCleanSession (line 83) | func (a *Adaptor) SetCleanSession(val bool) { a.cleanSession = val } method UseSSL (line 86) | func (a *Adaptor) UseSSL() bool { return a.useSSL } method SetUseSSL (line 89) | func (a *Adaptor) SetUseSSL(val bool) { a.useSSL = val } method ServerCert (line 92) | func (a *Adaptor) ServerCert() string { return a.serverCert } method SetQoS (line 95) | func (a *Adaptor) SetQoS(qos int) { a.qos = qos } method SetServerCert (line 98) | func (a *Adaptor) SetServerCert(val string) { a.serverCert = val } method ClientCert (line 101) | func (a *Adaptor) ClientCert() string { return a.clientCert } method SetClientCert (line 104) | func (a *Adaptor) SetClientCert(val string) { a.clientCert = val } method ClientKey (line 107) | func (a *Adaptor) ClientKey() string { return a.clientKey } method SetClientKey (line 110) | func (a *Adaptor) SetClientKey(val string) { a.clientKey = val } method Connect (line 113) | func (a *Adaptor) Connect() error { method Disconnect (line 123) | func (a *Adaptor) Disconnect() error { method Finalize (line 131) | func (a *Adaptor) Finalize() error { method Publish (line 136) | func (a *Adaptor) Publish(topic string, message []byte) bool { method PublishAndRetain (line 142) | func (a *Adaptor) PublishAndRetain(topic string, message []byte) bool { method PublishWithQOS (line 152) | func (a *Adaptor) PublishWithQOS(topic string, qos int, message []byte... method OnWithQOS (line 162) | func (a *Adaptor) OnWithQOS(event string, qos int, f func(msg Message)... method On (line 175) | func (a *Adaptor) On(event string, f func(msg Message)) bool { method createClientOptions (line 180) | func (a *Adaptor) createClientOptions() *paho.ClientOptions { method newTLSConfig (line 199) | func (a *Adaptor) newTLSConfig() *tls.Config { function NewAdaptor (line 38) | func NewAdaptor(host string, clientID string) *Adaptor { function NewAdaptorWithAuth (line 50) | func NewAdaptorWithAuth(host, clientID, username, password string) *Adap... FILE: platforms/mqtt/mqtt_adaptor_test.go function initTestMqttAdaptor (line 16) | func initTestMqttAdaptor() *Adaptor { function TestMqttAdaptorName (line 20) | func TestMqttAdaptorName(t *testing.T) { function TestMqttAdaptorPort (line 27) | func TestMqttAdaptorPort(t *testing.T) { function TestMqttAdaptorAutoReconnect (line 32) | func TestMqttAdaptorAutoReconnect(t *testing.T) { function TestMqttAdaptorCleanSession (line 39) | func TestMqttAdaptorCleanSession(t *testing.T) { function TestMqttAdaptorUseSSL (line 46) | func TestMqttAdaptorUseSSL(t *testing.T) { function TestMqttAdaptorUseServerCert (line 53) | func TestMqttAdaptorUseServerCert(t *testing.T) { function TestMqttAdaptorUseClientCert (line 60) | func TestMqttAdaptorUseClientCert(t *testing.T) { function TestMqttAdaptorUseClientKey (line 67) | func TestMqttAdaptorUseClientKey(t *testing.T) { function TestMqttAdaptorConnectError (line 74) | func TestMqttAdaptorConnectError(t *testing.T) { function TestMqttAdaptorConnectSSLError (line 81) | func TestMqttAdaptorConnectSSLError(t *testing.T) { function TestMqttAdaptorConnectWithAuthError (line 88) | func TestMqttAdaptorConnectWithAuthError(t *testing.T) { function TestMqttAdaptorFinalize (line 93) | func TestMqttAdaptorFinalize(t *testing.T) { function TestMqttAdaptorCannotPublishUnlessConnected (line 98) | func TestMqttAdaptorCannotPublishUnlessConnected(t *testing.T) { function TestMqttAdaptorPublishWhenConnected (line 104) | func TestMqttAdaptorPublishWhenConnected(t *testing.T) { function TestMqttAdaptorCannotOnUnlessConnected (line 111) | func TestMqttAdaptorCannotOnUnlessConnected(t *testing.T) { function TestMqttAdaptorOnWhenConnected (line 118) | func TestMqttAdaptorOnWhenConnected(t *testing.T) { function TestMqttAdaptorQoS (line 126) | func TestMqttAdaptorQoS(t *testing.T) { FILE: platforms/mqtt/mqtt_driver.go constant Data (line 7) | Data = "data" constant Error (line 10) | Error = "error" type Driver (line 14) | type Driver struct method Name (line 40) | func (m *Driver) Name() string { return m.name } method SetName (line 43) | func (m *Driver) SetName(name string) { m.name = name } method Connection (line 46) | func (m *Driver) Connection() gobot.Connection { method adaptor (line 50) | func (m *Driver) adaptor() *Adaptor { method Start (line 56) | func (m *Driver) Start() error { method Halt (line 61) | func (m *Driver) Halt() error { method Topic (line 66) | func (m *Driver) Topic() string { return m.topic } method SetTopic (line 69) | func (m *Driver) SetTopic(topic string) { m.topic = topic } method Publish (line 72) | func (m *Driver) Publish(data interface{}) bool { method On (line 80) | func (m *Driver) On(n string, f func(msg interface{})) error { function NewDriver (line 24) | func NewDriver(a *Adaptor, topic string) *Driver { FILE: platforms/mqtt/mqtt_driver_test.go function TestMqttDriver (line 15) | func TestMqttDriver(t *testing.T) { function TestMqttDriverName (line 25) | func TestMqttDriverName(t *testing.T) { function TestMqttDriverTopic (line 32) | func TestMqttDriverTopic(t *testing.T) { function TestMqttDriverPublish (line 39) | func TestMqttDriverPublish(t *testing.T) { function TestMqttDriverPublishError (line 48) | func TestMqttDriverPublishError(t *testing.T) { FILE: platforms/nats/nats_adaptor.go type Adaptor (line 17) | type Adaptor struct method Name (line 85) | func (a *Adaptor) Name() string { return a.name } method SetName (line 88) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 91) | func (a *Adaptor) Connect() error { method Disconnect (line 98) | func (a *Adaptor) Disconnect() error { method Finalize (line 106) | func (a *Adaptor) Finalize() error { method Publish (line 111) | func (a *Adaptor) Publish(topic string, message []byte) bool { method On (line 126) | func (a *Adaptor) On(event string, f func(msg Message)) bool { type Message (line 28) | type Message function NewAdaptor (line 31) | func NewAdaptor(host string, clientID int, options ...nats.Option) *Adap... function NewAdaptorWithAuth (line 48) | func NewAdaptorWithAuth(host string, clientID int, username string, pass... function processHostString (line 65) | func processHostString(host string) (string, error) { FILE: platforms/nats/nats_adaptor_test.go function connStub (line 18) | func connStub(options ...nats.Option) func() (*nats.Conn, error) { function initTestNatsAdaptor (line 31) | func initTestNatsAdaptor() *Adaptor { function initTestNatsAdaptorWithAuth (line 40) | func initTestNatsAdaptorWithAuth() *Adaptor { function initTestNatsAdaptorTLS (line 49) | func initTestNatsAdaptorTLS(options ...nats.Option) *Adaptor { function TestNatsAdaptorName (line 55) | func TestNatsAdaptorName(t *testing.T) { function TestNatsAdaptorReturnsHost (line 62) | func TestNatsAdaptorReturnsHost(t *testing.T) { function TestNatsAdaptorWithAuth (line 67) | func TestNatsAdaptorWithAuth(t *testing.T) { function TestNatsAdapterSetsRootCAs (line 73) | func TestNatsAdapterSetsRootCAs(t *testing.T) { function TestNatsAdapterSetsClientCerts (line 84) | func TestNatsAdapterSetsClientCerts(t *testing.T) { function TestNatsAdapterSetsClientCertsWithUserInfo (line 95) | func TestNatsAdapterSetsClientCertsWithUserInfo(t *testing.T) { function TestNatsAdaptorPublishWhenConnected (line 110) | func TestNatsAdaptorPublishWhenConnected(t *testing.T) { function TestNatsAdaptorOnWhenConnected (line 119) | func TestNatsAdaptorOnWhenConnected(t *testing.T) { function TestNatsAdaptorPublishWhenConnectedWithAuth (line 129) | func TestNatsAdaptorPublishWhenConnectedWithAuth(t *testing.T) { function TestNatsAdaptorOnWhenConnectedWithAuth (line 138) | func TestNatsAdaptorOnWhenConnectedWithAuth(t *testing.T) { function TestNatsAdaptorFailedConnect (line 148) | func TestNatsAdaptorFailedConnect(t *testing.T) { function TestNatsAdaptorFinalize (line 157) | func TestNatsAdaptorFinalize(t *testing.T) { function TestNatsAdaptorCannotPublishUnlessConnected (line 162) | func TestNatsAdaptorCannotPublishUnlessConnected(t *testing.T) { function TestNatsAdaptorCannotOnUnlessConnected (line 168) | func TestNatsAdaptorCannotOnUnlessConnected(t *testing.T) { FILE: platforms/nats/nats_driver.go constant Data (line 7) | Data = "data" constant Error (line 10) | Error = "error" type Driver (line 14) | type Driver struct method Name (line 37) | func (m *Driver) Name() string { return m.name } method SetName (line 40) | func (m *Driver) SetName(name string) { m.name = name } method Connection (line 43) | func (m *Driver) Connection() gobot.Connection { method adaptor (line 47) | func (m *Driver) adaptor() *Adaptor { method Start (line 53) | func (m *Driver) Start() error { method Halt (line 58) | func (m *Driver) Halt() error { method Topic (line 63) | func (m *Driver) Topic() string { return m.topic } method SetTopic (line 66) | func (m *Driver) SetTopic(topic string) { m.topic = topic } method Publish (line 69) | func (m *Driver) Publish(data interface{}) bool { method On (line 77) | func (m *Driver) On(n string, f func(msg Message)) error { function NewDriver (line 24) | func NewDriver(a *Adaptor, topic string) *Driver { FILE: platforms/nats/nats_driver_test.go function TestNatsDriver (line 15) | func TestNatsDriver(t *testing.T) { function TestNatsDriverName (line 26) | func TestNatsDriverName(t *testing.T) { function TestNatsDriverTopic (line 33) | func TestNatsDriverTopic(t *testing.T) { FILE: platforms/opencv/camera_driver.go type capture (line 13) | type capture interface constant Frame (line 19) | Frame = "frame" type CameraDriver (line 23) | type CameraDriver struct method Name (line 57) | func (c *CameraDriver) Name() string { return c.name } method SetName (line 60) | func (c *CameraDriver) SetName(n string) { c.name = n } method Connection (line 63) | func (c *CameraDriver) Connection() gobot.Connection { return nil } method Start (line 66) | func (c *CameraDriver) Start() error { method Halt (line 82) | func (c *CameraDriver) Halt() error { return nil } function NewCameraDriver (line 33) | func NewCameraDriver(source interface{}) *CameraDriver { FILE: platforms/opencv/camera_driver_test.go function initTestCameraDriver (line 19) | func initTestCameraDriver() *CameraDriver { function TestCameraDriver (line 28) | func TestCameraDriver(t *testing.T) { function TestCameraDriverName (line 34) | func TestCameraDriverName(t *testing.T) { function TestCameraDriverStart (line 41) | func TestCameraDriverStart(t *testing.T) { function TestCameraDriverHalt (line 61) | func TestCameraDriverHalt(t *testing.T) { FILE: platforms/opencv/helpers_test.go type testCapture (line 10) | type testCapture struct method Read (line 12) | func (c *testCapture) Read(img *gocv.Mat) bool { type testWindow (line 16) | type testWindow struct method ShowImage (line 18) | func (w *testWindow) ShowImage(img gocv.Mat) { return } FILE: platforms/opencv/utils.go function loadCascadeClassifier (line 16) | func loadCascadeClassifier(haar string) *gocv.CascadeClassifier { function DetectObjects (line 28) | func DetectObjects(haar string, img gocv.Mat) []image.Rectangle { function DrawRectangles (line 33) | func DrawRectangles(img gocv.Mat, rects []image.Rectangle, r int, g int,... FILE: platforms/opencv/utils_test.go function TestUtils (line 16) | func TestUtils(t *testing.T) { FILE: platforms/opencv/window_driver.go type window (line 11) | type window interface type WindowDriver (line 16) | type WindowDriver struct method Name (line 34) | func (w *WindowDriver) Name() string { return w.name } method SetName (line 37) | func (w *WindowDriver) SetName(n string) { w.name = n } method Connection (line 40) | func (w *WindowDriver) Connection() gobot.Connection { return nil } method Start (line 43) | func (w *WindowDriver) Start() error { method Halt (line 49) | func (w *WindowDriver) Halt() error { return nil } method ShowImage (line 52) | func (w *WindowDriver) ShowImage(img gocv.Mat) { method WaitKey (line 57) | func (w *WindowDriver) WaitKey(pause int) int { function NewWindowDriver (line 24) | func NewWindowDriver() *WindowDriver { FILE: platforms/opencv/window_driver_test.go function initTestWindowDriver (line 21) | func initTestWindowDriver() *WindowDriver { function TestWindowDriver (line 26) | func TestWindowDriver(t *testing.T) { function TestWindowDriverName (line 32) | func TestWindowDriverName(t *testing.T) { function TestWindowDriverStart (line 39) | func TestWindowDriverStart(t *testing.T) { function TestWindowDriverHalt (line 44) | func TestWindowDriverHalt(t *testing.T) { function TestWindowDriverShowImage (line 49) | func TestWindowDriverShowImage(t *testing.T) { FILE: platforms/orangepi/orangepi5pro/adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 4 constant defaultSpiBusNumber (line 17) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 18) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 19) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 20) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 500000 type Adaptor (line 25) | type Adaptor struct method Name (line 107) | func (a *Adaptor) Name() string { return a.name } method SetName (line 110) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 113) | func (a *Adaptor) Connect() error { method Finalize (line 137) | func (a *Adaptor) Finalize() error { function NewAdaptor (line 55) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/orangepi/orangepi5pro/adaptor_test.go constant pwmDir (line 19) | pwmDir = "/sys/devices/platform/febf0030.pwm/pwm/pwmchip2/" constant pwmExportPath (line 20) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 21) | pwmUnexportPath = pwmDir + "unexport" constant pwmPwmDir (line 22) | pwmPwmDir = pwmDir + "pwm0/" constant pwmEnablePath (line 23) | pwmEnablePath = pwmPwmDir + "enable" constant pwmPeriodPath (line 24) | pwmPeriodPath = pwmPwmDir + "period" constant pwmDutyCyclePath (line 25) | pwmDutyCyclePath = pwmPwmDir + "duty_cycle" constant pwmPolarityPath (line 26) | pwmPolarityPath = pwmPwmDir + "polarity" constant pwmInvertedIdentifier (line 28) | pwmInvertedIdentifier = "inversed" function preparePwmFs (line 51) | func preparePwmFs(fs *system.MockFilesystem) { function initConnectedTestAdaptorWithMockedFilesystem (line 58) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function initConnectedTestAdaptor (line 64) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 72) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 91) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 99) | func TestDigitalIO(t *testing.T) { function TestDigitalIOSysfs (line 122) | func TestDigitalIOSysfs(t *testing.T) { function TestAnalogRead (line 146) | func TestAnalogRead(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 169) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 182) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestSpiDefaultValues (line 195) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 205) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 210) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/parrot/ardrone/ardrone_adaptor.go type drone (line 10) | type drone interface type Adaptor (line 25) | type Adaptor struct method Name (line 52) | func (a *Adaptor) Name() string { return a.name } method SetName (line 55) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 58) | func (a *Adaptor) Connect() error { method Finalize (line 68) | func (a *Adaptor) Finalize() error { return nil } function NewAdaptor (line 35) | func NewAdaptor(v ...string) *Adaptor { FILE: platforms/parrot/ardrone/ardrone_adaptor_test.go function initTestArdroneAdaptor (line 16) | func initTestArdroneAdaptor() *Adaptor { function TestArdroneAdaptor (line 24) | func TestArdroneAdaptor(t *testing.T) { function TestArdroneAdaptorConnect (line 32) | func TestArdroneAdaptorConnect(t *testing.T) { function TestArdroneAdaptorName (line 42) | func TestArdroneAdaptorName(t *testing.T) { function TestArdroneAdaptorFinalize (line 49) | func TestArdroneAdaptorFinalize(t *testing.T) { FILE: platforms/parrot/ardrone/ardrone_driver.go constant Flying (line 9) | Flying = "flying" type Driver (line 13) | type Driver struct method Name (line 36) | func (a *Driver) Name() string { return a.name } method SetName (line 39) | func (a *Driver) SetName(n string) { a.name = n } method Connection (line 42) | func (a *Driver) Connection() gobot.Connection { return a.connection } method adaptor (line 45) | func (a *Driver) adaptor() *Adaptor { method Start (line 51) | func (a *Driver) Start() error { method Halt (line 56) | func (a *Driver) Halt() error { method TakeOff (line 61) | func (a *Driver) TakeOff() { method Land (line 66) | func (a *Driver) Land() { method Up (line 72) | func (a *Driver) Up(speed float64) { method Down (line 78) | func (a *Driver) Down(speed float64) { method Left (line 85) | func (a *Driver) Left(speed float64) { method Right (line 92) | func (a *Driver) Right(speed float64) { method Forward (line 98) | func (a *Driver) Forward(speed float64) { method Backward (line 104) | func (a *Driver) Backward(speed float64) { method Clockwise (line 110) | func (a *Driver) Clockwise(speed float64) { method CounterClockwise (line 116) | func (a *Driver) CounterClockwise(speed float64) { method Hover (line 121) | func (a *Driver) Hover() { function NewDriver (line 25) | func NewDriver(connection *Adaptor) *Driver { FILE: platforms/parrot/ardrone/ardrone_driver_test.go function initTestArdroneDriver (line 14) | func initTestArdroneDriver() *Driver { function TestArdroneDriver (line 25) | func TestArdroneDriver(t *testing.T) { function TestArdroneDriverName (line 30) | func TestArdroneDriverName(t *testing.T) { function TestArdroneDriverStart (line 37) | func TestArdroneDriverStart(t *testing.T) { function TestArdroneDriverHalt (line 42) | func TestArdroneDriverHalt(t *testing.T) { function TestArdroneDriverTakeOff (line 47) | func TestArdroneDriverTakeOff(t *testing.T) { function TestArdroneDriverand (line 52) | func TestArdroneDriverand(t *testing.T) { function TestArdroneDriverUp (line 57) | func TestArdroneDriverUp(t *testing.T) { function TestArdroneDriverDown (line 62) | func TestArdroneDriverDown(t *testing.T) { function TestArdroneDriverLeft (line 67) | func TestArdroneDriverLeft(t *testing.T) { function TestArdroneDriverRight (line 72) | func TestArdroneDriverRight(t *testing.T) { function TestArdroneDriverForward (line 77) | func TestArdroneDriverForward(t *testing.T) { function TestArdroneDriverackward (line 82) | func TestArdroneDriverackward(t *testing.T) { function TestArdroneDriverClockwise (line 87) | func TestArdroneDriverClockwise(t *testing.T) { function TestArdroneDriverCounterClockwise (line 92) | func TestArdroneDriverCounterClockwise(t *testing.T) { function TestArdroneDriverHover (line 97) | func TestArdroneDriverHover(t *testing.T) { FILE: platforms/parrot/ardrone/pitch.go function ValidatePitch (line 8) | func ValidatePitch(data float64, offset float64) float64 { FILE: platforms/parrot/ardrone/pitch_test.go function TestArdroneValidatePitchWhenEqualOffset (line 9) | func TestArdroneValidatePitchWhenEqualOffset(t *testing.T) { function TestArdroneValidatePitchWhenTiny (line 13) | func TestArdroneValidatePitchWhenTiny(t *testing.T) { function TestArdroneValidatePitchWhenCentered (line 17) | func TestArdroneValidatePitchWhenCentered(t *testing.T) { FILE: platforms/parrot/ardrone/test_helper.go type testDrone (line 3) | type testDrone struct method Takeoff (line 5) | func (t testDrone) Takeoff() bool { return true } method Land (line 6) | func (t testDrone) Land() {} method Up (line 7) | func (t testDrone) Up(a float64) {} method Down (line 8) | func (t testDrone) Down(a float64) {} method Left (line 9) | func (t testDrone) Left(a float64) {} method Right (line 10) | func (t testDrone) Right(a float64) {} method Forward (line 11) | func (t testDrone) Forward(a float64) {} method Backward (line 12) | func (t testDrone) Backward(a float64) {} method Clockwise (line 13) | func (t testDrone) Clockwise(a float64) {} method Counterclockwise (line 14) | func (t testDrone) Counterclockwise(a float64) {} method Hover (line 15) | func (t testDrone) Hover() {} FILE: platforms/parrot/bebop/bebop_adaptor.go type drone (line 9) | type drone interface type Adaptor (line 32) | type Adaptor struct method Name (line 50) | func (a *Adaptor) Name() string { return a.name } method SetName (line 53) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 56) | func (a *Adaptor) Connect() error { method Finalize (line 61) | func (a *Adaptor) Finalize() error { return nil } function NewAdaptor (line 39) | func NewAdaptor() *Adaptor { FILE: platforms/parrot/bebop/bebop_adaptor_test.go function initTestBebopAdaptor (line 16) | func initTestBebopAdaptor() *Adaptor { function TestBebopAdaptorName (line 25) | func TestBebopAdaptorName(t *testing.T) { function TestBebopAdaptorConnect (line 32) | func TestBebopAdaptorConnect(t *testing.T) { function TestBebopAdaptorFinalize (line 42) | func TestBebopAdaptorFinalize(t *testing.T) { FILE: platforms/parrot/bebop/bebop_driver.go constant Flying (line 9) | Flying = "flying" type Driver (line 13) | type Driver struct method Name (line 32) | func (a *Driver) Name() string { return a.name } method SetName (line 35) | func (a *Driver) SetName(n string) { a.name = n } method Connection (line 38) | func (a *Driver) Connection() gobot.Connection { return a.connection } method adaptor (line 41) | func (a *Driver) adaptor() *Adaptor { method Start (line 47) | func (a *Driver) Start() error { method Halt (line 52) | func (a *Driver) Halt() error { method TakeOff (line 57) | func (a *Driver) TakeOff() { method Land (line 62) | func (a *Driver) Land() error { method Up (line 68) | func (a *Driver) Up(speed int) error { method Down (line 74) | func (a *Driver) Down(speed int) error { method Left (line 81) | func (a *Driver) Left(speed int) error { method Right (line 88) | func (a *Driver) Right(speed int) error { method Forward (line 94) | func (a *Driver) Forward(speed int) error { method Backward (line 100) | func (a *Driver) Backward(speed int) error { method Clockwise (line 106) | func (a *Driver) Clockwise(speed int) error { method CounterClockwise (line 112) | func (a *Driver) CounterClockwise(speed int) error { method Stop (line 117) | func (a *Driver) Stop() error { method Video (line 122) | func (a *Driver) Video() chan []byte { method StartRecording (line 127) | func (a *Driver) StartRecording() error { method StopRecording (line 132) | func (a *Driver) StopRecording() error { method HullProtection (line 138) | func (a *Driver) HullProtection(protect bool) error { method Outdoor (line 143) | func (a *Driver) Outdoor(outdoor bool) error { method VideoEnable (line 148) | func (a *Driver) VideoEnable(enable bool) error { method VideoStreamMode (line 153) | func (a *Driver) VideoStreamMode(mode int8) error { function NewDriver (line 21) | func NewDriver(connection *Adaptor) *Driver { FILE: platforms/parrot/bebop/bebop_driver_test.go function TestBebopDriverName (line 14) | func TestBebopDriverName(t *testing.T) { FILE: platforms/parrot/bebop/client/client.go function validatePitch (line 11) | func validatePitch(val int) int { type tmpFrame (line 21) | type tmpFrame struct type ARStreamACK (line 29) | type ARStreamACK struct type ARStreamFrame (line 35) | type ARStreamFrame struct function NewARStreamFrame (line 43) | func NewARStreamFrame(buf []byte) ARStreamFrame { type NetworkFrame (line 83) | type NetworkFrame struct function NewNetworkFrame (line 91) | func NewNetworkFrame(buf []byte) NetworkFrame { type Pcmd (line 110) | type Pcmd struct type Bebop (line 119) | type Bebop struct method write (line 161) | func (b *Bebop) write(buf []byte) error { method Discover (line 166) | func (b *Bebop) Discover() error { method Connect (line 202) | func (b *Bebop) Connect() error { method FlatTrim (line 270) | func (b *Bebop) FlatTrim() error { method GenerateAllStates (line 290) | func (b *Bebop) GenerateAllStates() error { method TakeOff (line 310) | func (b *Bebop) TakeOff() error { method Land (line 330) | func (b *Bebop) Land() error { method Up (line 350) | func (b *Bebop) Up(val int) error { method Down (line 356) | func (b *Bebop) Down(val int) error { method Forward (line 362) | func (b *Bebop) Forward(val int) error { method Backward (line 368) | func (b *Bebop) Backward(val int) error { method Right (line 374) | func (b *Bebop) Right(val int) error { method Left (line 380) | func (b *Bebop) Left(val int) error { method Clockwise (line 386) | func (b *Bebop) Clockwise(val int) error { method CounterClockwise (line 392) | func (b *Bebop) CounterClockwise(val int) error { method Stop (line 398) | func (b *Bebop) Stop() error { method generatePcmd (line 411) | func (b *Bebop) generatePcmd() *bytes.Buffer { method createAck (line 479) | func (b *Bebop) createAck(frame NetworkFrame) *bytes.Buffer { method createPong (line 495) | func (b *Bebop) createPong(frame NetworkFrame) *bytes.Buffer { method packetReceiver (line 502) | func (b *Bebop) packetReceiver(buf []byte) { method StartRecording (line 537) | func (b *Bebop) StartRecording() error { method StopRecording (line 543) | func (b *Bebop) StopRecording() error { method videoRecord (line 549) | func (b *Bebop) videoRecord(state byte) *bytes.Buffer { method Video (line 581) | func (b *Bebop) Video() chan []byte { method HullProtection (line 585) | func (b *Bebop) HullProtection(protect bool) error { method Outdoor (line 614) | func (b *Bebop) Outdoor(outdoor bool) error { method VideoEnable (line 643) | func (b *Bebop) VideoEnable(enable bool) error { method VideoStreamMode (line 668) | func (b *Bebop) VideoStreamMode(mode int8) error { method createARStreamACK (line 700) | func (b *Bebop) createARStreamACK(frame ARStreamFrame) *bytes.Buffer { function New (line 137) | func New() *Bebop { function bool2int8 (line 693) | func bool2int8(b bool) int8 { FILE: platforms/parrot/bebop/client/constants.go constant ARNETWORKAL_MANAGER_DEFAULT_ID_MAX (line 5) | ARNETWORKAL_MANAGER_DEFAULT_ID_MAX uint16 = 256 constant BD_NET_CD_NONACK_ID (line 8) | BD_NET_CD_NONACK_ID byte = 10 constant BD_NET_CD_ACK_ID (line 9) | BD_NET_CD_ACK_ID byte = 11 constant BD_NET_CD_EMERGENCY_ID (line 10) | BD_NET_CD_EMERGENCY_ID byte = 12 constant BD_NET_CD_VIDEO_ACK_ID (line 11) | BD_NET_CD_VIDEO_ACK_ID byte = 13 constant BD_NET_DC_VIDEO_DATA_ID (line 12) | BD_NET_DC_VIDEO_DATA_ID byte = 125 constant BD_NET_DC_EVENT_ID (line 13) | BD_NET_DC_EVENT_ID byte = 126 constant BD_NET_DC_NAVDATA_ID (line 14) | BD_NET_DC_NAVDATA_ID byte = 127 constant ARCOMMANDS_ID_PROJECT_COMMON (line 17) | ARCOMMANDS_ID_PROJECT_COMMON byte = 0 constant ARCOMMANDS_ID_PROJECT_ARDRONE3 (line 18) | ARCOMMANDS_ID_PROJECT_ARDRONE3 byte = 1 constant ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTING (line 21) | ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTING byte = 0 constant ARCOMMANDS_ID_ARDRONE3_CLASS_ANIMATIONS (line 22) | ARCOMMANDS_ID_ARDRONE3_CLASS_ANIMATIONS byte = 5 constant ARCOMMANDS_ID_ARDRONE3_CLASS_CAMERA (line 23) | ARCOMMANDS_ID_ARDRONE3_CLASS_CAMERA byte = 1 constant ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIARECORD (line 24) | ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIARECORD byte = 7 constant ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIARECORDSTATE (line 25) | ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIARECORDSTATE byte = 8 constant ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIARECORDEVENT (line 26) | ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIARECORDEVENT byte = 3 constant ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTINGSTATE (line 27) | ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTINGSTATE byte = 4 constant ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORK (line 28) | ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORK byte = 13 constant ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORKSTATE (line 29) | ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORKSTATE byte = 14 constant ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTINGSETTINGS (line 30) | ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTINGSETTINGS byte = 2 constant ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTINGSETTINGSSTATE (line 31) | ARCOMMANDS_ID_ARDRONE3_CLASS_PILOTINGSETTINGSSTATE byte = 6 constant ARCOMMANDS_ID_ARDRONE3_CLASS_SPEEDSETTINGS (line 32) | ARCOMMANDS_ID_ARDRONE3_CLASS_SPEEDSETTINGS byte = 11 constant ARCOMMANDS_ID_ARDRONE3_CLASS_SPEEDSETTINGSSTATE (line 33) | ARCOMMANDS_ID_ARDRONE3_CLASS_SPEEDSETTINGSSTATE byte = 12 constant ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORKSETTINGS (line 34) | ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORKSETTINGS byte = 9 constant ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORKSETTINGSSTATE (line 35) | ARCOMMANDS_ID_ARDRONE3_CLASS_NETWORKSETTINGSSTATE byte = 10 constant ARCOMMANDS_ID_ARDRONE3_CLASS_SETTINGS (line 36) | ARCOMMANDS_ID_ARDRONE3_CLASS_SETTINGS byte = 15 constant ARCOMMANDS_ID_ARDRONE3_CLASS_SETTINGSSTATE (line 37) | ARCOMMANDS_ID_ARDRONE3_CLASS_SETTINGSSTATE byte = 16 constant ARCOMMANDS_ID_ARDRONE3_CLASS_DIRECTORMODE (line 38) | ARCOMMANDS_ID_ARDRONE3_CLASS_DIRECTORMODE byte = 17 constant ARCOMMANDS_ID_ARDRONE3_CLASS_DIRECTORMODESTATE (line 39) | ARCOMMANDS_ID_ARDRONE3_CLASS_DIRECTORMODESTATE byte = 18 constant ARCOMMANDS_ID_ARDRONE3_CLASS_PICTURESETTINGS (line 40) | ARCOMMANDS_ID_ARDRONE3_CLASS_PICTURESETTINGS byte = 19 constant ARCOMMANDS_ID_ARDRONE3_CLASS_PICTURESETTINGSSTATE (line 41) | ARCOMMANDS_ID_ARDRONE3_CLASS_PICTURESETTINGSSTATE byte = 20 constant ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIASTREAMING (line 42) | ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIASTREAMING byte = 21 constant ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIASTREAMINGSTATE (line 43) | ARCOMMANDS_ID_ARDRONE3_CLASS_MEDIASTREAMINGSTATE byte = 22 constant ARCOMMANDS_ID_ARDRONE3_CLASS_GPSSETTINGS (line 44) | ARCOMMANDS_ID_ARDRONE3_CLASS_GPSSETTINGS byte = 23 constant ARCOMMANDS_ID_ARDRONE3_CLASS_GPSSETTINGSSTATE (line 45) | ARCOMMANDS_ID_ARDRONE3_CLASS_GPSSETTINGSSTATE byte = 24 constant ARCOMMANDS_ID_ARDRONE3_CLASS_CAMERASTATE (line 46) | ARCOMMANDS_ID_ARDRONE3_CLASS_CAMERASTATE byte = 25 constant ARCOMMANDS_ID_ARDRONE3_CLASS_ANTIFLICKERING (line 47) | ARCOMMANDS_ID_ARDRONE3_CLASS_ANTIFLICKERING byte = 29 constant ARCOMMANDS_ID_ARDRONE3_CLASS_ANTIFLICKERINGSTATE (line 48) | ARCOMMANDS_ID_ARDRONE3_CLASS_ANTIFLICKERINGSTATE byte = 30 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_FLATTRIMCHANGED (line 51) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_FLATTRIMCHANGED byte = 0 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_FLYINGSTATECHANGED (line 52) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_FLYINGSTATECHANGED byte = 1 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_ALERTSTATECHANGED (line 53) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_ALERTSTATECHANGED byte = 2 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_NAVIGATEHOMESTATECHANGED (line 54) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_NAVIGATEHOMESTATECHANGED byte = 3 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_POSITIONCHANGED (line 55) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_POSITIONCHANGED byte = 4 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_SPEEDCHANGED (line 56) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_SPEEDCHANGED byte = 5 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_ATTITUDECHANGED (line 57) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_ATTITUDECHANGED byte = 6 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_AUTOTAKEOFFMODECHANGED (line 58) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_AUTOTAKEOFFMODECHANGED byte = 7 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_ALTITUDECHANGED (line 59) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_ALTITUDECHANGED byte = 8 constant ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_MAX (line 60) | ARCOMMANDS_ID_ARDRONE3_PILOTINGSTATE_CMD_MAX byte = 9 constant ARCOMMANDS_ID_ARDRONE3_ANIMATIONS_CMD_FLIP (line 63) | ARCOMMANDS_ID_ARDRONE3_ANIMATIONS_CMD_FLIP byte = 0 constant ARCOMMANDS_ID_ARDRONE3_ANIMATIONS_CMD_MAX (line 64) | ARCOMMANDS_ID_ARDRONE3_ANIMATIONS_CMD_MAX byte = 1 constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_LANDED (line 67) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_LANDED byt... constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_TAKINGOFF (line 68) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_TAKINGOFF byt... constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_HOVERING (line 69) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_HOVERING byt... constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_FLYING (line 70) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_FLYING byt... constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_LANDING (line 71) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_LANDING byt... constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_EMERGENCY (line 72) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_EMERGENCY byt... constant ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_MAX (line 73) | ARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE_MAX byt... constant ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_FRONT (line 76) | ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_FRONT byte = 0 constant ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_BACK (line 77) | ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_BACK byte = 1 constant ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_RIGHT (line 78) | ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_RIGHT byte = 2 constant ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_LEFT (line 79) | ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_LEFT byte = 3 constant ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_MAX (line 80) | ARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION_MAX byte = 4 constant ARCOMMANDS_ID_COMMON_CLASS_NETWORK (line 83) | ARCOMMANDS_ID_COMMON_CLASS_NETWORK byte = 0 constant ARCOMMANDS_ID_COMMON_CLASS_NETWORKEVENT (line 84) | ARCOMMANDS_ID_COMMON_CLASS_NETWORKEVENT byte = 1 constant ARCOMMANDS_ID_COMMON_CLASS_SETTINGS (line 85) | ARCOMMANDS_ID_COMMON_CLASS_SETTINGS byte = 2 constant ARCOMMANDS_ID_COMMON_CLASS_SETTINGSSTATE (line 86) | ARCOMMANDS_ID_COMMON_CLASS_SETTINGSSTATE byte = 3 constant ARCOMMANDS_ID_COMMON_CLASS_COMMON (line 87) | ARCOMMANDS_ID_COMMON_CLASS_COMMON byte = 4 constant ARCOMMANDS_ID_COMMON_CLASS_COMMONSTATE (line 88) | ARCOMMANDS_ID_COMMON_CLASS_COMMONSTATE byte = 5 constant ARCOMMANDS_ID_COMMON_CLASS_OVERHEAT (line 89) | ARCOMMANDS_ID_COMMON_CLASS_OVERHEAT byte = 6 constant ARCOMMANDS_ID_COMMON_CLASS_OVERHEATSTATE (line 90) | ARCOMMANDS_ID_COMMON_CLASS_OVERHEATSTATE byte = 7 constant ARCOMMANDS_ID_COMMON_CLASS_CONTROLLERSTATE (line 91) | ARCOMMANDS_ID_COMMON_CLASS_CONTROLLERSTATE byte = 8 constant ARCOMMANDS_ID_COMMON_CLASS_WIFISETTINGS (line 92) | ARCOMMANDS_ID_COMMON_CLASS_WIFISETTINGS byte = 9 constant ARCOMMANDS_ID_COMMON_CLASS_WIFISETTINGSSTATE (line 93) | ARCOMMANDS_ID_COMMON_CLASS_WIFISETTINGSSTATE byte = 10 constant ARCOMMANDS_ID_COMMON_CLASS_MAVLINK (line 94) | ARCOMMANDS_ID_COMMON_CLASS_MAVLINK byte = 11 constant ARCOMMANDS_ID_COMMON_CLASS_MAVLINKSTATE (line 95) | ARCOMMANDS_ID_COMMON_CLASS_MAVLINKSTATE byte = 12 constant ARCOMMANDS_ID_COMMON_CLASS_CALIBRATION (line 96) | ARCOMMANDS_ID_COMMON_CLASS_CALIBRATION byte = 13 constant ARCOMMANDS_ID_COMMON_CLASS_CALIBRATIONSTATE (line 97) | ARCOMMANDS_ID_COMMON_CLASS_CALIBRATIONSTATE byte = 14 constant ARCOMMANDS_ID_COMMON_CLASS_CAMERASETTINGSSTATE (line 98) | ARCOMMANDS_ID_COMMON_CLASS_CAMERASETTINGSSTATE byte = 15 constant ARCOMMANDS_ID_COMMON_CLASS_GPS (line 99) | ARCOMMANDS_ID_COMMON_CLASS_GPS byte = 16 constant ARCOMMANDS_ID_COMMON_CLASS_FLIGHTPLANSTATE (line 100) | ARCOMMANDS_ID_COMMON_CLASS_FLIGHTPLANSTATE byte = 17 constant ARCOMMANDS_ID_COMMON_CLASS_FLIGHTPLANEVENT (line 101) | ARCOMMANDS_ID_COMMON_CLASS_FLIGHTPLANEVENT byte = 19 constant ARCOMMANDS_ID_COMMON_CLASS_ARLIBSVERSIONSSTATE (line 102) | ARCOMMANDS_ID_COMMON_CLASS_ARLIBSVERSIONSSTATE byte = 18 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_FLATTRIM (line 105) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_FLATTRIM byte = 0 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_TAKEOFF (line 106) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_TAKEOFF byte = 1 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_PCMD (line 107) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_PCMD byte = 2 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_LANDING (line 108) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_LANDING byte = 3 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_EMERGENCY (line 109) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_EMERGENCY byte = 4 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_NAVIGATEHOME (line 110) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_NAVIGATEHOME byte = 5 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_AUTOTAKEOFFMODE (line 111) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_AUTOTAKEOFFMODE byte = 6 constant ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_MAX (line 112) | ARCOMMANDS_ID_ARDRONE3_PILOTING_CMD_MAX byte = 7 constant ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_PICTURE (line 115) | ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_PICTURE byte = 0 constant ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_VIDEO (line 116) | ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_VIDEO byte = 1 constant ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_PICTUREV2 (line 117) | ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_PICTUREV2 byte = 2 constant ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_VIDEOV2 (line 118) | ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_VIDEOV2 byte = 3 constant ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_MAX (line 119) | ARCOMMANDS_ID_ARDRONE3_MEDIARECORD_CMD_MAX byte = 4 constant ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_STOP (line 122) | ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_STOP byte = 0 constant ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_START (line 123) | ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_START byte = 1 constant ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_MAX (line 124) | ARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD_MAX byte = 2 constant ARCOMMANDS_ID_COMMON_COMMON_CMD_ALLSTATES (line 127) | ARCOMMANDS_ID_COMMON_COMMON_CMD_ALLSTATES byte = 0 constant ARCOMMANDS_ID_COMMON_COMMON_CMD_CURRENTDATE (line 128) | ARCOMMANDS_ID_COMMON_COMMON_CMD_CURRENTDATE byte = 1 constant ARCOMMANDS_ID_COMMON_COMMON_CMD_CURRENTTIME (line 129) | ARCOMMANDS_ID_COMMON_COMMON_CMD_CURRENTTIME byte = 2 constant ARCOMMANDS_ID_COMMON_COMMON_CMD_REBOOT (line 130) | ARCOMMANDS_ID_COMMON_COMMON_CMD_REBOOT byte = 3 constant ARCOMMANDS_ID_COMMON_COMMON_CMD_MAX (line 131) | ARCOMMANDS_ID_COMMON_COMMON_CMD_MAX byte = 4 constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_ALLSTATESCHANGED (line 134) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_ALLSTATESCHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_BATTERYSTATECHANGED (line 135) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_BATTERYSTATECHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MASSSTORAGESTATELISTCHANGED (line 136) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MASSSTORAGESTATELISTCHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MASSSTORAGEINFOSTATELISTCHANGED (line 137) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MASSSTORAGEINFOSTATELISTCHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_CURRENTDATECHANGED (line 138) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_CURRENTDATECHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_CURRENTTIMECHANGED (line 139) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_CURRENTTIMECHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MASSSTORAGEINFOREMAININGLISTCHANGED (line 140) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MASSSTORAGEINFOREMAININGLISTCHANGED... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_WIFISIGNALCHANGED (line 141) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_WIFISIGNALCHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_SENSORSSTATESLISTCHANGED (line 142) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_SENSORSSTATESLISTCHANGED ... constant ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MAX (line 143) | ARCOMMANDS_ID_COMMON_COMMONSTATE_CMD_MAX ... constant CODEC_UNKNNOWN (line 146) | CODEC_UNKNNOWN byte = 0 constant CODEC_VLIB (line 147) | CODEC_VLIB byte = 1 constant CODEC_P264 (line 148) | CODEC_P264 byte = 2 constant CODEC_MPEG4_VISUAL (line 149) | CODEC_MPEG4_VISUAL byte = 3 constant CODEC_MPEG4_AVC (line 150) | CODEC_MPEG4_AVC byte = 4 constant CODEC_MOTION_JPEG (line 151) | CODEC_MOTION_JPEG byte = 5 constant ARMEDIA_ENCAPSULER_FRAME_TYPE_UNKNNOWN (line 154) | ARMEDIA_ENCAPSULER_FRAME_TYPE_UNKNNOWN byte = 0 constant ARMEDIA_ENCAPSULER_FRAME_TYPE_I_FRAME (line 155) | ARMEDIA_ENCAPSULER_FRAME_TYPE_I_FRAME byte = 1 constant ARMEDIA_ENCAPSULER_FRAME_TYPE_P_FRAME (line 156) | ARMEDIA_ENCAPSULER_FRAME_TYPE_P_FRAME byte = 2 constant ARMEDIA_ENCAPSULER_FRAME_TYPE_JPEG (line 157) | ARMEDIA_ENCAPSULER_FRAME_TYPE_JPEG byte = 3 constant ARMEDIA_ENCAPSULER_FRAME_TYPE_MAX (line 158) | ARMEDIA_ENCAPSULER_FRAME_TYPE_MAX byte = 4 constant ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PING (line 161) | ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PING byte = 0 constant ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PONG (line 162) | ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_PONG byte = 1 constant ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_MAX (line 163) | ARNETWORK_MANAGER_INTERNAL_BUFFER_ID_MAX byte = 3 constant ARNETWORKAL_FRAME_TYPE_UNINITIALIZED (line 166) | ARNETWORKAL_FRAME_TYPE_UNINITIALIZED byte = 0 constant ARNETWORKAL_FRAME_TYPE_ACK (line 167) | ARNETWORKAL_FRAME_TYPE_ACK byte = 1 constant ARNETWORKAL_FRAME_TYPE_DATA (line 168) | ARNETWORKAL_FRAME_TYPE_DATA byte = 2 constant ARNETWORKAL_FRAME_TYPE_DATA_LOW_LATENCY (line 169) | ARNETWORKAL_FRAME_TYPE_DATA_LOW_LATENCY byte = 3 constant ARNETWORKAL_FRAME_TYPE_DATA_WITH_ACK (line 170) | ARNETWORKAL_FRAME_TYPE_DATA_WITH_ACK byte = 4 constant ARNETWORKAL_FRAME_TYPE_MAX (line 171) | ARNETWORKAL_FRAME_TYPE_MAX byte = 5 constant ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_MAXVERTICALSPEED (line 173) | ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_MAXVERTICALSPEED byte = 0 constant ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_MAXROTATIONSPEED (line 174) | ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_MAXROTATIONSPEED byte = 1 constant ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_HULLPROTECTION (line 175) | ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_HULLPROTECTION byte = 2 constant ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_OUTDOOR (line 176) | ARCOMMANDS_ID_ARDRONE3_SPEEDSETTINGS_CMD_OUTDOOR byte = 3 constant ARCOMMANDS_ID_ARDRONE3_MEDIASTREAMING_CMD_VIDEOENABLE (line 178) | ARCOMMANDS_ID_ARDRONE3_MEDIASTREAMING_CMD_VIDEOENABLE byte = 0 constant ARCOMMANDS_ID_ARDRONE3_MEDIASTREAMING_CMD_VIDEOSTREAMMODE (line 179) | ARCOMMANDS_ID_ARDRONE3_MEDIASTREAMING_CMD_VIDEOSTREAMMODE byte = 1 FILE: platforms/parrot/bebop/client/examples/takeoff.go function main (line 16) | func main() { FILE: platforms/parrot/bebop/client/examples/video.go function main (line 35) | func main() { FILE: platforms/parrot/bebop/client/networkframegenerator.go type nwFrameGenerator (line 9) | type nwFrameGenerator struct method generate (line 25) | func (nwg *nwFrameGenerator) generate(cmd *bytes.Buffer, frameType byt... function newNetworkFrameGenerator (line 15) | func newNetworkFrameGenerator() *nwFrameGenerator { FILE: platforms/parrot/bebop/pitch.go function ValidatePitch (line 8) | func ValidatePitch(data float64, offset float64) int { FILE: platforms/parrot/bebop/pitch_test.go function TestBebopValidatePitchWhenEqualOffset (line 9) | func TestBebopValidatePitchWhenEqualOffset(t *testing.T) { function TestBebopValidatePitchWhenTiny (line 13) | func TestBebopValidatePitchWhenTiny(t *testing.T) { function TestBebopValidatePitchWhenCentered (line 17) | func TestBebopValidatePitchWhenCentered(t *testing.T) { FILE: platforms/parrot/bebop/test_helper.go type testDrone (line 3) | type testDrone struct method TakeOff (line 5) | func (t testDrone) TakeOff() error { return nil } method Land (line 6) | func (t testDrone) Land() error { return nil } method Up (line 7) | func (t testDrone) Up(n int) error { return nil } method Down (line 8) | func (t testDrone) Down(n int) error { return nil } method Left (line 9) | func (t testDrone) Left(n int) error { return nil } method Right (line 10) | func (t testDrone) Right(n int) error { return nil } method Forward (line 11) | func (t testDrone) Forward(n int) error { return nil } method Backward (line 12) | func (t testDrone) Backward(n int) error { return nil } method Clockwise (line 13) | func (t testDrone) Clockwise(n int) error { return nil } method CounterClockwise (line 14) | func (t testDrone) CounterClockwise(n int) error { return nil } method Stop (line 15) | func (t testDrone) Stop() error { return nil } method Connect (line 16) | func (t testDrone) Connect() error { return nil } method Video (line 17) | func (t testDrone) Video() chan []byte { return nil } method StartRecording (line 18) | func (t testDrone) StartRecording() error { return nil } method StopRecording (line 19) | func (t testDrone) StopRecording() error { return nil } method HullProtection (line 20) | func (t testDrone) HullProtection(protect bool) error { return nil } method Outdoor (line 21) | func (t testDrone) Outdoor(outdoor bool) error { return nil } method VideoEnable (line 22) | func (t testDrone) VideoEnable(enable bool) error { return nil } method VideoStreamMode (line 23) | func (t testDrone) VideoStreamMode(mode int8) error { return nil } FILE: platforms/particle/adaptor.go type Adaptor (line 18) | type Adaptor struct method Name (line 57) | func (s *Adaptor) Name() string { return s.name } method SetName (line 60) | func (s *Adaptor) SetName(n string) { s.name = n } method Connect (line 63) | func (s *Adaptor) Connect() error { return nil } method Finalize (line 66) | func (s *Adaptor) Finalize() error { return nil } method AnalogRead (line 69) | func (s *Adaptor) AnalogRead(pin string) (int, error) { method PwmWrite (line 87) | func (s *Adaptor) PwmWrite(pin string, level byte) error { method AnalogWrite (line 92) | func (s *Adaptor) AnalogWrite(pin string, level byte) error { method DigitalWrite (line 103) | func (s *Adaptor) DigitalWrite(pin string, level byte) error { method DigitalRead (line 114) | func (s *Adaptor) DigitalRead(pin string) (int, error) { method ServoWrite (line 132) | func (s *Adaptor) ServoWrite(pin string, angle byte) error { method EventStream (line 154) | func (s *Adaptor) EventStream(source string, name string) (*gobot.Even... method Variable (line 186) | func (s *Adaptor) Variable(name string) (string, error) { method Function (line 210) | func (s *Adaptor) Function(name string, args string) (int, error) { method setAPIServer (line 227) | func (s *Adaptor) setAPIServer(server string) { method deviceURL (line 232) | func (s *Adaptor) deviceURL() string { method pinLevel (line 240) | func (s *Adaptor) pinLevel(level byte) string { method request (line 251) | func (s *Adaptor) request(method string, url string, params url.Values... method servoPinOpen (line 287) | func (s *Adaptor) servoPinOpen(pin string) error { type Event (line 29) | type Event struct function NewAdaptor (line 45) | func NewAdaptor(deviceID string, accessToken string) *Adaptor { FILE: platforms/particle/adaptor_test.go function createTestServer (line 20) | func createTestServer(handler func(w http.ResponseWriter, r *http.Reques... function getDummyResponseForPath (line 24) | func getDummyResponseForPath(t *testing.T, path string, dummyResponse st... function getDummyResponseForPathWithParams (line 37) | func getDummyResponseForPathWithParams( function initTestAdaptor (line 62) | func initTestAdaptor() *Adaptor { function initTestAdaptorWithServo (line 66) | func initTestAdaptorWithServo() *Adaptor { function TestAdaptor (line 74) | func TestAdaptor(t *testing.T) { function TestNewAdaptor (line 82) | func TestNewAdaptor(t *testing.T) { function TestAdaptorConnect (line 97) | func TestAdaptorConnect(t *testing.T) { function TestAdaptorFinalize (line 102) | func TestAdaptorFinalize(t *testing.T) { function TestAdaptorAnalogRead (line 108) | func TestAdaptorAnalogRead(t *testing.T) { function TestAdaptorAnalogReadError (line 123) | func TestAdaptorAnalogReadError(t *testing.T) { function TestAdaptorPwmWrite (line 136) | func TestAdaptorPwmWrite(t *testing.T) { function TestAdaptorAnalogWrite (line 148) | func TestAdaptorAnalogWrite(t *testing.T) { function TestAdaptorDigitalWrite (line 160) | func TestAdaptorDigitalWrite(t *testing.T) { function TestAdaptorServoOpen (line 182) | func TestAdaptorServoOpen(t *testing.T) { function TestAdaptorServoWrite (line 194) | func TestAdaptorServoWrite(t *testing.T) { function TestAdaptorDigitalRead (line 206) | func TestAdaptorDigitalRead(t *testing.T) { function TestAdaptorDigitalReadError (line 232) | func TestAdaptorDigitalReadError(t *testing.T) { function TestAdaptorFunction (line 246) | func TestAdaptorFunction(t *testing.T) { function TestAdaptorVariable (line 270) | func TestAdaptorVariable(t *testing.T) { function TestAdaptorSetAPIServer (line 325) | func TestAdaptorSetAPIServer(t *testing.T) { function TestAdaptorDeviceURL (line 334) | func TestAdaptorDeviceURL(t *testing.T) { function TestAdaptorPinLevel (line 346) | func TestAdaptorPinLevel(t *testing.T) { function TestAdaptorPostToparticle (line 354) | func TestAdaptorPostToparticle(t *testing.T) { function TestAdaptorEventStream (line 380) | func TestAdaptorEventStream(t *testing.T) { FILE: platforms/pebble/pebble_adaptor.go type Adaptor (line 3) | type Adaptor struct method Name (line 14) | func (a *Adaptor) Name() string { return a.name } method SetName (line 15) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 18) | func (a *Adaptor) Connect() error { method Finalize (line 23) | func (a *Adaptor) Finalize() error { function NewAdaptor (line 8) | func NewAdaptor() *Adaptor { FILE: platforms/pebble/pebble_adaptor_test.go function initTestAdaptor (line 14) | func initTestAdaptor() *Adaptor { function TestAdaptor (line 18) | func TestAdaptor(t *testing.T) { function TestAdaptorConnect (line 23) | func TestAdaptorConnect(t *testing.T) { function TestAdaptorFinalize (line 28) | func TestAdaptorFinalize(t *testing.T) { FILE: platforms/pebble/pebble_driver.go type Driver (line 7) | type Driver struct method Name (line 58) | func (d *Driver) Name() string { return d.name } method SetName (line 59) | func (d *Driver) SetName(n string) { d.name = n } method Connection (line 60) | func (d *Driver) Connection() gobot.Connection { return d.connection } method Start (line 63) | func (d *Driver) Start() error { return nil } method Halt (line 66) | func (d *Driver) Halt() error { return nil } method PublishEvent (line 69) | func (d *Driver) PublishEvent(name string, data string) { method SendNotification (line 74) | func (d *Driver) SendNotification(message string) string { method PendingMessage (line 81) | func (d *Driver) PendingMessage() string { function NewDriver (line 28) | func NewDriver(adaptor *Adaptor) *Driver { FILE: platforms/pebble/pebble_driver_test.go function initTestDriver (line 15) | func initTestDriver() *Driver { function TestDriverStart (line 19) | func TestDriverStart(t *testing.T) { function TestDriverHalt (line 24) | func TestDriverHalt(t *testing.T) { function TestDriver (line 29) | func TestDriver(t *testing.T) { FILE: platforms/pine64/rock64/adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 1 constant defaultSpiBusNumber (line 17) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 18) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 19) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 20) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 500000 type Adaptor (line 25) | type Adaptor struct method Name (line 100) | func (a *Adaptor) Name() string { return a.name } method SetName (line 103) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 106) | func (a *Adaptor) Connect() error { method Finalize (line 126) | func (a *Adaptor) Finalize() error { function NewAdaptor (line 54) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/pine64/rock64/adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 28) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function initConnectedTestAdaptor (line 34) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 42) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 60) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 68) | func TestDigitalIO(t *testing.T) { function TestDigitalIOSysfs (line 91) | func TestDigitalIOSysfs(t *testing.T) { function TestAnalogRead (line 115) | func TestAnalogRead(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 138) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestSpiDefaultValues (line 151) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 161) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 166) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/radxa/rockpi/adaptor.go constant procDeviceTreeModel (line 16) | procDeviceTreeModel = "/proc/device-tree/model" constant defaultI2cBusNumber (line 18) | defaultI2cBusNumber = 7 constant defaultSpiBusNumber (line 20) | defaultSpiBusNumber = 1 constant defaultSpiChipNumber (line 21) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 22) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 23) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 24) | defaultSpiMaxSpeed = 500000 type Adaptor (line 28) | type Adaptor struct method Name (line 93) | func (a *Adaptor) Name() string { method SetName (line 101) | func (a *Adaptor) SetName(n string) { method Connect (line 109) | func (a *Adaptor) Connect() error { method Finalize (line 125) | func (a *Adaptor) Finalize() error { method getPinTranslatorFunction (line 141) | func (a *Adaptor) getPinTranslatorFunction() func(string) (string, int... method readRevision (line 155) | func (a *Adaptor) readRevision() string { function NewAdaptor (line 54) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/radxa/rockpi/adaptor_test.go function initConnectedTestAdaptorWithMockedFilesystem (line 13) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function TestNewAdaptor (line 20) | func TestNewAdaptor(t *testing.T) { function TestDefaultI2cBus (line 36) | func TestDefaultI2cBus(t *testing.T) { function Test_getPinTranslatorFunction (line 41) | func Test_getPinTranslatorFunction(t *testing.T) { FILE: platforms/radxa/zero/adaptor.go constant defaultI2cBusNumber (line 15) | defaultI2cBusNumber = 3 constant defaultSpiBusNumber (line 17) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 18) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 19) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 20) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 21) | defaultSpiMaxSpeed = 10000000 type Adaptor (line 25) | type Adaptor struct method Name (line 113) | func (a *Adaptor) Name() string { return a.name } method SetName (line 116) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 119) | func (a *Adaptor) Connect() error { method Finalize (line 147) | func (a *Adaptor) Finalize() error { function NewAdaptor (line 57) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/radxa/zero/adaptor_test.go constant pwmDir (line 19) | pwmDir = "/sys/devices/platform/soc/ffd00000.bus/ffd1a000.pwm/... constant pwmExportPath (line 20) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 21) | pwmUnexportPath = pwmDir + "unexport" constant pwmPwmDir (line 22) | pwmPwmDir = pwmDir + "pwm0/" constant pwmEnablePath (line 23) | pwmEnablePath = pwmPwmDir + "enable" constant pwmPeriodPath (line 24) | pwmPeriodPath = pwmPwmDir + "period" constant pwmDutyCyclePath (line 25) | pwmDutyCyclePath = pwmPwmDir + "duty_cycle" constant pwmPolarityPath (line 26) | pwmPolarityPath = pwmPwmDir + "polarity" constant pwmInvertedIdentifier (line 28) | pwmInvertedIdentifier = "inversed" function preparePwmFs (line 51) | func preparePwmFs(fs *system.MockFilesystem) { function initConnectedTestAdaptorWithMockedFilesystem (line 58) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function initConnectedTestAdaptor (line 64) | func initConnectedTestAdaptor() *Adaptor { function TestNewAdaptor (line 72) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 91) | func TestNewAdaptorWithOption(t *testing.T) { function TestDigitalIO (line 99) | func TestDigitalIO(t *testing.T) { function TestDigitalIOSysfs (line 122) | func TestDigitalIOSysfs(t *testing.T) { function TestAnalogRead (line 146) | func TestAnalogRead(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 169) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 182) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestSpiDefaultValues (line 195) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 205) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 210) | func TestI2cFinalizeWithErrors(t *testing.T) { FILE: platforms/raspi/adaptor.go constant infoFile (line 17) | infoFile = "/proc/cpuinfo" constant defaultSpiBusNumber (line 19) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 20) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 21) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 22) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 23) | defaultSpiMaxSpeed = 500000 type Adaptor (line 27) | type Adaptor struct method Name (line 105) | func (a *Adaptor) Name() string { method SetName (line 113) | func (a *Adaptor) SetName(n string) { method Connect (line 121) | func (a *Adaptor) Connect() error { method Finalize (line 145) | func (a *Adaptor) Finalize() error { method DefaultI2cBus (line 171) | func (a *Adaptor) DefaultI2cBus() int { method getPinTranslatorFunction (line 183) | func (a *Adaptor) getPinTranslatorFunction() func(string) (string, int... method readRevision (line 204) | func (a *Adaptor) readRevision() string { function NewAdaptor (line 59) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/raspi/adaptor_test.go constant pwmDir (line 24) | pwmDir = "/sys/class/pwm/pwmchip0/" constant pwmPwmDir (line 25) | pwmPwmDir = pwmDir + "pwm0/" constant pwmExportPath (line 26) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 27) | pwmUnexportPath = pwmDir + "unexport" constant pwmEnablePath (line 28) | pwmEnablePath = pwmPwmDir + "enable" constant pwmPeriodPath (line 29) | pwmPeriodPath = pwmPwmDir + "period" constant pwmDutyCyclePath (line 30) | pwmDutyCyclePath = pwmPwmDir + "duty_cycle" constant pwmPolarityPath (line 31) | pwmPolarityPath = pwmPwmDir + "polarity" constant pwmInvertedIdentifier (line 33) | pwmInvertedIdentifier = "inversed" function preparePwmFs (line 59) | func preparePwmFs(fs *system.MockFilesystem) { function initConnectedTestAdaptorWithMockedFilesystem (line 66) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function TestNewAdaptor (line 75) | func TestNewAdaptor(t *testing.T) { function TestNewAdaptorWithOption (line 93) | func TestNewAdaptorWithOption(t *testing.T) { function TestGetDefaultBus (line 101) | func TestGetDefaultBus(t *testing.T) { function TestFinalize (line 144) | func TestFinalize(t *testing.T) { function TestAnalog (line 163) | func TestAnalog(t *testing.T) { function TestPwmWrite (line 186) | func TestPwmWrite(t *testing.T) { function TestServoWrite (line 205) | func TestServoWrite(t *testing.T) { function TestPWMWrite_piPlaster (line 231) | func TestPWMWrite_piPlaster(t *testing.T) { function TestPWM_piPlaster (line 253) | func TestPWM_piPlaster(t *testing.T) { function TestDigitalIO (line 278) | func TestDigitalIO(t *testing.T) { function TestDigitalPinConcurrency (line 304) | func TestDigitalPinConcurrency(t *testing.T) { function TestSpiDefaultValues (line 327) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 336) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 348) | func TestI2cFinalizeWithErrors(t *testing.T) { function Test_getPinTranslatorFunction (line 365) | func Test_getPinTranslatorFunction(t *testing.T) { FILE: platforms/serialport/adaptor.go type configuration (line 13) | type configuration struct type Adaptor (line 19) | type Adaptor struct method Name (line 60) | func (a *Adaptor) Name() string { method SetName (line 66) | func (a *Adaptor) SetName(n string) { method Connect (line 71) | func (a *Adaptor) Connect() error { method Finalize (line 86) | func (a *Adaptor) Finalize() error { method Disconnect (line 91) | func (a *Adaptor) Disconnect() error { method Reconnect (line 103) | func (a *Adaptor) Reconnect() error { method Port (line 113) | func (a *Adaptor) Port() string { return a.port } method IsConnected (line 116) | func (a *Adaptor) IsConnected() bool { method SerialRead (line 121) | func (a *Adaptor) SerialRead(pData []byte) (int, error) { method SerialWrite (line 126) | func (a *Adaptor) SerialWrite(data []byte) (int, error) { function NewAdaptor (line 28) | func NewAdaptor(port string, opts ...optionApplier) *Adaptor { function WithName (line 50) | func WithName(name string) optionApplier { function WithBaudRate (line 55) | func WithBaudRate(baudRate int) optionApplier { FILE: platforms/serialport/adaptor_options.go type optionApplier (line 4) | type optionApplier interface type nameOption (line 9) | type nameOption method String (line 14) | func (o nameOption) String() string { method apply (line 22) | func (o nameOption) apply(cfg *configuration) { type baudRateOption (line 12) | type baudRateOption method String (line 18) | func (o baudRateOption) String() string { method apply (line 26) | func (o baudRateOption) apply(cfg *configuration) { FILE: platforms/serialport/adaptor_options_test.go function TestWithName (line 9) | func TestWithName(t *testing.T) { function TestWithBaudRate (line 19) | func TestWithBaudRate(t *testing.T) { FILE: platforms/serialport/adaptor_test.go function initTestAdaptor (line 17) | func initTestAdaptor() (*Adaptor, *nullReadWriteCloser) { function TestNewAdaptor (line 31) | func TestNewAdaptor(t *testing.T) { function TestSerialRead (line 40) | func TestSerialRead(t *testing.T) { function TestSerialWrite (line 75) | func TestSerialWrite(t *testing.T) { function TestConnect (line 113) | func TestConnect(t *testing.T) { function TestReconnect (line 129) | func TestReconnect(t *testing.T) { function TestFinalize (line 144) | func TestFinalize(t *testing.T) { FILE: platforms/serialport/helpers_test.go type nullReadWriteCloser (line 5) | type nullReadWriteCloser struct method Write (line 16) | func (rwc *nullReadWriteCloser) Write(data []byte) (int, error) { method Read (line 24) | func (rwc *nullReadWriteCloser) Read(p []byte) (int, error) { method Close (line 31) | func (rwc *nullReadWriteCloser) Close() error { function newNullReadWriteCloser (line 12) | func newNullReadWriteCloser() *nullReadWriteCloser { FILE: platforms/upboard/up2/adaptor.go constant LEDRed (line 18) | LEDRed = "red" constant LEDBlue (line 20) | LEDBlue = "blue" constant LEDGreen (line 22) | LEDGreen = "green" constant LEDYellow (line 24) | LEDYellow = "yellow" constant defaultI2cBusNumber (line 26) | defaultI2cBusNumber = 5 constant defaultSpiBusNumber (line 28) | defaultSpiBusNumber = 0 constant defaultSpiChipNumber (line 29) | defaultSpiChipNumber = 0 constant defaultSpiMode (line 30) | defaultSpiMode = 0 constant defaultSpiBitsNumber (line 31) | defaultSpiBitsNumber = 8 constant defaultSpiMaxSpeed (line 32) | defaultSpiMaxSpeed = 500000 type sysfsPin (line 35) | type sysfsPin struct type Adaptor (line 41) | type Adaptor struct method Name (line 110) | func (a *Adaptor) Name() string { return a.name } method SetName (line 113) | func (a *Adaptor) SetName(n string) { a.name = n } method Connect (line 116) | func (a *Adaptor) Connect() error { method Finalize (line 135) | func (a *Adaptor) Finalize() error { method DigitalWrite (line 156) | func (a *Adaptor) DigitalWrite(id string, val byte) error { method translateDigitalPin (line 175) | func (a *Adaptor) translateDigitalPin(id string) (string, int, error) { method translatePWMPin (line 182) | func (a *Adaptor) translatePWMPin(id string) (string, int, error) { function NewAdaptor (line 67) | func NewAdaptor(opts ...interface{}) *Adaptor { FILE: platforms/upboard/up2/adaptor_test.go constant pwmDir (line 34) | pwmDir = "/sys/class/pwm/pwmchip0/" constant pwmExportPath (line 35) | pwmExportPath = pwmDir + "export" constant pwmUnexportPath (line 36) | pwmUnexportPath = pwmDir + "unexport" constant pwmEnablePath (line 37) | pwmEnablePath = pwmDir + "pwm0/enable" constant pwmDutyCyclePath (line 38) | pwmDutyCyclePath = pwmDir + "pwm0/duty_cycle" constant pwmPeriodPath (line 39) | pwmPeriodPath = pwmDir + "pwm0/period" constant pwmPolarityPath (line 40) | pwmPolarityPath = pwmDir + "pwm0/polarity" function initConnectedTestAdaptorWithMockedFilesystem (line 62) | func initConnectedTestAdaptorWithMockedFilesystem(mockPaths []string) (*... function TestNewAdaptor (line 71) | func TestNewAdaptor(t *testing.T) { function TestDigitalIO (line 89) | func TestDigitalIO(t *testing.T) { function TestPWMWrite (line 109) | func TestPWMWrite(t *testing.T) { function TestServoWrite (line 127) | func TestServoWrite(t *testing.T) { function TestFinalizeErrorAfterGPIO (line 152) | func TestFinalizeErrorAfterGPIO(t *testing.T) { function TestFinalizeErrorAfterPWM (line 163) | func TestFinalizeErrorAfterPWM(t *testing.T) { function TestSpiDefaultValues (line 177) | func TestSpiDefaultValues(t *testing.T) { function TestI2cDefaultBus (line 185) | func TestI2cDefaultBus(t *testing.T) { function TestI2cFinalizeWithErrors (line 190) | func TestI2cFinalizeWithErrors(t *testing.T) { function Test_translatePWMPin (line 207) | func Test_translatePWMPin(t *testing.T) { FILE: robot.go type JSONRobot (line 15) | type JSONRobot struct function NewJSONRobot (line 23) | func NewJSONRobot(robot *Robot) *JSONRobot { type Robot (line 46) | type Robot struct method Start (line 164) | func (r *Robot) Start(args ...interface{}) error { method Stop (line 211) | func (r *Robot) Stop() error { method Running (line 232) | func (r *Robot) Running() bool { method Devices (line 237) | func (r *Robot) Devices() *Devices { method AddDevice (line 243) | func (r *Robot) AddDevice(d Device) Device { method Device (line 249) | func (r *Robot) Device(name string) Device { method Connections (line 262) | func (r *Robot) Connections() *Connections { method AddConnection (line 268) | func (r *Robot) AddConnection(c Connection) Connection { method Connection (line 275) | func (r *Robot) Connection(name string) Connection { type Robots (line 64) | type Robots method Len (line 67) | func (r *Robots) Len() int { method Start (line 72) | func (r *Robots) Start(args ...interface{}) error { method Stop (line 91) | func (r *Robots) Stop() error { method Each (line 102) | func (r *Robots) Each(f func(*Robot)) { function NewRobot (line 114) | func NewRobot(v ...interface{}) *Robot { FILE: robot_test.go function TestRobotConnectionEach (line 11) | func TestRobotConnectionEach(t *testing.T) { function TestRobotToJSON (line 21) | func TestRobotToJSON(t *testing.T) { function TestRobotDevicesToJSON (line 31) | func TestRobotDevicesToJSON(t *testing.T) { function TestRobotStart (line 41) | func TestRobotStart(t *testing.T) { function TestRobotStartAutoRun (line 48) | func TestRobotStartAutoRun(t *testing.T) { FILE: robot_work.go type RobotWorkRegistry (line 13) | type RobotWorkRegistry struct method Get (line 150) | func (rwr *RobotWorkRegistry) Get(id uuid.UUID) *RobotWork { method delete (line 157) | func (rwr *RobotWorkRegistry) delete(id uuid.UUID) { method registerAfter (line 164) | func (rwr *RobotWorkRegistry) registerAfter(ctx context.Context, d tim... method registerEvery (line 182) | func (rwr *RobotWorkRegistry) registerEvery(ctx context.Context, d tim... constant EveryWorkKind (line 20) | EveryWorkKind = "every" constant AfterWorkKind (line 21) | AfterWorkKind = "after" type RobotWork (line 46) | type RobotWork struct method ID (line 58) | func (rw *RobotWork) ID() uuid.UUID { method CancelFunc (line 63) | func (rw *RobotWork) CancelFunc() context.CancelFunc { method CallCancelFunc (line 68) | func (rw *RobotWork) CallCancelFunc() { method Ticker (line 73) | func (rw *RobotWork) Ticker() *time.Ticker { method TickCount (line 81) | func (rw *RobotWork) TickCount() int { method Duration (line 86) | func (rw *RobotWork) Duration() time.Duration { method String (line 90) | func (rw *RobotWork) String() string { method WorkRegistry (line 100) | func (r *Robot) WorkRegistry() *RobotWorkRegistry { method Every (line 105) | func (r *Robot) Every(ctx context.Context, d time.Duration, f func()) *R... method After (line 127) | func (r *Robot) After(ctx context.Context, d time.Duration, f func()) *R... FILE: robot_work_test.go function TestRobotWork (line 12) | func TestRobotWork(t *testing.T) { function TestRobotWorkRegistry (line 41) | func TestRobotWorkRegistry(t *testing.T) { function TestRobotAutomationFunctions (line 59) | func TestRobotAutomationFunctions(t *testing.T) { function collectStringKeysFromWorkRegistry (line 94) | func collectStringKeysFromWorkRegistry(rwr *RobotWorkRegistry) []string { FILE: system/analogpin_sysfs.go type analogPinSysFs (line 5) | type analogPinSysFs struct method Read (line 22) | func (p *analogPinSysFs) Read() (int, error) { method Write (line 31) | func (p *analogPinSysFs) Write(val int) error { function newAnalogPinSysfs (line 11) | func newAnalogPinSysfs(sfa *sysfsFileAccess, path string, r, w bool) *an... FILE: system/analogpin_sysfs_test.go function Test_newAnalogPinSysfs (line 11) | func Test_newAnalogPinSysfs(t *testing.T) { function TestRead (line 25) | func TestRead(t *testing.T) { function TestWrite (line 73) | func TestWrite(t *testing.T) { FILE: system/digitalpin_bench_test.go function BenchmarkDigitalRead (line 7) | func BenchmarkDigitalRead(b *testing.B) { FILE: system/digitalpin_cdev.go constant systemCdevDebug (line 16) | systemCdevDebug = false type cdevLine (line 18) | type cdevLine interface type digitalPinCdev (line 24) | type digitalPinCdev struct method ApplyOptions (line 81) | func (d *digitalPinCdev) ApplyOptions(options ...func(gobot.DigitalPin... method DirectionBehavior (line 94) | func (d *digitalPinCdev) DirectionBehavior() string { method Export (line 99) | func (d *digitalPinCdev) Export() error { method Unexport (line 108) | func (d *digitalPinCdev) Unexport() error { method Write (line 127) | func (d *digitalPinCdev) Write(val int) error { method Read (line 143) | func (d *digitalPinCdev) Read() (int, error) { method ListLines (line 152) | func (d *digitalPinCdev) ListLines() error { method List (line 169) | func (d *digitalPinCdev) List() error { function newDigitalPinCdev (line 67) | func newDigitalPinCdev(chipName string, pin int, options ...func(gobot.D... function digitalPinCdevReconfigureLine (line 189) | func digitalPinCdevReconfigureLine(d *digitalPinCdev, forceInput bool) e... function digitalPinCdevGetWrappedEventHandler (line 296) | func digitalPinCdevGetWrappedEventHandler( function digitalPinCdevFmtLine (line 311) | func digitalPinCdevFmtLine(li gpiocdev.LineInfo) string { function digitalPinCdevFmtLineConfig (line 320) | func digitalPinCdevFmtLineConfig(cfg gpiocdev.LineConfig) string { FILE: system/digitalpin_cdev_test.go function Test_newDigitalPinCdev (line 20) | func Test_newDigitalPinCdev(t *testing.T) { function Test_newDigitalPinCdevWithOptions (line 38) | func Test_newDigitalPinCdevWithOptions(t *testing.T) { function TestApplyOptions (line 50) | func TestApplyOptions(t *testing.T) { function TestExport_cdev (line 119) | func TestExport_cdev(t *testing.T) { function TestUnexport_cdev (line 160) | func TestUnexport_cdev(t *testing.T) { function TestWrite_cdev (line 222) | func TestWrite_cdev(t *testing.T) { function TestRead_cdev (line 271) | func TestRead_cdev(t *testing.T) { type lineMock (line 306) | type lineMock struct method SetValue (line 313) | func (lm *lineMock) SetValue(value int) error { lm.lastVal = value; re... method Value (line 314) | func (lm *lineMock) Value() (int, error) { return lm.lastVal, lm.... method Close (line 315) | func (lm *lineMock) Close() error { return lm.simCloseErr } FILE: system/digitalpin_mock.go type simulateErrors (line 10) | type simulateErrors struct type mockDigitalPinAccess (line 18) | type mockDigitalPinAccess struct method isType (line 46) | func (dpa *mockDigitalPinAccess) isType(accesserType digitalPinAccesse... method isSupported (line 50) | func (dpa *mockDigitalPinAccess) isSupported() bool { return true } method createPin (line 52) | func (dpa *mockDigitalPinAccess) createPin(chip string, pin int, method setFs (line 70) | func (dpa *mockDigitalPinAccess) setFs(fs filesystem) { method DigitalPin (line 75) | func (dpa *mockDigitalPinAccess) DigitalPin(id string) (gobot.DigitalP... method AppliedOptions (line 80) | func (dpa *mockDigitalPinAccess) AppliedOptions(chip, pin string) int { method Written (line 84) | func (dpa *mockDigitalPinAccess) Written(chip, pin string) []int { method Exported (line 88) | func (dpa *mockDigitalPinAccess) Exported(chip, pin string) int { method UseValues (line 92) | func (dpa *mockDigitalPinAccess) UseValues(chip, pin string, values []... method UseUnexportError (line 102) | func (dpa *mockDigitalPinAccess) UseUnexportError(chip, pin string) { type digitalPinMock (line 25) | type digitalPinMock struct method ApplyOptions (line 118) | func (dp *digitalPinMock) ApplyOptions(options ...func(gobot.DigitalPi... method DirectionBehavior (line 128) | func (dp *digitalPinMock) DirectionBehavior() string { method Write (line 133) | func (dp *digitalPinMock) Write(b int) error { method Read (line 144) | func (dp *digitalPinMock) Read() (int, error) { method Export (line 154) | func (dp *digitalPinMock) Export() error { method Unexport (line 164) | func (dp *digitalPinMock) Unexport() error { function newMockDigitalPinAccess (line 36) | func newMockDigitalPinAccess(underlyingDigitalPinAccess digitalPinAccess... function getDigitalPinMockKey (line 173) | func getDigitalPinMockKey(chip, pin string) string { FILE: system/digitalpin_poll.go function startEdgePolling (line 9) | func startEdgePolling( FILE: system/digitalpin_poll_test.go function Test_startEdgePolling (line 13) | func Test_startEdgePolling(t *testing.T) { FILE: system/digitalpin_sysfs.go constant systemSysfsDebug (line 15) | systemSysfsDebug = false constant gpioPath (line 17) | gpioPath = "/sys/class/gpio" type digitalPinSysfs (line 23) | type digitalPinSysfs struct method ApplyOptions (line 51) | func (d *digitalPinSysfs) ApplyOptions(options ...func(gobot.DigitalPi... method DirectionBehavior (line 64) | func (d *digitalPinSysfs) DirectionBehavior() string { method Export (line 69) | func (d *digitalPinSysfs) Export() error { method Unexport (line 74) | func (d *digitalPinSysfs) Unexport() error { method Write (line 107) | func (d *digitalPinSysfs) Write(b int) error { method Read (line 116) | func (d *digitalPinSysfs) Read() (int, error) { method reconfigure (line 127) | func (d *digitalPinSysfs) reconfigure() error { method writeDirectionWithInitialOutput (line 223) | func (d *digitalPinSysfs) writeDirectionWithInitialOutput() error { function newDigitalPinSysfs (line 36) | func newDigitalPinSysfs( FILE: system/digitalpin_sysfs_test.go function initTestDigitalPinSysfsWithMockedFilesystem (line 22) | func initTestDigitalPinSysfsWithMockedFilesystem(mockPaths []string) (*d... function Test_newDigitalPinSysfs (line 29) | func Test_newDigitalPinSysfs(t *testing.T) { function TestApplyOptionsSysfs (line 44) | func TestApplyOptionsSysfs(t *testing.T) { function TestDirectionBehaviorSysfs (line 110) | func TestDirectionBehaviorSysfs(t *testing.T) { function TestDigitalPinExportSysfs (line 119) | func TestDigitalPinExportSysfs(t *testing.T) { function TestDigitalPinSysfs (line 336) | func TestDigitalPinSysfs(t *testing.T) { function TestDigitalPinUnexportErrorSysfs (line 385) | func TestDigitalPinUnexportErrorSysfs(t *testing.T) { FILE: system/digitalpinaccess.go type sysfsDigitalPinAccess (line 10) | type sysfsDigitalPinAccess struct method isType (line 20) | func (dpa *sysfsDigitalPinAccess) isType(accesserType digitalPinAccess... method isSupported (line 24) | func (dpa *sysfsDigitalPinAccess) isSupported() bool { method createPin (line 29) | func (dpa *sysfsDigitalPinAccess) createPin(chip string, pin int, method setFs (line 35) | func (dpa *sysfsDigitalPinAccess) setFs(fs filesystem) { type cdevDigitalPinAccess (line 15) | type cdevDigitalPinAccess struct method isType (line 39) | func (dpa *cdevDigitalPinAccess) isType(accesserType digitalPinAccesse... method isSupported (line 43) | func (dpa *cdevDigitalPinAccess) isSupported() bool { method createPin (line 52) | func (dpa *cdevDigitalPinAccess) createPin(chip string, pin int, method setFs (line 58) | func (dpa *cdevDigitalPinAccess) setFs(fs filesystem) { FILE: system/digitalpinaccess_test.go function Test_isSupported_sysfs (line 10) | func Test_isSupported_sysfs(t *testing.T) { function Test_isSupported_cdev (line 19) | func Test_isSupported_cdev(t *testing.T) { function Test_createAsSysfs (line 46) | func Test_createAsSysfs(t *testing.T) { function Test_createPin_cdev (line 58) | func Test_createPin_cdev(t *testing.T) { function Test_createPin_WithOptions_sysfs (line 75) | func Test_createPin_WithOptions_sysfs(t *testing.T) { function Test_createPin_WithOptions_cdev (line 89) | func Test_createPin_WithOptions_cdev(t *testing.T) { FILE: system/digitalpinoptions.go constant IN (line 11) | IN = "in" constant OUT (line 13) | OUT = "out" constant HIGH (line 15) | HIGH = 1 constant LOW (line 17) | LOW = 0 constant digitalPinBiasDefault (line 21) | digitalPinBiasDefault = 0 constant digitalPinBiasDisable (line 22) | digitalPinBiasDisable = 1 constant digitalPinBiasPullDown (line 23) | digitalPinBiasPullDown = 2 constant digitalPinBiasPullUp (line 24) | digitalPinBiasPullUp = 3 constant digitalPinDrivePushPull (line 29) | digitalPinDrivePushPull = 0 constant digitalPinDriveOpenDrain (line 30) | digitalPinDriveOpenDrain = 1 constant digitalPinDriveOpenSource (line 31) | digitalPinDriveOpenSource = 2 constant digitalPinEventNone (line 33) | digitalPinEventNone = 0 constant digitalPinEventOnFallingEdge (line 34) | digitalPinEventOnFallingEdge = 1 constant digitalPinEventOnRisingEdge (line 35) | digitalPinEventOnRisingEdge = 2 constant digitalPinEventOnBothEdges (line 36) | digitalPinEventOnBothEdges = 3 constant DigitalPinEventRisingEdge (line 41) | DigitalPinEventRisingEdge = "rising edge" constant DigitalPinEventFallingEdge (line 43) | DigitalPinEventFallingEdge = "falling edge" type digitalPinConfig (line 46) | type digitalPinConfig struct method SetLabel (line 156) | func (d *digitalPinConfig) SetLabel(label string) bool { method SetDirectionOutput (line 166) | func (d *digitalPinConfig) SetDirectionOutput(initial int) bool { method SetDirectionInput (line 178) | func (d *digitalPinConfig) SetDirectionInput() bool { method SetActiveLow (line 188) | func (d *digitalPinConfig) SetActiveLow() bool { method SetBias (line 198) | func (d *digitalPinConfig) SetBias(bias int) bool { method SetDrive (line 208) | func (d *digitalPinConfig) SetDrive(drive int) bool { method SetDebounce (line 218) | func (d *digitalPinConfig) SetDebounce(period time.Duration) bool { method SetEventHandlerForEdge (line 228) | func (d *digitalPinConfig) SetEventHandlerForEdge( method SetPollForEdgeDetection (line 248) | func (d *digitalPinConfig) SetPollForEdgeDetection( function newDigitalPinConfig (line 60) | func newDigitalPinConfig(label string, options ...func(gobot.DigitalPinO... function WithPinLabel (line 72) | func WithPinLabel(label string) func(gobot.DigitalPinOptioner) bool { function WithPinDirectionOutput (line 77) | func WithPinDirectionOutput(initial int) func(gobot.DigitalPinOptioner) ... function WithPinDirectionInput (line 82) | func WithPinDirectionInput() func(gobot.DigitalPinOptioner) bool { function WithPinActiveLow (line 87) | func WithPinActiveLow() func(gobot.DigitalPinOptioner) bool { function WithPinPullDown (line 93) | func WithPinPullDown() func(gobot.DigitalPinOptioner) bool { function WithPinPullUp (line 99) | func WithPinPullUp() func(gobot.DigitalPinOptioner) bool { function WithPinOpenDrain (line 104) | func WithPinOpenDrain() func(gobot.DigitalPinOptioner) bool { function WithPinOpenSource (line 109) | func WithPinOpenSource() func(gobot.DigitalPinOptioner) bool { function WithPinDebounce (line 114) | func WithPinDebounce(period time.Duration) func(gobot.DigitalPinOptioner... function WithPinEventOnFallingEdge (line 119) | func WithPinEventOnFallingEdge(handler func(lineOffset int, timestamp ti... function WithPinEventOnRisingEdge (line 128) | func WithPinEventOnRisingEdge(handler func(lineOffset int, timestamp tim... function WithPinEventOnBothEdges (line 137) | func WithPinEventOnBothEdges(handler func(lineOffset int, timestamp time... function WithPinPollForEdgeDetection (line 146) | func WithPinPollForEdgeDetection( FILE: system/digitalpinoptions_test.go function Test_newDigitalPinConfig (line 14) | func Test_newDigitalPinConfig(t *testing.T) { function Test_newDigitalPinConfigWithOption (line 28) | func Test_newDigitalPinConfigWithOption(t *testing.T) { function TestWithPinLabel (line 38) | func TestWithPinLabel(t *testing.T) { function TestWithPinDirectionOutput (line 68) | func TestWithPinDirectionOutput(t *testing.T) { function TestWithPinDirectionInput (line 103) | func TestWithPinDirectionInput(t *testing.T) { function TestWithPinActiveLow (line 131) | func TestWithPinActiveLow(t *testing.T) { function TestWithPinPullDown (line 157) | func TestWithPinPullDown(t *testing.T) { function TestWithPinPullUp (line 184) | func TestWithPinPullUp(t *testing.T) { function TestWithPinOpenDrain (line 211) | func TestWithPinOpenDrain(t *testing.T) { function TestWithPinOpenSource (line 242) | func TestWithPinOpenSource(t *testing.T) { function TestWithPinDebounce (line 273) | func TestWithPinDebounce(t *testing.T) { function TestWithPinEventOnFallingEdge (line 304) | func TestWithPinEventOnFallingEdge(t *testing.T) { function TestWithPinEventOnRisingEdge (line 342) | func TestWithPinEventOnRisingEdge(t *testing.T) { function TestWithPinEventOnBothEdges (line 380) | func TestWithPinEventOnBothEdges(t *testing.T) { function TestWithPinPollForEdgeDetection (line 418) | func TestWithPinPollForEdgeDetection(t *testing.T) { FILE: system/fs.go type nativeFilesystem (line 10) | type nativeFilesystem struct method openFile (line 13) | func (fs *nativeFilesystem) openFile(name string, flag int, perm os.Fi... method stat (line 18) | func (fs *nativeFilesystem) stat(name string) (os.FileInfo, error) { method find (line 23) | func (fs *nativeFilesystem) find(baseDir string, pattern string) ([]st... method readFile (line 45) | func (fs *nativeFilesystem) readFile(name string) ([]byte, error) { FILE: system/fs_mock.go type MockFilesystem (line 19) | type MockFilesystem struct method openFile (line 133) | func (fs *MockFilesystem) openFile(name string, _ int, _ os.FileMode) ... method stat (line 146) | func (fs *MockFilesystem) stat(name string) (os.FileInfo, error) { method find (line 181) | func (fs *MockFilesystem) find(baseDir string, pattern string) ([]stri... method readFile (line 203) | func (fs *MockFilesystem) readFile(name string) ([]byte, error) { method next (line 217) | func (fs *MockFilesystem) next() int { method Add (line 223) | func (fs *MockFilesystem) Add(name string) *MockFile { type MockFile (line 31) | type MockFile struct method Write (line 50) | func (f *MockFile) Write(b []byte) (int, error) { method Seek (line 59) | func (f *MockFile) Seek(offset int64, whence int) (int64, error) { method WriteString (line 64) | func (f *MockFile) WriteString(s string) (int, error) { method Sync (line 72) | func (f *MockFile) Sync() error { method Read (line 77) | func (f *MockFile) Read(b []byte) (int, error) { method ReadAt (line 97) | func (f *MockFile) ReadAt(b []byte, off int64) (int, error) { method Fd (line 102) | func (f *MockFile) Fd() uintptr { method Close (line 107) | func (f *MockFile) Close() error { function newMockFilesystem (line 120) | func newMockFilesystem(items []string) *MockFilesystem { FILE: system/fs_mock_test.go function TestMockFilesystemOpen (line 11) | func TestMockFilesystemOpen(t *testing.T) { function TestMockFilesystemStat (line 31) | func TestMockFilesystemStat(t *testing.T) { function TestMockFilesystemFind (line 46) | func TestMockFilesystemFind(t *testing.T) { function TestMockFilesystemWrite (line 72) | func TestMockFilesystemWrite(t *testing.T) { function TestMockFilesystemRead (line 87) | func TestMockFilesystemRead(t *testing.T) { FILE: system/fs_test.go function TestFilesystemOpen (line 11) | func TestFilesystemOpen(t *testing.T) { function TestFilesystemStat (line 18) | func TestFilesystemStat(t *testing.T) { FILE: system/i2c_device.go constant i2cDeviceDebug (line 12) | i2cDeviceDebug = false constant forceSetAddress (line 13) | forceSetAddress = false constant I2C_TARGET (line 19) | I2C_TARGET = 0x0703 constant I2C_FUNCS (line 20) | I2C_FUNCS = 0x0705 constant I2C_SMBUS (line 21) | I2C_SMBUS = 0x0720 constant I2C_SMBUS_READ (line 23) | I2C_SMBUS_READ = 1 constant I2C_SMBUS_WRITE (line 24) | I2C_SMBUS_WRITE = 0 constant I2C_FUNC_SMBUS_READ_BYTE (line 28) | I2C_FUNC_SMBUS_READ_BYTE = 0x00020000 constant I2C_FUNC_SMBUS_WRITE_BYTE (line 29) | I2C_FUNC_SMBUS_WRITE_BYTE = 0x00040000 constant I2C_FUNC_SMBUS_READ_BYTE_DATA (line 30) | I2C_FUNC_SMBUS_READ_BYTE_DATA = 0x00080000 constant I2C_FUNC_SMBUS_WRITE_BYTE_DATA (line 31) | I2C_FUNC_SMBUS_WRITE_BYTE_DATA = 0x00100000 constant I2C_FUNC_SMBUS_READ_WORD_DATA (line 32) | I2C_FUNC_SMBUS_READ_WORD_DATA = 0x00200000 constant I2C_FUNC_SMBUS_WRITE_WORD_DATA (line 33) | I2C_FUNC_SMBUS_WRITE_WORD_DATA = 0x00400000 constant I2C_FUNC_SMBUS_READ_BLOCK_DATA (line 34) | I2C_FUNC_SMBUS_READ_BLOCK_DATA = 0x01000000 constant I2C_FUNC_SMBUS_WRITE_BLOCK_DATA (line 35) | I2C_FUNC_SMBUS_WRITE_BLOCK_DATA = 0x02000000 constant I2C_FUNC_SMBUS_READ_I2C_BLOCK (line 36) | I2C_FUNC_SMBUS_READ_I2C_BLOCK = 0x04000000 constant I2C_FUNC_SMBUS_WRITE_I2C_BLOCK (line 37) | I2C_FUNC_SMBUS_WRITE_I2C_BLOCK = 0x08000000 constant I2C_SMBUS_BYTE (line 39) | I2C_SMBUS_BYTE = 1 constant I2C_SMBUS_BYTE_DATA (line 40) | I2C_SMBUS_BYTE_DATA = 2 constant I2C_SMBUS_WORD_DATA (line 41) | I2C_SMBUS_WORD_DATA = 3 constant I2C_SMBUS_PROC_CALL (line 42) | I2C_SMBUS_PROC_CALL = 4 constant I2C_SMBUS_BLOCK_DATA (line 43) | I2C_SMBUS_BLOCK_DATA = 5 constant I2C_SMBUS_I2C_BLOCK_BROKEN (line 44) | I2C_SMBUS_I2C_BLOCK_BROKEN = 6 constant I2C_SMBUS_BLOCK_PROC_CALL (line 45) | I2C_SMBUS_BLOCK_PROC_CALL = 7 constant I2C_SMBUS_I2C_BLOCK_DATA (line 46) | I2C_SMBUS_I2C_BLOCK_DATA = 8 type i2cSmbusIoctlData (line 49) | type i2cSmbusIoctlData struct type i2cDevice (line 56) | type i2cDevice struct method Close (line 87) | func (d *i2cDevice) Close() error { method ReadByte (line 100) | func (d *i2cDevice) ReadByte(address int) (byte, error) { method ReadByteData (line 114) | func (d *i2cDevice) ReadByteData(address int, reg uint8) (uint8, error) { method ReadWordData (line 128) | func (d *i2cDevice) ReadWordData(address int, reg uint8) (uint16, erro... method ReadBlockData (line 142) | func (d *i2cDevice) ReadBlockData(address int, reg uint8, data []byte)... method WriteByte (line 173) | func (d *i2cDevice) WriteByte(address int, val byte) error { method WriteByteData (line 185) | func (d *i2cDevice) WriteByteData(address int, reg uint8, val uint8) e... method WriteWordData (line 198) | func (d *i2cDevice) WriteWordData(address int, reg uint8, val uint16) ... method WriteBlockData (line 211) | func (d *i2cDevice) WriteBlockData(address int, reg uint8, data []byte... method WriteBytes (line 236) | func (d *i2cDevice) WriteBytes(address int, data []byte) error { method Read (line 244) | func (d *i2cDevice) Read(address int, b []byte) (int, error) { method Write (line 252) | func (d *i2cDevice) Write(address int, b []byte) (int, error) { method readBlockDataFallback (line 259) | func (d *i2cDevice) readBlockDataFallback(address int, reg uint8, data... method writeBlockDataFallback (line 269) | func (d *i2cDevice) writeBlockDataFallback(address int, reg uint8, dat... method writeBytes (line 280) | func (d *i2cDevice) writeBytes(address int, data []byte) error { method write (line 291) | func (d *i2cDevice) write(address int, b []byte) (int, error) { method readAndCheckCount (line 301) | func (d *i2cDevice) readAndCheckCount(address int, data []byte) error { method read (line 312) | func (d *i2cDevice) read(address int, b []byte) (int, error) { method queryFunctionality (line 323) | func (d *i2cDevice) queryFunctionality(requested uint64, sender string... method smbusAccess (line 338) | func (d *i2cDevice) smbusAccess( method setAddress (line 366) | func (d *i2cDevice) setAddress(address int) error { method syscallIoctl (line 381) | func (d *i2cDevice) syscallIoctl(signal uintptr, payload unsafe.Pointe... method openFileLazy (line 393) | func (d *i2cDevice) openFileLazy(sender string) error { //nolint:unpar... method NewI2cDevice (line 72) | func (a *Accesser) NewI2cDevice(location string) (*i2cDevice, error) { FILE: system/i2c_device_test.go constant dev (line 15) | dev = "/dev/i2c-1" function getSyscallFuncImpl (line 17) | func getSyscallFuncImpl( function initTestI2cDeviceWithMockedSys (line 54) | func initTestI2cDeviceWithMockedSys() (*i2cDevice, *mockSyscall) { function TestNewI2cDevice (line 67) | func TestNewI2cDevice(t *testing.T) { function TestClose (line 98) | func TestClose(t *testing.T) { function TestWriteRead (line 105) | func TestWriteRead(t *testing.T) { function TestReadByte (line 121) | func TestReadByte(t *testing.T) { function TestReadByteData (line 166) | func TestReadByteData(t *testing.T) { function TestReadWordData (line 214) | func TestReadWordData(t *testing.T) { function TestReadBlockData (line 265) | func TestReadBlockData(t *testing.T) { function TestWriteByte (line 325) | func TestWriteByte(t *testing.T) { function TestWriteByteData (line 368) | func TestWriteByteData(t *testing.T) { function TestWriteWordData (line 416) | func TestWriteWordData(t *testing.T) { function TestWriteBlockData (line 468) | func TestWriteBlockData(t *testing.T) { function TestWriteBlockDataTooMuch (line 525) | func TestWriteBlockDataTooMuch(t *testing.T) { function Test_setAddress (line 534) | func Test_setAddress(t *testing.T) { function Test_queryFunctionality (line 544) | func Test_queryFunctionality(t *testing.T) { FILE: system/onewiredevice_sysfs.go type onewireDeviceSysfs (line 8) | type onewireDeviceSysfs struct method ID (line 24) | func (o *onewireDeviceSysfs) ID() string { method ReadData (line 29) | func (o *onewireDeviceSysfs) ReadData(command string, data []byte) err... method WriteData (line 45) | func (o *onewireDeviceSysfs) WriteData(command string, data []byte) er... method ReadInteger (line 51) | func (o *onewireDeviceSysfs) ReadInteger(command string) (int, error) { method WriteInteger (line 57) | func (o *onewireDeviceSysfs) WriteInteger(command string, val int) err... method Close (line 63) | func (o *onewireDeviceSysfs) Close() error { function newOneWireDeviceSysfs (line 14) | func newOneWireDeviceSysfs(sfa *sysfsFileAccess, id string) *onewireDevi... FILE: system/onewiredevice_sysfs_test.go function Test_newOneWireDeviceSysfs (line 11) | func Test_newOneWireDeviceSysfs(t *testing.T) { function TestOneWireDeviceReadData (line 24) | func TestOneWireDeviceReadData(t *testing.T) { function TestOneWireDeviceWriteData (line 45) | func TestOneWireDeviceWriteData(t *testing.T) { function TestOneWireDeviceReadInteger (line 64) | func TestOneWireDeviceReadInteger(t *testing.T) { function TestOneWireDeviceWriteInteger (line 85) | func TestOneWireDeviceWriteInteger(t *testing.T) { FILE: system/pwmpin_sysfs.go constant pwmDebug (line 13) | pwmDebug = false constant pwmPinErrorPattern (line 16) | pwmPinErrorPattern = "%s() failed for id %s with %v" constant pwmPinSetErrorPattern (line 17) | pwmPinSetErrorPattern = "%s(%v) failed for id %s with %v" type pwmPinSysFs (line 21) | type pwmPinSysFs struct method Export (line 44) | func (p *pwmPinSysFs) Export() error { method Unexport (line 62) | func (p *pwmPinSysFs) Unexport() error { method Enabled (line 70) | func (p *pwmPinSysFs) Enabled() (bool, error) { method SetEnabled (line 81) | func (p *pwmPinSysFs) SetEnabled(enable bool) error { method Polarity (line 97) | func (p *pwmPinSysFs) Polarity() (bool, error) { method SetPolarity (line 118) | func (p *pwmPinSysFs) SetPolarity(normal bool) error { method Period (line 137) | func (p *pwmPinSysFs) Period() (uint32, error) { method SetPeriod (line 147) | func (p *pwmPinSysFs) SetPeriod(period uint32) error { method DutyCycle (line 159) | func (p *pwmPinSysFs) DutyCycle() (uint32, error) { method SetDutyCycle (line 169) | func (p *pwmPinSysFs) SetDutyCycle(duty uint32) error { method pwmExportPath (line 180) | func (p *pwmPinSysFs) pwmExportPath() string { method pwmUnexportPath (line 185) | func (p *pwmPinSysFs) pwmUnexportPath() string { method pwmDutyCyclePath (line 190) | func (p *pwmPinSysFs) pwmDutyCyclePath() string { method pwmPeriodPath (line 195) | func (p *pwmPinSysFs) pwmPeriodPath() string { method pwmEnablePath (line 200) | func (p *pwmPinSysFs) pwmEnablePath() string { method pwmPolarityPath (line 205) | func (p *pwmPinSysFs) pwmPolarityPath() string { method printState (line 209) | func (p *pwmPinSysFs) printState() { function newPWMPinSysfs (line 31) | func newPWMPinSysfs(sfa *sysfsFileAccess, path string, pin int, polNormI... FILE: system/pwmpin_sysfs_test.go constant normal (line 16) | normal = "normal" constant inverted (line 17) | inverted = "inversed" function initTestPWMPinSysFsWithMockedFilesystem (line 20) | func initTestPWMPinSysFsWithMockedFilesystem(mockPaths []string) (*pwmPi... function TestPwmPin (line 27) | func TestPwmPin(t *testing.T) { function TestPwmPinAlreadyExported (line 79) | func TestPwmPinAlreadyExported(t *testing.T) { function TestPwmPinExportError (line 94) | func TestPwmPinExportError(t *testing.T) { function TestPwmPinUnxportError (line 111) | func TestPwmPinUnxportError(t *testing.T) { function TestPwmPinPeriodError (line 128) | func TestPwmPinPeriodError(t *testing.T) { function TestPwmPinPolarityError (line 145) | func TestPwmPinPolarityError(t *testing.T) { function TestPwmPinDutyCycleError (line 163) | func TestPwmPinDutyCycleError(t *testing.T) { FILE: system/spi_gpio.go type spiGpioConfig (line 12) | type spiGpioConfig struct method String (line 107) | func (cfg *spiGpioConfig) String() string { type spiGpio (line 22) | type spiGpio struct method initializeTime (line 39) | func (s *spiGpio) initializeTime(maxSpeedHz int64) { method TxRx (line 55) | func (s *spiGpio) TxRx(tx []byte, rx []byte) error { method Close (line 82) | func (s *spiGpio) Close() error { method transferByte (line 115) | func (s *spiGpio) transferByte(txByte uint8) (uint8, error) { method initializeGpios (line 148) | func (s *spiGpio) initializeGpios() error { function newSpiGpio (line 33) | func newSpiGpio(cfg spiGpioConfig, maxSpeedHz int64) (*spiGpio, error) { FILE: system/spi_gpio_test.go function Test_newSpiGpio (line 11) | func Test_newSpiGpio(t *testing.T) { function TestSpiGpioTxRx (line 37) | func TestSpiGpioTxRx(t *testing.T) { function TestSpiGpioClose (line 62) | func TestSpiGpioClose(t *testing.T) { FILE: system/spi_mock.go type MockSpiAccess (line 9) | type MockSpiAccess struct method createDevice (line 24) | func (spi *MockSpiAccess) createDevice( method isType (line 41) | func (spi *MockSpiAccess) isType(accesserType spiBusAccesserType) bool { method isSupported (line 45) | func (*MockSpiAccess) isSupported() bool { method SetReadError (line 50) | func (spi *MockSpiAccess) SetReadError(val bool) { method SetWriteError (line 55) | func (spi *MockSpiAccess) SetWriteError(val bool) { method SetCloseError (line 60) | func (spi *MockSpiAccess) SetCloseError(val bool) { method SetSimRead (line 65) | func (spi *MockSpiAccess) SetSimRead(data []byte) { method Written (line 71) | func (spi *MockSpiAccess) Written() []byte { method Reset (line 76) | func (spi *MockSpiAccess) Reset() { function newMockSpiAccess (line 20) | func newMockSpiAccess(underlyingSpiAccess spiAccesser) *MockSpiAccess { type spiMock (line 81) | type spiMock struct method Close (line 97) | func (c *spiMock) Close() error { method TxRx (line 105) | func (c *spiMock) TxRx(tx []byte, rx []byte) error { function newSpiMock (line 92) | func newSpiMock(busNum, chipNum, mode, bits int, maxSpeed int64) *spiMock { FILE: system/spi_periphio.go type spiPeriphIo (line 12) | type spiPeriphIo struct method TxRx (line 32) | func (c *spiPeriphIo) TxRx(tx []byte, rx []byte) error { method Close (line 44) | func (c *spiPeriphIo) Close() error { function newSpiPeriphIo (line 19) | func newSpiPeriphIo(busNum, chipNum, mode, bits int, maxSpeed int64) (*s... FILE: system/spiaccess.go type periphioSpiAccess (line 7) | type periphioSpiAccess struct method isType (line 15) | func (psa *periphioSpiAccess) isType(accesserType spiBusAccesserType) ... method isSupported (line 19) | func (psa *periphioSpiAccess) isSupported() bool { method createDevice (line 27) | func (*periphioSpiAccess) createDevice( type gpioSpiAccess (line 11) | type gpioSpiAccess struct method isType (line 34) | func (gsa *gpioSpiAccess) isType(accesserType spiBusAccesserType) bool { method isSupported (line 38) | func (gsa *gpioSpiAccess) isSupported() bool { method createDevice (line 42) | func (gsa *gpioSpiAccess) createDevice( FILE: system/spiaccess_test.go function TestGpioSpi_isType (line 9) | func TestGpioSpi_isType(t *testing.T) { function TestPeriphioSpi_isType (line 18) | func TestPeriphioSpi_isType(t *testing.T) { function TestGpioSpi_isSupported (line 27) | func TestGpioSpi_isSupported(t *testing.T) { function TestPeriphioSpi_isSupported (line 36) | func TestPeriphioSpi_isSupported(t *testing.T) { FILE: system/syscall.go type SyscallErrno (line 10) | type SyscallErrno method Error (line 54) | func (e SyscallErrno) Error() string { constant Syscall_SYS_IOCTL (line 14) | Syscall_SYS_IOCTL = unix.SYS_IOCTL constant Syscall_EINVAL (line 15) | Syscall_EINVAL = unix.EINVAL constant Syscall_EBUSY (line 16) | Syscall_EBUSY = unix.EBUSY constant Syscall_EFAULT (line 17) | Syscall_EFAULT = unix.EFAULT type nativeSyscall (line 21) | type nativeSyscall struct method syscall (line 34) | func (sys *nativeSyscall) syscall( FILE: system/syscall_mock.go type mockSyscall (line 8) | type mockSyscall struct method syscall (line 22) | func (sys *mockSyscall) syscall( method retrieveSliceSize (line 71) | func (sys *mockSyscall) retrieveSliceSize() uint8 { FILE: system/sysfsfileaccess.go type sysfsFileAccess (line 10) | type sysfsFileAccess struct method readInteger (line 27) | func (sfa sysfsFileAccess) readInteger(path string) (int, error) { method read (line 37) | func (sfa sysfsFileAccess) read(path string) ([]byte, error) { method writeInteger (line 47) | func (sfa sysfsFileAccess) writeInteger(path string, val int) error { method write (line 57) | func (sfa sysfsFileAccess) write(path string, data []byte) error { method openRead (line 67) | func (sfa sysfsFileAccess) openRead(path string) (*sysfsFile, error) { method openWrite (line 75) | func (sfa sysfsFileAccess) openWrite(path string) (*sysfsFile, error) { method openReadWrite (line 83) | func (sfa sysfsFileAccess) openReadWrite(path string) (*sysfsFile, err... type sysfsFile (line 21) | type sysfsFile struct method close (line 91) | func (sf *sysfsFile) close() error { method readInteger (line 98) | func (sf *sysfsFile) readInteger() (int, error) { method read (line 111) | func (sf *sysfsFile) read() ([]byte, error) { method writeInteger (line 132) | func (sf *sysfsFile) writeInteger(val int) error { method write (line 136) | func (sf *sysfsFile) write(data []byte) error { FILE: system/system.go type digitalPinAccesserType (line 11) | type digitalPinAccesserType constant digitalPinAccesserTypeCdev (line 14) | digitalPinAccesserTypeCdev digitalPinAccesserType = iota constant digitalPinAccesserTypeSysfs (line 15) | digitalPinAccesserTypeSysfs type spiBusAccesserType (line 18) | type spiBusAccesserType constant spiBusAccesserTypePeriphio (line 21) | spiBusAccesserTypePeriphio spiBusAccesserType = iota constant spiBusAccesserTypeGPIO (line 22) | spiBusAccesserTypeGPIO type File (line 26) | type File interface type filesystem (line 38) | type filesystem interface type systemCaller (line 48) | type systemCaller interface type digitalPinAccesser (line 60) | type digitalPinAccesser interface type spiAccesser (line 68) | type spiAccesser interface type accesserConfiguration (line 74) | type accesserConfiguration struct type Accesser (line 83) | type Accesser struct method AddAnalogSupport (line 108) | func (a *Accesser) AddAnalogSupport() { method AddPWMSupport (line 115) | func (a *Accesser) AddPWMSupport() { method AddDigitalPinSupport (line 123) | func (a *Accesser) AddDigitalPinSupport(options ...AccesserOptionAppli... method HasDigitalPinSysfsAccess (line 163) | func (a *Accesser) HasDigitalPinSysfsAccess() bool { method HasDigitalPinCdevAccess (line 169) | func (a *Accesser) HasDigitalPinCdevAccess() bool { method AddI2CSupport (line 174) | func (a *Accesser) AddI2CSupport() { method AddSPISupport (line 184) | func (a *Accesser) AddSPISupport(options ...AccesserOptionApplier) { method HasSpiPeriphioAccess (line 224) | func (a *Accesser) HasSpiPeriphioAccess() bool { method HasSpiGpioAccess (line 230) | func (a *Accesser) HasSpiGpioAccess() bool { method AddOneWireSupport (line 235) | func (a *Accesser) AddOneWireSupport() { method UseMockDigitalPinAccess (line 242) | func (a *Accesser) UseMockDigitalPinAccess() *mockDigitalPinAccess { method UseMockSyscall (line 249) | func (a *Accesser) UseMockSyscall() *mockSyscall { method UseMockFilesystem (line 256) | func (a *Accesser) UseMockFilesystem(files []string) *MockFilesystem { method UseMockSpi (line 267) | func (a *Accesser) UseMockSpi() *MockSpiAccess { method NewDigitalPin (line 274) | func (a *Accesser) NewDigitalPin(chip string, pin int, method NewPWMPin (line 281) | func (a *Accesser) NewPWMPin(path string, pin int, polNormIdent string... method NewAnalogPin (line 286) | func (a *Accesser) NewAnalogPin(path string, w bool, readBufLen uint16... method NewSpiDevice (line 296) | func (a *Accesser) NewSpiDevice(busNum, chipNum, mode, bits int, maxSp... method NewOneWireDevice (line 303) | func (a *Accesser) NewOneWireDevice(familyCode byte, serialNumber uint... method OpenFile (line 310) | func (a *Accesser) OpenFile(name string, flag int, perm os.FileMode) (... method Stat (line 315) | func (a *Accesser) Stat(name string) (os.FileInfo, error) { method Find (line 320) | func (a *Accesser) Find(baseDir string, pattern string) ([]string, err... method ReadFile (line 326) | func (a *Accesser) ReadFile(name string) ([]byte, error) { function NewAccesser (line 93) | func NewAccesser(options ...AccesserOptionApplier) *Accesser { FILE: system/system_test.go function TestNewAccesser (line 11) | func TestNewAccesser(t *testing.T) { function TestAccesserAddAnalogSupport (line 23) | func TestAccesserAddAnalogSupport(t *testing.T) { function TestAccesserAddPWMSupport (line 36) | func TestAccesserAddPWMSupport(t *testing.T) { function TestAccesserAddDigitalPinSupport (line 49) | func TestAccesserAddDigitalPinSupport(t *testing.T) { function TestAccesserAddI2CSupport (line 63) | func TestAccesserAddI2CSupport(t *testing.T) { function TestAccesserAddSPISupport (line 77) | func TestAccesserAddSPISupport(t *testing.T) { function TestAccesserAddOneWireSupport (line 96) | func TestAccesserAddOneWireSupport(t *testing.T) { function TestAccesserNewDigitalPin (line 109) | func TestAccesserNewDigitalPin(t *testing.T) { function TestAccesserNewPWMPin (line 129) | func TestAccesserNewPWMPin(t *testing.T) { function TestAccesserNewAnalogPin (line 149) | func TestAccesserNewAnalogPin(t *testing.T) { function TestAccesserNewSpiDevice (line 167) | func TestAccesserNewSpiDevice(t *testing.T) { function TestAccesserNewOneWireDevice (line 191) | func TestAccesserNewOneWireDevice(t *testing.T) { FILE: system/systemoptions.go type AccesserOptionApplier (line 10) | type AccesserOptionApplier interface type systemAccesserDebugOption (line 14) | type systemAccesserDebugOption method String (line 64) | func (o systemAccesserDebugOption) String() string { method apply (line 84) | func (o systemAccesserDebugOption) apply(cfg *accesserConfiguration) { type systemDigitalPinDebugOption (line 16) | type systemDigitalPinDebugOption method String (line 68) | func (o systemDigitalPinDebugOption) String() string { method apply (line 88) | func (o systemDigitalPinDebugOption) apply(cfg *accesserConfiguration) { type systemSpiDebugOption (line 18) | type systemSpiDebugOption method String (line 72) | func (o systemSpiDebugOption) String() string { method apply (line 92) | func (o systemSpiDebugOption) apply(cfg *accesserConfiguration) { type systemUseDigitalPinSysfsOption (line 20) | type systemUseDigitalPinSysfsOption method String (line 76) | func (o systemUseDigitalPinSysfsOption) String() string { method apply (line 96) | func (o systemUseDigitalPinSysfsOption) apply(cfg *accesserConfigurati... type systemUseSpiGpioOption (line 22) | type systemUseSpiGpioOption method String (line 80) | func (o systemUseSpiGpioOption) String() string { method apply (line 101) | func (o systemUseSpiGpioOption) apply(cfg *accesserConfiguration) { function WithSystemAccesserDebug (line 25) | func WithSystemAccesserDebug() systemAccesserDebugOption { function WithDigitalPinDebug (line 30) | func WithDigitalPinDebug() systemDigitalPinDebugOption { function WithSpiDebug (line 35) | func WithSpiDebug() systemSpiDebugOption { function WithDigitalPinSysfsAccess (line 41) | func WithDigitalPinSysfsAccess() systemUseDigitalPinSysfsOption { function WithDigitalPinCdevAccess (line 47) | func WithDigitalPinCdevAccess() systemUseDigitalPinSysfsOption { function WithSpiGpioAccess (line 52) | func WithSpiGpioAccess(p gobot.DigitalPinnerProvider, sclkPin, ncsPin, s... FILE: system/systemoptions_test.go function TestWithDigitalPinOptionAccess_HasDigitalPinCdevAccess_HasDigitalPinSysfsAccess (line 11) | func TestWithDigitalPinOptionAccess_HasDigitalPinCdevAccess_HasDigitalPi... function TestWithSpiOptionAccess_HasSpiPeriphioAccess_HasSpiGpioAccess (line 54) | func TestWithSpiOptionAccess_HasSpiPeriphioAccess_HasSpiGpioAccess(t *te... FILE: utils.go function Every (line 15) | func Every(t time.Duration, f func()) *time.Ticker { function After (line 29) | func After(t time.Duration, f func()) { function Rand (line 34) | func Rand(maximum int) int { function FromScale (line 40) | func FromScale(input, minimum, maximum float64) float64 { function ToScale (line 47) | func ToScale(input, minimum, maximum float64) float64 { function Rescale (line 60) | func Rescale(input, fromMin, fromMax, toMin, toMax float64) float64 { function DefaultName (line 66) | func DefaultName(name string) string { FILE: utils_test.go function TestEvery (line 11) | func TestEvery(t *testing.T) { function TestEveryWhenStopped (line 27) | func TestEveryWhenStopped(t *testing.T) { function TestAfter (line 49) | func TestAfter(t *testing.T) { function TestFromScale (line 67) | func TestFromScale(t *testing.T) { function TestToScale (line 71) | func TestToScale(t *testing.T) { function TestRescale (line 77) | func TestRescale(t *testing.T) { function TestRand (line 82) | func TestRand(t *testing.T) { function TestDefaultName (line 90) | func TestDefaultName(t *testing.T) {