protomolecule/src/blueStuff/blueStuff.go

21 lines
635 B
Go

package blueStuff
import "git.tcp.direct/kayos/prototooth"
//controls connections to found devices to get service characteristics
//TODO: disable the scan adapter, enable the attack adapter (this step pmight not be needed)
// use the result.LocalName passed from scanStuff to start connection
// once connected, for list of service characteristics and check for read / write for each
// loog all of this to eros
func pathways(target bluetooth.ScanResult) {
println("Discovery")
//device, err := projVars.ScanAdapter.Connect(bluetooth.ScanResult.Address, bluetooth.ConnectionParams{})
//srvcs, err := projVars.ScanAdapter.
}