@Test public void testNodeDescriptor() { NodeDescriptor descriptor = new NodeDescriptor(0, 3333, 74, true, 6666, 0, 6, 4444, true, 8); assertTrue(descriptor.isComplexDescriptorAvailable()); assertTrue(descriptor.isUserDescriptorAvailable()); assertEquals(4444, descriptor.getIncomingTransferSize()); assertEquals(6666, descriptor.getManufacturerCode()); assertEquals(3333, descriptor.getBufferSize()); assertTrue(descriptor.getFrequencyBands().contains(FrequencyBandType.FREQ_2400_MHZ)); assertEquals(LogicalType.COORDINATOR, descriptor.getLogicalType()); assertEquals(0, descriptor.getApsFlags()); assertTrue(descriptor.getServerCapabilities().contains(ServerCapabilitiesType.PRIMARY_BINDING_TABLE_CACHE)); assertTrue(descriptor.getServerCapabilities().contains(ServerCapabilitiesType.BACKUP_TRUST_CENTER)); assertTrue(descriptor.getMacCapabilities().contains(MacCapabilitiesType.SECURITY_CAPABLE)); assertTrue(descriptor.getMacCapabilities().contains(MacCapabilitiesType.RECEIVER_ON_WHEN_IDLE)); assertTrue(descriptor.getMacCapabilities().contains(MacCapabilitiesType.FULL_FUNCTION_DEVICE)); }
public NodeDescriptor() { }
NodeDescriptor { public NodeDescriptor() { } }
NodeDescriptor { public NodeDescriptor() { } NodeDescriptor();  NodeDescriptor(int apsFlags, int bufferSize, int macCapabilities, boolean complexDescriptorAvailable,
            int manufacturerCode, int logicalType, int serverMask, int transferSize, boolean userDescriptorAvailable,
            int frequencyBands); }
NodeDescriptor { public NodeDescriptor() { } NodeDescriptor();  NodeDescriptor(int apsFlags, int bufferSize, int macCapabilities, boolean complexDescriptorAvailable,
            int manufacturerCode, int logicalType, int serverMask, int transferSize, boolean userDescriptorAvailable,
            int frequencyBands); int getApsFlags(); int getBufferSize(); Set<MacCapabilitiesType> getMacCapabilities(); int getManufacturerCode(); boolean isComplexDescriptorAvailable(); boolean isExtendedEndpointListAvailable(); boolean isExtendedSimpleDescriptorListAvailable(); LogicalType getLogicalType(); Set<ServerCapabilitiesType> getServerCapabilities(); int getOutGoingTransferSize(); int getIncomingTransferSize(); boolean isUserDescriptorAvailable(); Set<FrequencyBandType> getFrequencyBands(); int[] serialize(ZclFieldSerializer serializer); void deserialize(ZigBeeDeserializer deserializer); @Override int hashCode(); @Override boolean equals(Object obj); int getStackCompliance(); @Override String toString(); }
NodeDescriptor { public NodeDescriptor() { } NodeDescriptor();  NodeDescriptor(int apsFlags, int bufferSize, int macCapabilities, boolean complexDescriptorAvailable,
            int manufacturerCode, int logicalType, int serverMask, int transferSize, boolean userDescriptorAvailable,
            int frequencyBands); int getApsFlags(); int getBufferSize(); Set<MacCapabilitiesType> getMacCapabilities(); int getManufacturerCode(); boolean isComplexDescriptorAvailable(); boolean isExtendedEndpointListAvailable(); boolean isExtendedSimpleDescriptorListAvailable(); LogicalType getLogicalType(); Set<ServerCapabilitiesType> getServerCapabilities(); int getOutGoingTransferSize(); int getIncomingTransferSize(); boolean isUserDescriptorAvailable(); Set<FrequencyBandType> getFrequencyBands(); int[] serialize(ZclFieldSerializer serializer); void deserialize(ZigBeeDeserializer deserializer); @Override int hashCode(); @Override boolean equals(Object obj); int getStackCompliance(); @Override String toString();  }