Interface EnOceanRPC


public interface EnOceanRPC
A very basic interface for RPCs.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Function ID property string, used in EventAdmin RPC broadcasting.
    static final String
    The Manufacturer ID property string, used in EventAdmin RPC broadcasting.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the functionID for this RPC.
    int
    Gets the manufacturerID for this RPC.
    Get a friendly name for the RPC
    byte[]
    Gets the current payload of the RPC.
    int
    Sets the RPC's senderID.
    void
    setSenderId(int chipId)
    Sets the RPC's senderID.
  • Field Details

    • MANUFACTURER_ID

      static final String MANUFACTURER_ID
      The Manufacturer ID property string, used in EventAdmin RPC broadcasting.
      See Also:
    • FUNCTION_ID

      static final String FUNCTION_ID
      The Function ID property string, used in EventAdmin RPC broadcasting.
      See Also:
  • Method Details

    • getManufacturerId

      int getManufacturerId()
      Gets the manufacturerID for this RPC.
      Returns:
      manufacturer id.
    • getFunctionId

      int getFunctionId()
      Gets the functionID for this RPC.
      Returns:
      function id.
    • getPayload

      byte[] getPayload()
      Gets the current payload of the RPC.
      Returns:
      the payload, in bytes, of this RPC.
    • getSenderId

      int getSenderId()
      Sets the RPC's senderID. This member has to belong to EnOceanRPC interface, for the object may be sent as a standalone using EventAdmin for instance.
      Returns:
      sender id.
    • setSenderId

      void setSenderId(int chipId)
      Sets the RPC's senderID.
      Parameters:
      chipId -
    • getName

      String getName()
      Get a friendly name for the RPC
      Returns:
      the name.