Interface InternalTransportCallbacks
public interface InternalTransportCallbacks
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteScene(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 addressvoidonMeshNodeReset(ProvisionedMeshNode meshNode) This callback is invoked when the mesh node is successfully resetvoidonMeshPduCreated(int dst, byte[] pdu) Callback that is invoked when a mesh pdu is createdvoidsendProvisioningPdu(UnprovisionedMeshNode meshNode, byte[] pdu) Send mesh pduvoidsetProxyFilter(ProxyFilter filter) voidstoreScene(int address, int currentScene, List<Integer> scenes) voidupdateMeshNetwork(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
-