Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ This library provides an implementation of [OPC UA](https://en.wikipedia.org/wik
Furthermore, the library supports automatic detection, configuration and exposure of up to two Arduino Opta Expansion Boards (i.e. Digital Expansion w/ mechanical relays [`D1608E`](https://store.arduino.cc/products/opta-ext-d1608e), Digital Expansion w/ solid-state relays [`D1608S`](https://store.arduino.cc/products/opta-ext-d1608e), Analog Expansion [`A0602`](https://store.arduino.cc/products/opta-ext-a0602)) via OPC UA.

### How-to-OPC UA
* Compile and upload [`examples/opcua_server`](examples/opcua_server/opcua_server.ino)
* Compile and upload [`examples/opta_opcua_server`](examples/opta_opcua_server/opta_opcua_server.ino)
```bash
arduino-cli compile --fqbn arduino:mbed_opta:opta -v examples/opcua_server -u -p /dev/ttyACM0
arduino-cli compile --fqbn arduino:mbed_opta:opta -v examples/opta_opcua_server -u -p /dev/ttyACM0
```
* Connect Arduino Opta Ethernet port with a [DHCP](https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol)-enabled router, switch, etc.
* Open a serial monitor
Expand Down Expand Up @@ -41,7 +41,8 @@ python3 -m pip install --upgrade pyopenssl
python3 -m pip install --upgrade .
```

### How-to-enable detailed heap/stack memory debugging information
### Developer section
#### How-to-enable detailed heap/stack memory debugging information
* Edit [`variants/OPTA/conf/mbed_app.json`](https://github.com/arduino/ArduinoCore-mbed/blob/main/variants/OPTA/conf/mbed_app.json)
```diff
"target.macros_add": [
Expand Down
7 changes: 0 additions & 7 deletions examples/opcua_server/README.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* By compiling and uploading this sketch to your Arduino Opta you obtain turn your
* Arduino Opta into a networked OPC UA capable device.
*
* How-to-build/upload:
* arduino-cli compile --fqbn arduino:mbed_opta:opta examples/opta_opcua_server -v -u -p /dev/ttyACM0
*
* How-to-build/upload RS485 Modbus Demo integrated with this sketch:
* arduino-cli compile --fqbn arduino:mbed_opta:opta examples/opta_opcua_server -v --build-property compiler.cpp.extra_flags="-DUSE_MODBUS_SENSOR_MD02=1" -u -p /dev/ttyACM0
*/

/**************************************************************************************
* INCLUDE
**************************************************************************************/
Expand Down
Loading