Skip to main content

Getting the Client ID.

1 reply [Last post]
Joined: 2007-07-30

As a network computer has a IP address. How to fetch the client ID of STB.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-07-03

The org.ocap.hardware.Host.getID() method is provided to OCAP applications. The RI simply returns a value which is set in the porting layer as MPE.SYS.ID (see $OCAPROOT/mpe/os/RI_Common/mpeos_util.c mpeosEnvInit()). On the RI PC Platform, you will see that we set the Host ID to the MAC address of the first PC network interface. Ports to other hardware platforms can set this value however they like.