Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eric Stutzenberger
ble
Commits
0a17fd03
Commit
0a17fd03
authored
Jan 22, 2018
by
Kevin Seidel
Browse files
Merge branch 'master' of github.com:go-ble/ble
parents
acba80d5
07787027
Changes
1
Hide whitespace changes
Inline
Side-by-side
darwin/msg.go
View file @
0a17fd03
...
@@ -35,7 +35,7 @@ func (m msg) deviceUUID() xpc.UUID { return xpc.Dict(m).MustGetUUID("kCBMs
...
@@ -35,7 +35,7 @@ func (m msg) deviceUUID() xpc.UUID { return xpc.Dict(m).MustGetUUID("kCBMs
func
(
m
msg
)
ignoreResponse
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgIgnoreResponse"
)
}
func
(
m
msg
)
ignoreResponse
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgIgnoreResponse"
)
}
func
(
m
msg
)
offset
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgOffset"
)
}
func
(
m
msg
)
offset
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgOffset"
)
}
func
(
m
msg
)
isNotification
()
int
{
return
xpc
.
Dict
(
m
)
.
GetInt
(
"kCBMsgArgIsNotification"
,
0
)
}
func
(
m
msg
)
isNotification
()
int
{
return
xpc
.
Dict
(
m
)
.
GetInt
(
"kCBMsgArgIsNotification"
,
0
)
}
func
(
m
msg
)
result
()
int
{
return
xpc
.
Dict
(
m
)
.
Must
GetInt
(
"kCBMsgArgResult"
)
}
func
(
m
msg
)
result
()
int
{
return
xpc
.
Dict
(
m
)
.
GetInt
(
"kCBMsgArgResult"
,
0
)
}
func
(
m
msg
)
state
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgState"
)
}
func
(
m
msg
)
state
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgState"
)
}
func
(
m
msg
)
rssi
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgData"
)
}
func
(
m
msg
)
rssi
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgData"
)
}
func
(
m
msg
)
transactionID
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgTransactionID"
)
}
func
(
m
msg
)
transactionID
()
int
{
return
xpc
.
Dict
(
m
)
.
MustGetInt
(
"kCBMsgArgTransactionID"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment