Versions in this module Expand all Collapse all v0 v0.13.0 Oct 10, 2016 v0.12.1 Jul 13, 2016 Changes in this version + const AntiDosCharacteristic + const Battery + const BatteryCharacteristic + const Collision + const CommandCharacteristic + const CommandsCharacteristic + const DroneCommandService + const DroneNotificationService + const Error + const FlightStatusCharacteristic + const Flying + const Landed + const PcmdCharacteristic + const ResponseCharacteristic + const RobotControlService + const SensorData + const SpheroBLEService + const Status + const TXPowerCharacteristic + const WakeCharacteristic + var DefaultClientOptions = []gatt.Option — darwin/amd64, linux/amd64 + type BLEBatteryDriver struct + func NewBLEBatteryDriver(a *BLEClientAdaptor, name string) *BLEBatteryDriver + func (b *BLEBatteryDriver) Connection() gobot.Connection + func (b *BLEBatteryDriver) GetBatteryLevel() (level uint8) + func (b *BLEBatteryDriver) Halt() (errs []error) + func (b *BLEBatteryDriver) Name() string + func (b *BLEBatteryDriver) Start() (errs []error) + type BLEClientAdaptor struct + func NewBLEClientAdaptor(name string, uuid string) *BLEClientAdaptor + func (b *BLEClientAdaptor) Connect() (errs []error) + func (b *BLEClientAdaptor) ConnectHandler(p gatt.Peripheral, err error) + func (b *BLEClientAdaptor) Disconnect() (errs []error) + func (b *BLEClientAdaptor) DisconnectHandler(p gatt.Peripheral, err error) + func (b *BLEClientAdaptor) DiscoveryHandler(p gatt.Peripheral, a *gatt.Advertisement, rssi int) + func (b *BLEClientAdaptor) Finalize() (errs []error) + func (b *BLEClientAdaptor) Name() string + func (b *BLEClientAdaptor) Peripheral() gatt.Peripheral + func (b *BLEClientAdaptor) ReadCharacteristic(sUUID string, cUUID string) (data []byte, err error) + func (b *BLEClientAdaptor) Reconnect() (errs []error) + func (b *BLEClientAdaptor) StateChangeHandler(d gatt.Device, s gatt.State) + func (b *BLEClientAdaptor) Subscribe(sUUID string, cUUID string, f func([]byte, error)) (err error) + func (b *BLEClientAdaptor) UUID() string + func (b *BLEClientAdaptor) WriteCharacteristic(sUUID string, cUUID string, data []byte) (err error) + type BLEDeviceInformationDriver struct + func NewBLEDeviceInformationDriver(a *BLEClientAdaptor, name string) *BLEDeviceInformationDriver + func (b *BLEDeviceInformationDriver) Connection() gobot.Connection + func (b *BLEDeviceInformationDriver) GetFirmwareRevision() (revision string) + func (b *BLEDeviceInformationDriver) GetHardwareRevision() (revision string) + func (b *BLEDeviceInformationDriver) GetManufacturerName() (manufacturer string) + func (b *BLEDeviceInformationDriver) GetModelNumber() (model string) + func (b *BLEDeviceInformationDriver) GetPnPId() (model string) + func (b *BLEDeviceInformationDriver) Halt() (errs []error) + func (b *BLEDeviceInformationDriver) Name() string + func (b *BLEDeviceInformationDriver) Start() (errs []error) + type BLEMinidroneDriver struct + Pcmd Pcmd + func NewBLEMinidroneDriver(a *BLEClientAdaptor, name string) *BLEMinidroneDriver + func (b *BLEMinidroneDriver) BackFlip() (err error) + func (b *BLEMinidroneDriver) Backward(val int) error + func (b *BLEMinidroneDriver) Clockwise(val int) error + func (b *BLEMinidroneDriver) Connection() gobot.Connection + func (b *BLEMinidroneDriver) CounterClockwise(val int) error + func (b *BLEMinidroneDriver) Down(val int) error + func (b *BLEMinidroneDriver) FlatTrim() (err error) + func (b *BLEMinidroneDriver) Forward(val int) error + func (b *BLEMinidroneDriver) FrontFlip() (err error) + func (b *BLEMinidroneDriver) GenerateAllStates() (err error) + func (b *BLEMinidroneDriver) Halt() (errs []error) + func (b *BLEMinidroneDriver) HullProtection(protect bool) error + func (b *BLEMinidroneDriver) Init() (err error) + func (b *BLEMinidroneDriver) Land() (err error) + func (b *BLEMinidroneDriver) Left(val int) error + func (b *BLEMinidroneDriver) LeftFlip() (err error) + func (b *BLEMinidroneDriver) Name() string + func (b *BLEMinidroneDriver) Outdoor(outdoor bool) error + func (b *BLEMinidroneDriver) Right(val int) error + func (b *BLEMinidroneDriver) RightFlip() (err error) + func (b *BLEMinidroneDriver) Start() (errs []error) + func (b *BLEMinidroneDriver) StartPcmd() + func (b *BLEMinidroneDriver) StartRecording() error + func (b *BLEMinidroneDriver) Stop() error + func (b *BLEMinidroneDriver) StopRecording() error + func (b *BLEMinidroneDriver) TakeOff() (err error) + func (b *BLEMinidroneDriver) Up(val int) error + type BLEService struct + func NewBLEService(sUuid string, service *gatt.Service) *BLEService + type Pcmd struct + Flag int + Gaz int + Pitch int + Psi float32 + Roll int + Yaw int + type SpheroOllieDriver struct + func NewSpheroOllieDriver(a *BLEClientAdaptor, name string) *SpheroOllieDriver + func (b *SpheroOllieDriver) AntiDOSOff() (err error) + func (b *SpheroOllieDriver) Connection() gobot.Connection + func (b *SpheroOllieDriver) Halt() (errs []error) + func (b *SpheroOllieDriver) HandleResponses(data []byte, e error) + func (b *SpheroOllieDriver) Init() (err error) + func (b *SpheroOllieDriver) Name() string + func (b *SpheroOllieDriver) SetTXPower(level int) (err error) + func (b *SpheroOllieDriver) Wake() (err error) + func (s *SpheroOllieDriver) EnableStopOnDisconnect() + func (s *SpheroOllieDriver) Roll(speed uint8, heading uint16) + func (s *SpheroOllieDriver) SetRGB(r uint8, g uint8, b uint8) + func (s *SpheroOllieDriver) Sleep() + func (s *SpheroOllieDriver) Start() (errs []error) + func (s *SpheroOllieDriver) Stop()