adapters

package
v0.0.0-...-ec45d75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2014 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter1ButtonWireless433

type Adapter1ButtonWireless433 struct {
}

func (*Adapter1ButtonWireless433) Cycle

func (d *Adapter1ButtonWireless433) Cycle(dev *api.Thing)

func (*Adapter1ButtonWireless433) GetEventText

func (d *Adapter1ButtonWireless433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)

func (*Adapter1ButtonWireless433) OnRead

func (d *Adapter1ButtonWireless433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*Adapter1ButtonWireless433) OnWrite

func (d *Adapter1ButtonWireless433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type Adapter4ButtonWireless433

type Adapter4ButtonWireless433 struct {
}

func (*Adapter4ButtonWireless433) Cycle

func (d *Adapter4ButtonWireless433) Cycle(dev *api.Thing)

func (*Adapter4ButtonWireless433) GetEventText

func (d *Adapter4ButtonWireless433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)

func (*Adapter4ButtonWireless433) OnRead

func (d *Adapter4ButtonWireless433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*Adapter4ButtonWireless433) OnWrite

func (d *Adapter4ButtonWireless433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterContactSensor433

type AdapterContactSensor433 struct {
}

func (*AdapterContactSensor433) Cycle

func (s *AdapterContactSensor433) Cycle(dev *api.Thing)

func (*AdapterContactSensor433) GetEventText

func (d *AdapterContactSensor433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterContactSensor433) OnRead

func (sensor *AdapterContactSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterContactSensor433) OnWrite

func (d *AdapterContactSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterDigitalHumidityTemperature433

type AdapterDigitalHumidityTemperature433 struct {
}

func (*AdapterDigitalHumidityTemperature433) Cycle

func (*AdapterDigitalHumidityTemperature433) GetEventText

func (d *AdapterDigitalHumidityTemperature433) GetEventText(thing *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterDigitalHumidityTemperature433) OnRead

func (d *AdapterDigitalHumidityTemperature433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterDigitalHumidityTemperature433) OnWrite

type AdapterIPCamera

type AdapterIPCamera struct {
}

func (*AdapterIPCamera) Cycle

func (d *AdapterIPCamera) Cycle(dev *api.Thing)

func (*AdapterIPCamera) GetEventText

func (d *AdapterIPCamera) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterIPCamera) OnRead

func (d *AdapterIPCamera) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterIPCamera) OnWrite

func (d *AdapterIPCamera) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterKnockSensor433

type AdapterKnockSensor433 struct {
}

func (*AdapterKnockSensor433) Cycle

func (o *AdapterKnockSensor433) Cycle(dev *api.Thing)

func (*AdapterKnockSensor433) GetEventText

func (d *AdapterKnockSensor433) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterKnockSensor433) OnRead

func (o *AdapterKnockSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterKnockSensor433) OnWrite

func (d *AdapterKnockSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterLGTV47LS5700

type AdapterLGTV47LS5700 struct {
}

func (*AdapterLGTV47LS5700) Cycle

func (tv *AdapterLGTV47LS5700) Cycle(dev *api.Thing)

func (*AdapterLGTV47LS5700) GetEventText

func (d *AdapterLGTV47LS5700) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterLGTV47LS5700) OnRead

func (tv *AdapterLGTV47LS5700) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterLGTV47LS5700) OnWrite

func (d *AdapterLGTV47LS5700) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterMotionSensor433

type AdapterMotionSensor433 struct {
}

func (*AdapterMotionSensor433) Cycle

func (d *AdapterMotionSensor433) Cycle(dev *api.Thing)

func (*AdapterMotionSensor433) GetEventText

func (d *AdapterMotionSensor433) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterMotionSensor433) OnRead

func (d *AdapterMotionSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterMotionSensor433) OnWrite

func (d *AdapterMotionSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterThingFuDemoAdapter

type AdapterThingFuDemoAdapter struct {
}

func (*AdapterThingFuDemoAdapter) Cycle

func (d *AdapterThingFuDemoAdapter) Cycle(dev *api.Thing)

func (*AdapterThingFuDemoAdapter) GetEventText

func (d *AdapterThingFuDemoAdapter) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterThingFuDemoAdapter) OnRead

func (d *AdapterThingFuDemoAdapter) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterThingFuDemoAdapter) OnWrite

func (d *AdapterThingFuDemoAdapter) OnWrite(t *api.Thing, action string, req api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterWeather

type AdapterWeather struct {
}

func (*AdapterWeather) Cycle

func (d *AdapterWeather) Cycle(dev *api.Thing)

func (*AdapterWeather) GetEventText

func (d *AdapterWeather) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterWeather) OnRead

func (d *AdapterWeather) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterWeather) OnWrite

func (d *AdapterWeather) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

type AdapterWebAppUtilities

type AdapterWebAppUtilities struct {
}

func (*AdapterWebAppUtilities) Cycle

func (d *AdapterWebAppUtilities) Cycle(dev *api.Thing)

func (*AdapterWebAppUtilities) GetEventText

func (d *AdapterWebAppUtilities) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)

func (*AdapterWebAppUtilities) OnRead

func (d *AdapterWebAppUtilities) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)

func (*AdapterWebAppUtilities) OnWrite

func (d *AdapterWebAppUtilities) OnWrite(t *api.Thing, op string, req api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL