Sign in
apache
/
mynewt-documentation
/
94c47ae2bc67c54a68d227abbb47c27ae97cc232
/
.
/
versions
/
v1_5_0
/
mynewt-newtmgr
/
vendor
/
github.com
/
go-ble
/
ble
/
linux
/
hci
/
socket
/
dummy.go
blob: 8038d8832a39a17aa2bd8ac6bb9b38cb7d3b2fbe [
file
] [
log
] [
blame
]
// +build !linux
package socket
import (
"fmt"
"io"
)
// NewSocket is a dummy function for non-Linux platform.
func NewSocket(id int) (io.ReadWriteCloser, error) {
return nil, fmt.Errorf("only available on linux")
}