WeaveStack

class final publik WeaveStack memperluas Object

Ringkasan Konstanta

int HUBUNGAN_INITIAL

Ringkasan Metode Publik

int yang disinkronkan
BluetoothGattCallback
int yang disinkronkan
disinkronkan WeaveDeviceManager
getConnection(int connId)
statis WeaveStack
boolean statis
onCloseConnection(int connId)
int statis
onGetMTU(int connId)
void statis
boolean statis
onSendCharacteristic(int connId, byte[] svcId, byte[] charId, byte[] characterData)
boolean statis
onSubscribeCharacteristic(int connId, byte[] svcId, byte[] charId)
boolean statis
onUnsubscribeCharacteristic(int connId, byte[] svcId, byte[] charId)
disinkronkan WeaveDeviceManager
removeConnection(int connId)

Ringkasan Metode Turunan

Konstanta

int final statis publik INITIAL_CONNECTIONS

Nilai Konstanta: 4

Metode Publik

int. sinkronisasi publik addConnection (ConaObj WeaveDeviceManager)

Parameter
ConnObj

int yang disinkronkan ke publik getConnId (GIG gatt)

Parameter
Gatt

disinkronkan secara publik WeaveDeviceManager getConnection (int connId)

Parameter
ConnId

public static WeaveStack getInstance ()

Boolean statis publik onCloseConnection (int connId)

Parameter
ConnId

int statis statis onGetMTU (int connId)

Parameter
ConnId

public static void onNotifyWeaveConnectionClosed (int connId)

Parameter
ConnId

boolean statis publik onSendCharacteristic (int connId, byte[] svcId, byte[] charId, byte[] characterData)

Parameter
ConnId
svcId
charId
karakteristikData

boolean statis publik onSubscribeCharacteristic (int connId, byte[] svcId, byte[] charId)

Parameter
ConnId
svcId
charId

boolean statis publik onUnsubscribeCharacteristic (int connId, byte[] svcId, byte[] charId)

Parameter
ConnId
svcId
charId

disinkronkan secara publik WeaveDeviceManager removeConnection (int connId)

Parameter
ConnId