Ocap Getting Started, part 3rd: building Ocap RI

Source: Internet
Author: User
Tags linux

The 1th and 2nd parts of this series give you an initial understanding of opencable application Platform Reference implementation (OCAP RI) from the perspective of the application developer. You learned how to run applications on the RI platform and how to create new applications for RI or other OCAP devices. This is the final issue, which describes the OCAP ri from a platform perspective and shows how to build Ri from the source file. With a deep understanding of the OCAP RI stack, you can optimize or enhance the platform, or migrate it to the hardware of your choice.

RI schema

OCAP RI uses the schema shown in Figure 1:

Figure 1. OCAP RI Architecture

The following information describes Figure 1:

The OCAP stack runs on the JVM, but some methods are implemented in local code. Accordingly, figure 1 separates the Java language portion of the OCAP stack from the local part of the OCAP stack.

The JVM runs Connected Device Configuration (CDC), Foundation profile (FP), and Personal basis profiles (PBP), as described in part 1th. OCAP RI's JVM uses an open source project phoneme Advanced's modified version.

The local implementation of the OCAP stack and the JVM itself is ported to a platform-independent layer of code, the multimedia Platform Extensions (MPE).

And MPE calls the platform-independent code of the Mpeos layer. Mpeos need to be ported to devices running on the OCAP stack.

The RI platform is a virtual device or Device Emulator. The RI platform itself can be built and run on Windows or Linux platforms to form a Device Emulator. When using the Mpeos implementation based on the RI platform, you get a practical OCAP stack that runs on a Device emulator on a desktop computer.

Next, I'll show you how to build OCAP RI on Windows.

Tools

OCAP RI must be built in a class Linux environment. The basic building tools are:

make

gcc

Java compiler

Ant

To build OCAP RI on Windows, you need to install 3 packages:

Cygwin

Java Development Kit (JDK)

Ant

Cygwin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.