Skip to content

BluetoothManagerBuilder Example + Questions #11

Description

@goncalosoares

Hello sputnikdev,

Really cool BT framework you got here. :-)

I was trying to use it and I Tried to create the Bluetooth Manager but somehow I cannot include the BluetoothManagerBuilder:
import org.sputnikdev.bluetooth.manager.impl.BluetoothManagerBuilder
bt_manager = new BluetoothManagerBuilder().withTinyBTransport(true).build()
The import fails. :-(

Also do you an example on how to to make a simple discover connect and read a characteristic?
I have gotten as far as trying like this...

bt_manager.start(true)
Set discoveredDevices = bt_manager.getDiscoveredDevices()
discoveredDevices.each { device ->
println(device.getName())
}

Am I on the right track?

Also When including the BlueGiga Lib I get a following error:

Could not find com.zsmartsystems.bluetooth.bluegiga:com.zsmartsystems.bluetooth.bluegiga:1.0.0-SNAPSHOT.

Once again, awesome framework!!!
:-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions