2014-05-02 17:22:05 -05:00
|
|
|
package pebble
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hybridgroup/gobot"
|
|
|
|
)
|
|
|
|
|
|
|
|
type PebbleAdaptor struct {
|
|
|
|
gobot.Adaptor
|
|
|
|
}
|
|
|
|
|
2014-05-23 17:09:18 -05:00
|
|
|
func NewPebbleAdaptor(name string) *PebbleAdaptor {
|
|
|
|
return &PebbleAdaptor{
|
2014-07-07 17:35:59 -07:00
|
|
|
Adaptor: *gobot.NewAdaptor(
|
|
|
|
name,
|
|
|
|
"PebbleAdaptor",
|
|
|
|
),
|
2014-05-23 17:09:18 -05:00
|
|
|
}
|
2014-05-02 17:22:05 -05:00
|
|
|
}
|
|
|
|
|
2014-05-23 17:09:18 -05:00
|
|
|
func (a *PebbleAdaptor) Connect() bool {
|
|
|
|
return true
|
2014-05-02 17:22:05 -05:00
|
|
|
}
|
|
|
|
|
2014-05-23 17:09:18 -05:00
|
|
|
func (a *PebbleAdaptor) Reconnect() bool {
|
|
|
|
return true
|
2014-05-02 17:22:05 -05:00
|
|
|
}
|
|
|
|
|
2014-05-23 17:09:18 -05:00
|
|
|
func (a *PebbleAdaptor) Disconnect() bool {
|
|
|
|
return true
|
|
|
|
}
|
|
|
|
|
|
|
|
func (a *PebbleAdaptor) Finalize() bool {
|
|
|
|
return true
|
2014-05-02 17:22:05 -05:00
|
|
|
}
|