Create the Adapter Project

Prerequisites

Before you can create the adapter project in the Eclipse IDE, you must create capabilities, a sensor type, a protocol, and a vendor in the Device Connectivity APIs.

Procedure

  1. Switch to the Java perspective in your Eclipse.
  2. To create a new project, choose File → New → Project.
  3. In the new project wizard, choose SAP BTP Internet of Things Service → Gateway Adapter.
  4. Choose Next.
  5. Enter the required details for the new adapter in the wizard.
    • Adapter Name: Enter the name of the protocol that you predefined in the Device Connectivity APIs in section Create a Protocol.

    • Vendor Name: Enter the vendor name that you predefined in the Device Connectivity APIs in section Create a Vendor.

    • Core URL: Enter the URL of Device Connectivity, for example https://testhost.eu10.cp.iot.sap/testhost/iot/core/api/v1/tenant/762435769.

    • Certificates: For more information, please refer to subsection Download Certificate in section .

  6. Choose Next.
  7. Choose the desired adapter type from the dropdown list, to generate an adapter template for the required connectivity. Gateway Adapter