Once resident in a services gateway, these services, such as energy measurement and control, safety and security services, health care monitoring services, device control and maintenance, electronic commerce services and more, can interact both with devices and networks in the home or small office and with clients and servers.