JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
G
I
N
O
R
S
T
U
V
W
A
adapterStateToString(int)
- Static method in class com.tggg.nble.
NBleUtil
address
- Variable in class com.tggg.nble.
DeviceStateEvent
AUTOCONNECT
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
AUTOCONNECT_FAIL
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
B
BluetoothAdapterStateReceiver
- Class in
com.tggg.nble
BluetoothAdapterStateReceiver()
- Constructor for class com.tggg.nble.
BluetoothAdapterStateReceiver
build()
- Method in class com.tggg.nble.
NBle.DeviceBuilder
build()
- Method in class com.tggg.nble.
NBle.ScannerBuilder
C
CLOSE
- Static variable in class com.tggg.nble.
DeviceStateEvent
CLOSE
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
com.tggg.nble
- package com.tggg.nble
com.tggg.nble.device
- package com.tggg.nble.device
com.tggg.nble.ifunction
- package com.tggg.nble.ifunction
com.tggg.nble.Record
- package com.tggg.nble.Record
connect()
- Method in class com.tggg.nble.device.
DeviceBase
connect()
- Method in interface com.tggg.nble.
NBleDevice
Connect to the device directly
CONNECT
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
CONNECTED
- Static variable in class com.tggg.nble.
DeviceStateEvent
CONNECTED
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
CONNECTED_ERROR
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
CONNECTING
- Static variable in class com.tggg.nble.
DeviceStateEvent
connectionStateToString(int)
- Static method in class com.tggg.nble.
NBleUtil
D
DeviceBase
- Class in
com.tggg.nble.device
Created by Gang Tong on 4/14/15.
DeviceBase(String, String)
- Constructor for class com.tggg.nble.device.
DeviceBase
DeviceBuilder(String, String)
- Constructor for class com.tggg.nble.
NBle.DeviceBuilder
DeviceStateEvent
- Class in
com.tggg.nble
Created by Gang Tong on 4/15/15.
DeviceStateEvent(int, String)
- Constructor for class com.tggg.nble.
DeviceStateEvent
DeviceStateEvent(int, String, byte[])
- Constructor for class com.tggg.nble.
DeviceStateEvent
DeviceStateEvent(int, String, UUID, byte[])
- Constructor for class com.tggg.nble.
DeviceStateEvent
disableBluetoothWithoutNotification(Context)
- Static method in class com.tggg.nble.
NBleUtil
不提示,直接关闭蓝牙
disconnect()
- Method in class com.tggg.nble.device.
DeviceBase
disconnect()
- Method in interface com.tggg.nble.
NBleDevice
断开连接。
DISCONNECT
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
DISCONNECTED
- Static variable in class com.tggg.nble.
DeviceStateEvent
DISCONNECTED
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
DISCOVERED
- Static variable in class com.tggg.nble.
DeviceStateEvent
E
enableBluetoothWithoutNotification(Context)
- Static method in class com.tggg.nble.
NBleUtil
不提示,直接打开蓝牙
G
gattToString(BluetoothGatt)
- Static method in class com.tggg.nble.
NBleUtil
getAddress()
- Method in class com.tggg.nble.device.
DeviceBase
getAddress()
- Method in interface com.tggg.nble.
NBleDevice
getAllDevices()
- Method in interface com.tggg.nble.
NBleDeviceManager
获取所有设备
getAllDevices(boolean)
- Method in interface com.tggg.nble.
NBleDeviceManager
获取所有设备
getBleDevice()
- Method in interface com.tggg.nble.
NBleDevice
获取device
getConnectedDevices()
- Method in interface com.tggg.nble.
NBleDeviceManager
获取所有已连接的设备
getConnectionState()
- Method in interface com.tggg.nble.
NBleDevice
获取当前设备的连接状态
getDevice(String)
- Method in interface com.tggg.nble.
NBleDeviceManager
根据address来获取维护的device
getManager()
- Static method in class com.tggg.nble.
NBle
getName()
- Method in class com.tggg.nble.device.
DeviceBase
getName()
- Method in interface com.tggg.nble.
NBleDevice
获取设备名称
getNotification(String)
- Method in interface com.tggg.nble.
NBleDeviceManager
根据设备名获取notification的接口
getNotifyUuid()
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
getOpenSystemBluetoothSettingActivityIntent()
- Static method in class com.tggg.nble.
NBleUtil
获取打开系统设置页面的intent
getStatusRecordList()
- Method in class com.tggg.nble.device.
DeviceBase
获取状态记录
getStatusRecordList()
- Method in interface com.tggg.nble.
NBleDevice
获取状态记录
getTimestamp()
- Method in class com.tggg.nble.Record.
StatusChangeRecord
getType()
- Method in class com.tggg.nble.Record.
StatusChangeRecord
I
IBleNotifyFunction
- Interface in
com.tggg.nble.ifunction
init(Context)
- Static method in class com.tggg.nble.
NBle
isAdapterEnable(Context)
- Static method in class com.tggg.nble.
NBleUtil
判断蓝牙是否打开
isLESupport(Context)
- Static method in class com.tggg.nble.
NBleUtil
是否支持BLE功能
isMaintain()
- Method in interface com.tggg.nble.
NBleDevice
判断是否是维护状态
isMaintain(String)
- Method in interface com.tggg.nble.
NBleDeviceManager
查询某address的设备是否是维护状态
isScanning()
- Method in interface com.tggg.nble.
NBleScanner
is scanning
N
NBle
- Class in
com.tggg.nble
Created by Gang Tong
NBle.DeviceBuilder
- Class in
com.tggg.nble
BLE Device Builder
NBle.ScannerBuilder
- Class in
com.tggg.nble
NBleDevice
- Interface in
com.tggg.nble
Created by Gang Tong.
NBleDeviceManager
- Interface in
com.tggg.nble
Created by Gang Tong
NBleScanner
- Interface in
com.tggg.nble
NBleScanner.BleScanListener
- Interface in
com.tggg.nble
NBleService
- Class in
com.tggg.nble
Created by Gang Tong.
NBleService()
- Constructor for class com.tggg.nble.
NBleService
NBleUtil
- Class in
com.tggg.nble
Created by Gang Tong.
NBleUtil()
- Constructor for class com.tggg.nble.
NBleUtil
NOTIFY
- Static variable in class com.tggg.nble.
DeviceStateEvent
O
onBind(Intent)
- Method in class com.tggg.nble.
NBleService
onClose(Context, String)
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
onConnected(Context, String)
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
onConnecting(Context, String)
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
onCreate()
- Method in class com.tggg.nble.
NBleService
onDestroy()
- Method in class com.tggg.nble.
NBleService
onDeviceDiscovered(String, String, int, byte[])
- Method in interface com.tggg.nble.
NBleScanner.BleScanListener
onDisConnected(Context, String)
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
onNotify(Context, String, UUID, byte[])
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
ONREAD
- Static variable in class com.tggg.nble.
DeviceStateEvent
onRead(Context, String, UUID, byte[])
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
onReceive(Context, Intent)
- Method in class com.tggg.nble.
BluetoothAdapterStateReceiver
onRssi(Context, String, int)
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
onScanStarted()
- Method in interface com.tggg.nble.
NBleScanner.BleScanListener
onScanStopped()
- Method in interface com.tggg.nble.
NBleScanner.BleScanListener
onStartCommand(Intent, int, int)
- Method in class com.tggg.nble.
NBleService
onTaskRemoved(Intent)
- Method in class com.tggg.nble.
NBleService
ONWRITE
- Static variable in class com.tggg.nble.
DeviceStateEvent
onWrite(Context, String, UUID, byte[])
- Method in interface com.tggg.nble.ifunction.
IBleNotifyFunction
R
read(UUID, UUID)
- Method in interface com.tggg.nble.
NBleDevice
读数据
RECONNECT
- Static variable in class com.tggg.nble.Record.
StatusChangeRecord
recordStatus(int)
- Method in class com.tggg.nble.device.
DeviceBase
记录状态
registerDefaultNotification(IBleNotifyFunction)
- Method in interface com.tggg.nble.
NBleDeviceManager
注册notification的默认处理接口
registerNotification(String, IBleNotifyFunction)
- Method in interface com.tggg.nble.
NBleDeviceManager
根据设备名注册notification的处理接口
remove(String)
- Method in interface com.tggg.nble.
NBleDeviceManager
删除设备
requestRemoteRssi()
- Method in interface com.tggg.nble.
NBleDevice
请求Rssi值。
RSSI
- Static variable in class com.tggg.nble.
DeviceStateEvent
S
ScannerBuilder(Context)
- Constructor for class com.tggg.nble.
NBle.ScannerBuilder
serialize()
- Method in class com.tggg.nble.device.
DeviceBase
setAddress(String)
- Method in class com.tggg.nble.device.
DeviceBase
setINotifyFunction(IBleNotifyFunction)
- Method in class com.tggg.nble.
NBle.DeviceBuilder
setMaintain(boolean)
- Method in class com.tggg.nble.
NBle.DeviceBuilder
setMaintain(boolean)
- Method in interface com.tggg.nble.
NBleDevice
设置维护状态
setMaintain(String, boolean)
- Method in interface com.tggg.nble.
NBleDeviceManager
设置某address的设备是否是维护状态
setName(String)
- Method in class com.tggg.nble.device.
DeviceBase
setPeriod(long)
- Method in class com.tggg.nble.
NBle.ScannerBuilder
setScanName(String)
- Method in class com.tggg.nble.
NBle.ScannerBuilder
setScanNames(String[])
- Method in class com.tggg.nble.
NBle.ScannerBuilder
setUuids(UUID[])
- Method in class com.tggg.nble.
NBle.ScannerBuilder
start(NBleScanner.BleScanListener)
- Method in interface com.tggg.nble.
NBleScanner
start to scan
start(Context)
- Static method in class com.tggg.nble.
NBleService
startAdapterTurnOff(Context)
- Static method in class com.tggg.nble.
NBleService
startAdapterTurnOn(Context)
- Static method in class com.tggg.nble.
NBleService
StatusChangeRecord
- Class in
com.tggg.nble.Record
连接状态的记录。用于调试时候使用。
StatusChangeRecord(int)
- Constructor for class com.tggg.nble.Record.
StatusChangeRecord
statusToString(int)
- Static method in class com.tggg.nble.
NBleUtil
stop()
- Method in interface com.tggg.nble.
NBleScanner
stop the scan
T
toString()
- Method in class com.tggg.nble.
DeviceStateEvent
toString()
- Method in class com.tggg.nble.Record.
StatusChangeRecord
toString(int)
- Static method in class com.tggg.nble.Record.
StatusChangeRecord
type
- Variable in class com.tggg.nble.
DeviceStateEvent
typeString()
- Method in class com.tggg.nble.
DeviceStateEvent
U
uuid
- Variable in class com.tggg.nble.
DeviceStateEvent
V
value
- Variable in class com.tggg.nble.
DeviceStateEvent
W
write(UUID, UUID, byte[])
- Method in interface com.tggg.nble.
NBleDevice
写数据
A
B
C
D
E
G
I
N
O
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes