class TxSink : NativeReference, Closeable
TxSink is a DataSink for bottom on Golden Gate stack and DataSource for top of Native/Android connection Bridge and is used to transmit data packets from GG stack to connected Node
TxSink()
TxSink is a DataSink for bottom on Golden Gate stack and DataSource for top of Native/Android connection Bridge and is used to transmit data packets from GG stack to connected Node |
val dataObservable: Observable<ByteArray>
Data to be transmitted (over tx characteristics) will be available on this Observable |
|
val thisPointer: Long
Pointer to native jni reference for this object |
fun close(): Unit |
|
fun putData(data: ByteArray): Unit
This should only be called from the JNI code and in tests as it is the output from Gattlink to be sent over BLE |