Interface InternalTransportCallbacks
public interface InternalTransportCallbacks
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteScene
(int address, int currentScene, List<Integer> scenes) getApplicationKeys
(int boundNetKeyIndex) Returns an application key with a given key indexReturns the mesh networkgetNode
(int unicast) Returns the node with the corresponding unicast addressgetProvisioner
(int unicast) Returns the Provisioner with the corresponding unicast addressvoid
onMeshNodeReset
(ProvisionedMeshNode meshNode) This callback is invoked when the mesh node is successfully resetvoid
onMeshPduCreated
(int dst, byte[] pdu) Callback that is invoked when a mesh pdu is createdvoid
sendProvisioningPdu
(UnprovisionedMeshNode meshNode, byte[] pdu) Send mesh pduvoid
setProxyFilter
(ProxyFilter filter) void
storeScene
(int address, int currentScene, List<Integer> scenes) void
updateMeshNetwork
(MeshMessage message) Update mesh network
-
Method Details
-
getApplicationKeys
Returns an application key with a given key index- Parameters:
boundNetKeyIndex
- NetKey index
-
getNode
Returns the node with the corresponding unicast address- Parameters:
unicast
- unicast address
-
getProvisioner
Returns the Provisioner with the corresponding unicast address- Parameters:
unicast
- unicast address
-
sendProvisioningPdu
Send mesh pdu- Parameters:
meshNode
- mesh node to send topdu
- mesh pdu to be sent
-
onMeshPduCreated
void onMeshPduCreated(int dst, byte[] pdu) Callback that is invoked when a mesh pdu is created- Parameters:
dst
- Destination address to be sentpdu
- mesh pdu to be sent
-
getProxyFilter
ProxyFilter getProxyFilter() -
setProxyFilter
-
updateMeshNetwork
Update mesh network- Parameters:
message
- mesh message
-
onMeshNodeReset
This callback is invoked when the mesh node is successfully reset- Parameters:
meshNode
- mesh to be updated
-
getMeshNetwork
MeshNetwork getMeshNetwork()Returns the mesh network -
storeScene
-
deleteScene
-