Pro / open62541-arduino

open62541 OPC UA example for Arduino
35 stars 11 forks source link

Creating OPC UA Server failed #11

Open menshen-tsai opened 5 years ago

menshen-tsai commented 5 years ago

First, I would like to express my sincere appreciation for the OPC/UA codes. Although I have to modify some codes, I finally uploaded to ESP32. But I got the messages below: ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:928 ho 0 tail 12 room 4 load:0x40078000,len:9280 load:0x40080400,len:5848 entry 0x40080698 Starting up... Setting up wifi...

Connecting to TP-LINK_DC02 ..... WiFi connected. IP address: 192.168.0.204 Setting up time... Current time: 2018-12-29 14:50:16.000066 (UTC) Setting up opcua... Creating server... [2018-12-29 14:50:16.011 (UTC+0000)] info/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | The number of ArrayDimensions is not equal to the (positive) ValueRank [2018-12-29 14:50:16.018 (UTC+0000)] info/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: Type-checking the variable node failed with error code BadTypeMismatch
[2018-12-29 14:50:16.038 (UTC+0000)] info/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | The number of ArrayDimensions is not equal to the (positive) ValueRank
[2018-12-29 14:50:16.055 (UTC+0000)] info/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: Type-checking the variable node failed with error code BadTypeMismatch
[2018-12-29 14:50:16.078 (UTC+0000)] error/server Initialization of Namespace 0 (before bootstrapping) failed with BadTypeMismatch. See previous outputs for any error messages.
[2018-12-29 14:50:16.088 (UTC+0000)] error/server Namespace 0 could not be bootstrapped with error BadInternalError. Shutting down the server.
Creating OPC UA Server failed. See previous errors.

I would appreciate if you could point out the problems.

MST

Error.txt