public static interface IServerListener.Callback
Modifier and Type | Method and Description |
---|---|
void |
onCharacteristicReadRequest(P_DeviceHolder device,
int requestId,
int offset,
BleCharacteristic characteristic) |
void |
onCharacteristicWriteRequest(P_DeviceHolder device,
int requestId,
BleCharacteristic characteristic,
boolean preparedWrite,
boolean responseNeeded,
int offset,
byte[] value) |
void |
onConnectionStateChange(P_DeviceHolder device,
int status,
int newState) |
void |
onDescriptorReadRequest(P_DeviceHolder device,
int requestId,
int offset,
BleDescriptor descriptor) |
void |
onDescriptorWriteRequest(P_DeviceHolder device,
int requestId,
BleDescriptor descriptor,
boolean preparedWrite,
boolean responseNeeded,
int offset,
byte[] value) |
void |
onExecuteWrite(P_DeviceHolder device,
int requestId,
boolean execute) |
void |
onMtuChanged(P_DeviceHolder device,
int mtu) |
void |
onNotificationSent(P_DeviceHolder device,
int status) |
void |
onPhyRead(P_DeviceHolder device,
int txPhy,
int rxPhy,
int status) |
void |
onPhyUpdate(P_DeviceHolder device,
int txPhy,
int rxPhy,
int status) |
void |
onServiceAdded(int status,
BleService service) |
void onPhyRead(P_DeviceHolder device, int txPhy, int rxPhy, int status)
void onPhyUpdate(P_DeviceHolder device, int txPhy, int rxPhy, int status)
void onMtuChanged(P_DeviceHolder device, int mtu)
void onConnectionStateChange(P_DeviceHolder device, int status, int newState)
void onCharacteristicReadRequest(P_DeviceHolder device, int requestId, int offset, BleCharacteristic characteristic)
void onCharacteristicWriteRequest(P_DeviceHolder device, int requestId, BleCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value)
void onDescriptorReadRequest(P_DeviceHolder device, int requestId, int offset, BleDescriptor descriptor)
void onDescriptorWriteRequest(P_DeviceHolder device, int requestId, BleDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value)
void onExecuteWrite(P_DeviceHolder device, int requestId, boolean execute)
void onNotificationSent(P_DeviceHolder device, int status)
void onServiceAdded(int status, BleService service)