Skip to content

Commit

Permalink
simple-js-examples - bring pre-reqs to top
Browse files Browse the repository at this point in the history
They are sort of hidden now (and they are common to all),
so raise them to the top.
  • Loading branch information
JanneKiiskila committed Sep 27, 2024
1 parent e116dea commit c5aafd2
Showing 1 changed file with 26 additions and 28 deletions.
54 changes: 26 additions & 28 deletions simple-js-examples/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# Simple Javascript protocol translator and management example

Please note that these example require a working Node.JS environment in your system.
## Dependencies / pre-requisites

This example uses `node.js v8` or higher.
LmP Edge devices do not by default have it.

Install the dependencies:
```bash
npm install
```

Dependencies are:

simple-edge-api-examples
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
└── [email protected]

The list with version can be listed with:
```bash
npm ls
```

## simple-fota-example.js
These example protocol translators (PT) demostrate the FOTA capabilities. The PT needs to register these resources:

Expand Down Expand Up @@ -78,33 +103,6 @@ Please study the example code to see how to use the gateway resource manager
JSONRPC 2.0 API and read the relevant documentation for Edge APIs from
[Device Management Docs](https://developer.izumanetworks.com/docs/device-management-edge/latest/protocol-translator/index.html).

## Dependencies

This example uses `node.js v8` or higher.

Install the dependencies:
```bash
npm install
```

Dependencies are:

simple-edge-api-examples
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
└── [email protected]

The list with version can be listed with:
```bash
npm ls
```

## Running the protocol translator example

Fixed values for the example:
Expand Down

0 comments on commit c5aafd2

Please sign in to comment.