module bluerpc.service
Global Variables
- START_TIME
class BlueRPCService
Implementation of the BlueRPCService
method __init__
__init__(
name,
adapter_mac='00:00:00:00:00:00',
adapter_id=None,
keystore_path=''
) → None
method BLEConnect
BLEConnect(
request: BLEConnectRequest,
context: ServicerContext
) → BLEConnectResponse
method BLEDisconnect
BLEDisconnect(request: BLEDevice, context: ServicerContext) → StatusMessage
method BLEGetConnectionProperties
BLEGetConnectionProperties(
request: BLEDevice,
context: ServicerContext
) → BLEConnectionPropertiesResponse
method BLEGetDevices
BLEGetDevices(request: Void, context: ServicerContext) → BLEDevicesResponse
method BLEListServices
BLEListServices(
request: BLEDevice,
context: ServicerContext
) → BLEListServicesResponse
method BLENotification
BLENotification(
request: BLENotificationRequest,
context: ServicerContext
) → StatusMessage
method BLEPair
BLEPair(request: BLEPairingRequest, context: ServicerContext) → StatusMessage
method BLEPairCode
BLEPairCode(
request: BLEPairingCodeRequest,
context: ServicerContext
) → StatusMessage
method BLEReadCharacteristic
BLEReadCharacteristic(
request: BLEReadCharacteristicRequest,
context: ServicerContext
) → BLEReadResponse
method BLEReadDescriptor
BLEReadDescriptor(
request: BLEReadDescriptorRequest,
context: ServicerContext
) → BLEReadResponse
method BLEReceiveDisconnect
BLEReceiveDisconnect(request: Void, context: ServicerContext) → BLEDevice
method BLEReceiveNotifications
BLEReceiveNotifications(
request: Void,
context: ServicerContext
) → BLENotificationResponse
method BLEReceiveScan
BLEReceiveScan(request: Void, context: ServicerContext) → BLEScanResponse
method BLEScanStart
BLEScanStart(request: BLEScanRequest, context: ServicerContext) → StatusMessage
method BLEScanStop
BLEScanStop(request: Void, context: ServicerContext) → StatusMessage
method BLEUnpair
BLEUnpair(request: BLEDevice, context: ServicerContext) → StatusMessage
method BLEWriteCharacteristic
BLEWriteCharacteristic(
request: BLEWriteCharacteristicRequest,
context: ServicerContext
) → StatusMessage
method BLEWriteDescriptor
BLEWriteDescriptor(
request: BLEWriteDescriptorRequest,
context: ServicerContext
) → StatusMessage
method Hello
Hello(request: HelloRequest, context: ServicerContext) → HelloResponse
method SetKeystore
SetKeystore(
request: SetKeystoreRequest,
context: ServicerContext
) → StatusMessage
method restart
restart()
method rpc_scan_disconnect
rpc_scan_disconnect(context: ServicerContext)
This file was automatically generated via lazydocs.