1. A method for enabling Hierarchical Architecture of device management gateways characterized by differentiating what type of device is associated with a DM Gateway in its immediate lower level, either an End Device or Child DM Gateway, by introducing a new leaf node in the GwMO Device Tree [DM_TND], the “Component Type” or ComponentType node ( 504 ), said new node being added to each entry in the Gateway Inventory Records ( 502 ), and will be aligned with the sibling node DeviceID ( 503 ), which contains the public identifier of the device.