-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public class BluetoothLeRadioRust extends Retainable
-
-
Constructor Summary
Constructors Constructor Description BluetoothLeRadioRust()
-
Method Summary
-
Methods inherited from class live.ditto.internal.swig.ffi.Retainable
close, getIs_closing, invokeRelease, invokeRetain, invokeVirtualPtrRetain, release, retain, setIs_closing -
Methods inherited from class java.lang.AutoCloseable
close -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
delete
synchronized void delete()
-
swigReleaseOwnership
void swigReleaseOwnership()
-
swigTakeOwnership
void swigTakeOwnership()
-
connectPeripheral
void connectPeripheral(Array<byte> peripheralUuid)
-
disconnectPeripheral
void disconnectPeripheral(Array<byte> peripheralUuid)
-
getAdvertisingState
OnlineState_t getAdvertisingState()
-
getScanningState
OnlineState_t getScanningState()
-
notifyToCentral
SendResult_t notifyToCentral(BleDataType_t sendType, Array<byte> centralUuid, Array<byte> data)
-
startAdvertising
void startAdvertising(Array<byte> serviceUuid, String localName)
-
startScanning
void startScanning(Array<byte> serviceUuid, String announce)
-
stopAdvertising
void stopAdvertising()
-
stopScanning
void stopScanning()
-
writeToPeripheral
SendResult_t writeToPeripheral(BleDataType_t sendType, Array<byte> peripheralUuid, Array<byte> data)
-
appIsInForeground
boolean appIsInForeground()
-
readL2capFromPeripheral
int readL2capFromPeripheral(Array<byte> peripheralUuid, slice_mut_uint8_t data)
-
sendL2capToPeripheral
int sendL2capToPeripheral(Array<byte> peripheralUuid, Array<byte> data)
-
readL2capFromCentral
int readL2capFromCentral(Array<byte> centralUuid, slice_mut_uint8_t data)
-
sendL2capToCentral
int sendL2capToCentral(Array<byte> centralUuid, Array<byte> data)
-
invokeConnectPeripheral
static void invokeConnectPeripheral(SWIGTYPE_p_void ctx, uint8_16_array_t peripheral_uuid)
-
invokeDisconnectPeripheral
static void invokeDisconnectPeripheral(SWIGTYPE_p_void ctx, uint8_16_array_t peripheral_uuid)
-
invokeGetAdvertisingState
static OnlineState_t invokeGetAdvertisingState(SWIGTYPE_p_void ctx)
-
invokeGetScanningState
static OnlineState_t invokeGetScanningState(SWIGTYPE_p_void ctx)
-
invokeNotifyToCentral
static SendResult_t invokeNotifyToCentral(SWIGTYPE_p_void ctx, BleDataType_t sendType, uint8_16_array_t central_uuid, slice_ref_uint8_t data)
-
invokeStartAdvertising
static void invokeStartAdvertising(SWIGTYPE_p_void ctx, uint8_16_array_t service_uuid, slice_ref_uint8_t local_name)
-
invokeStartScanning
static void invokeStartScanning(SWIGTYPE_p_void ctx, uint8_16_array_t service_uuid, slice_ref_uint8_t announce)
-
invokeStopAdvertising
static void invokeStopAdvertising(SWIGTYPE_p_void ctx)
-
invokeStopScanning
static void invokeStopScanning(SWIGTYPE_p_void ctx)
-
invokeWriteToPeripheral
static SendResult_t invokeWriteToPeripheral(SWIGTYPE_p_void ctx, BleDataType_t sendType, uint8_16_array_t peripheral_uuid, slice_ref_uint8_t data)
-
invokeAppIsInForeground
static boolean invokeAppIsInForeground(SWIGTYPE_p_void ctx)
-
invokeReadL2capFromPeripheral
static int invokeReadL2capFromPeripheral(SWIGTYPE_p_void ctx, uint8_16_array_t peripheral_uuid, slice_mut_uint8_t data)
-
invokeSendL2capToPeripheral
static int invokeSendL2capToPeripheral(SWIGTYPE_p_void ctx, uint8_16_array_t peripheral_uuid, slice_ref_uint8_t data)
-
invokeReadL2capFromCentral
static int invokeReadL2capFromCentral(SWIGTYPE_p_void ctx, uint8_16_array_t central_uuid, slice_mut_uint8_t data)
-
invokeSendL2capToCentral
static int invokeSendL2capToCentral(SWIGTYPE_p_void ctx, uint8_16_array_t central_uuid, slice_ref_uint8_t data)
-
addBleClientTransport
void addBleClientTransport(SWIGTYPE_p_CDitto ditto)
-
addBleServerTransport
void addBleServerTransport(SWIGTYPE_p_CDitto ditto)
-
dropBleClientTransport
void dropBleClientTransport()
-
dropBleServerTransport
void dropBleServerTransport()
-
advertisementHeard
void advertisementHeard(Array<byte> peripheralUuid, String localName, float rssi)
-
connectionStateChanged
void connectionStateChanged(Array<byte> peripheralUuid, ConnectState_t state, boolean l2cap_available, int mtu)
-
peripheralMtuUpdated
void peripheralMtuUpdated(Array<byte> uuid, int mtu)
-
receivedFromPeripheral
void receivedFromPeripheral(Array<byte> peripheralUuid, BleDataType_t dataType, Array<byte> data)
-
scanningStateChanged
void scanningStateChanged(OnlineState_t state, TransportCondition_t result)
-
peripheralReadyToSend
void peripheralReadyToSend(Array<byte> uuid)
-
peripheralL2capReadyToSend
void peripheralL2capReadyToSend(Array<byte> uuid)
-
peripheralL2capDataAvailable
void peripheralL2capDataAvailable(Array<byte> uuid)
-
advertisingStateChanged
void advertisingStateChanged(OnlineState_t state, TransportCondition_t result)
-
centralMtuUpdated
void centralMtuUpdated(Array<byte> uuid, int mtu)
-
receivedFromCentral
void receivedFromCentral(Array<byte> centralUuid, BleDataType_t dataType, Array<byte> data)
-
centralFinishedConnecting
void centralFinishedConnecting(Array<byte> centralUuid, Array<byte> data, boolean l2capAvailable, int mtu)
-
centralUnsubscribed
void centralUnsubscribed(Array<byte> centralUuid)
-
centralReadyToSend
void centralReadyToSend(Array<byte> uuid)
-
centralL2capReadyToSend
void centralL2capReadyToSend(Array<byte> uuid)
-
centralL2capDataAvailable
void centralL2capDataAvailable(Array<byte> uuid)
-
setClientHandle
void setClientHandle(SWIGTYPE_p_std__shared_ptrT_TransportHandle_BleClientPlatformEvent_t value)
-
getClientHandle
SWIGTYPE_p_std__shared_ptrT_TransportHandle_BleClientPlatformEvent_t getClientHandle()
-
setServerHandle
void setServerHandle(SWIGTYPE_p_std__shared_ptrT_TransportHandle_BleServerPlatformEvent_t value)
-
-
-
-