blob: abe0f7a8dffa06b872d9db87810539f4dbaad3f5 [file] [log] [blame]
// +build !linux android
package bluetooth
import (
"errors"
"net"
)
// Dial always returns an error since bluetooth RFCOMM is not implemented on this
// platform.
func Dial(remoteaddr string) (net.Conn, error) {
return nil, errors.New("bluetooth Dialing not implemented on this platform")
}
// Listen always returns an error since bluetooth RFCOMM is not implemented on
// this platform.
func Listen(localaddr string) (net.Listener, error) {
return nil, errors.New("bluetooth Listening not implemented on this platform")
}