Package 

Interface ISigMeshRssi


  • 
    public interface ISigMeshRssi
    
                        

    The principle of obtaining the rssi of the configured network sigMesh is to scan the NetworkIdentity or NodeIdentity of the configured network broadcast packet.

    The former only needs to compare whether it is under the mesh network.

    while the latter needs to compare the nodeId under the mesh. However, in some scenarios, the cache of nodeIds inside the sdk is sometimes only partial, so the business layer needs to bring in all nodeIds in order to perform accurate matching.

    • Method Summary

      Modifier and Type Method Description
      abstract void startSearchMeshDeviceRssi(long searchTime) Search the rssi of the sub-device that has been configured on the current Sig Mesh network
      abstract void startSearchMeshDeviceRssi(List<String> nodeIds, long searchTime) Search the rssi of the sub-device that has been configured on the current Sig Mesh network
      abstract void registerMeshDeviceRssiListener(IMeshDeviceRssiCallback iMeshDeviceRssiCallback) Register mesh rssi listener
      abstract void stopSearchMeshDeviceRssi() Stop searching the rssi of the sub-device that has been configured on the current Sig Mesh network
      abstract void unRegisterMeshDeviceRssiListener() unRegister mesh rssi listener
      abstract void destroy() destroy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • startSearchMeshDeviceRssi

         abstract void startSearchMeshDeviceRssi(long searchTime)

        Search the rssi of the sub-device that has been configured on the current Sig Mesh network

        Parameters:
        searchTime - searchTime
      • startSearchMeshDeviceRssi

         abstract void startSearchMeshDeviceRssi(List<String> nodeIds, long searchTime)

        Search the rssi of the sub-device that has been configured on the current Sig Mesh network

        Parameters:
        nodeIds - extra nodeIdBecause in some business scenarios, the nodeIds in the sdk cache are only partial, so the business layer needs to provide all nodeIds
        searchTime - searchTime
      • stopSearchMeshDeviceRssi

         abstract void stopSearchMeshDeviceRssi()

        Stop searching the rssi of the sub-device that has been configured on the current Sig Mesh network

      • destroy

         abstract void destroy()

        destroy