云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
c
/
open62541
/
examples
/
zephyr
/
server
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
src
2024-12-16 13:38:58
2.8 KB
CMakeLists.txt
2024-12-16 13:38:58
386 B
prj.conf
2024-12-16 13:38:58
1.36 KB
README.md
2024-12-16 13:38:58
706 B
west.yml
2024-12-16 13:38:58
213 B
# Zephyr server example ## HOWTO ``` # Initialize the west workspace cd examples/zephyr west init -l server west update # Build the native sim executable cd server west build -p -b native_sim # Setup host side ethernet interface (see # https://github.com/zephyrproject-rtos/net-tools or # https://docs.zephyrproject.org/latest/boards/native/native_sim/doc/index.html#peripherals) sudo ./
/net-setup.sh & # Execute the OPC UA server ./build/zephyr/zephyr.exe & # Read the answer value via python-opcua CLI uaread -u "opc.tcp://192.0.2.10:4840" -n "ns=1;s=the.answer" ``` Expected output of uaread: ``` WARNING: Requested secure channel timeout to be 3600000ms, got 600000ms instead 42 ```
2025-09-02 15:39:07 Tuesday 216.73.216.107 Runningtime:0.016s Mem:1.48 MB