示例#1
0
文件: msg.go 项目: currantlabs/ble
func (m msg) uuid() string               { return xpc.Dict(m).MustGetHexBytes("kCBMsgArgUUID") }
示例#2
0
文件: msg.go 项目: currantlabs/ble
func (m msg) serviceEndHandle() int      { return xpc.Dict(m).MustGetInt("kCBMsgArgServiceEndHandle") }
示例#3
0
文件: msg.go 项目: currantlabs/ble
func (m msg) supervisionTimeout() int { return xpc.Dict(m).MustGetInt("kCBMsgArgSupervisionTimeout") }
示例#4
0
文件: msg.go 项目: currantlabs/ble
func (m msg) advertisementData() xpc.Dict {
	return xpc.Dict(m).MustGetDict("kCBMsgArgAdvertisementData")
}
示例#5
0
文件: msg.go 项目: currantlabs/ble
func (m msg) descriptors() xpc.Array  { return xpc.Dict(m).MustGetArray("kCBMsgArgDescriptors") }
示例#6
0
文件: msg.go 项目: currantlabs/ble
func (m msg) connectionInterval() int { return xpc.Dict(m).MustGetInt("kCBMsgArgConnectionInterval") }
示例#7
0
文件: msg.go 项目: currantlabs/ble
func (m msg) offset() int                { return xpc.Dict(m).MustGetInt("kCBMsgArgOffset") }
示例#8
0
文件: msg.go 项目: currantlabs/ble
func (m msg) characteristicProperties() int {
	return xpc.Dict(m).MustGetInt("kCBMsgArgCharacteristicProperties")
}
示例#9
0
文件: msg.go 项目: currantlabs/ble
func (m msg) deviceUUID() xpc.UUID       { return xpc.Dict(m).MustGetUUID("kCBMsgArgDeviceUUID") }
示例#10
0
文件: msg.go 项目: currantlabs/ble
func (m msg) ignoreResponse() int        { return xpc.Dict(m).MustGetInt("kCBMsgArgIgnoreResponse") }
示例#11
0
文件: msg.go 项目: currantlabs/ble
func (m msg) attributeID() int     { return xpc.Dict(m).MustGetInt("kCBMsgArgAttributeID") }
示例#12
0
文件: msg.go 项目: currantlabs/ble
func (m msg) attWrites() xpc.Array { return xpc.Dict(m).MustGetArray("kCBMsgArgATTWrites") }
示例#13
0
文件: msg.go 项目: currantlabs/ble
func (m msg) attMTU() int          { return xpc.Dict(m).MustGetInt("kCBMsgArgATTMTU") }
示例#14
0
文件: msg.go 项目: currantlabs/ble
func (m msg) services() xpc.Array        { return xpc.Dict(m).MustGetArray("kCBMsgArgServices") }
示例#15
0
文件: msg.go 项目: currantlabs/ble
func (m msg) isNotification() int        { return xpc.Dict(m).GetInt("kCBMsgArgIsNotification", 0) }
示例#16
0
文件: msg.go 项目: currantlabs/ble
func (m msg) characteristics() xpc.Array { return xpc.Dict(m).MustGetArray("kCBMsgArgCharacteristics") }
示例#17
0
文件: msg.go 项目: currantlabs/ble
func (m msg) result() int                { return xpc.Dict(m).MustGetInt("kCBMsgArgResult") }
示例#18
0
文件: msg.go 项目: currantlabs/ble
func (m msg) characteristicValueHandle() int {
	return xpc.Dict(m).MustGetInt("kCBMsgArgCharacteristicValueHandle")
}
示例#19
0
文件: msg.go 项目: currantlabs/ble
func (m msg) state() int                 { return xpc.Dict(m).MustGetInt("kCBMsgArgState") }
示例#20
0
文件: msg.go 项目: currantlabs/ble
func (m msg) descriptorHandle() int   { return xpc.Dict(m).MustGetInt("kCBMsgArgDescriptorHandle") }
示例#21
0
文件: msg.go 项目: currantlabs/ble
func (m msg) rssi() int                  { return xpc.Dict(m).MustGetInt("kCBMsgArgData") }
示例#22
0
文件: msg.go 项目: currantlabs/ble
func (m msg) connectionLatency() int  { return xpc.Dict(m).MustGetInt("kCBMsgArgConnectionLatency") }
示例#23
0
文件: msg.go 项目: currantlabs/ble
func (m msg) transactionID() int         { return xpc.Dict(m).MustGetInt("kCBMsgArgTransactionID") }
示例#24
0
文件: msg.go 项目: currantlabs/ble
func (m msg) id() int        { return xpc.Dict(m).MustGetInt("kCBMsgId") }
示例#25
0
文件: msg.go 项目: currantlabs/ble
func (m msg) args() xpc.Dict { return xpc.Dict(m).MustGetDict("kCBMsgArgs") }