Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
OnnoH 1
The following
Please login or register to see this code.
on a new virtual device with IP and port set, results in a debug error
[ERROR] 22:07:59: line getSelfId()..."]:15
which is this line:
bytes, errorCode = _tcpSocket:write("ISCP\0\0\0\16\0\0\0\10\1\0\0\0\!1PWR00\0x1A\r\n")
Why? This syntax has worked before (v4.017).
[ Added: 2014-10-23, 22:28 ]
Rewrote the code a bit and got the debug error
[ERROR] 22:19:11: line 4: invalid escape sequence near '\!'
Guess the LUA Net.FTCP in 4.018 is less forgiving (or more strict) in parsing the string). Took out the \ before the exclamation mark and it worked again.
So I'm gonna dive into the Onkyo VD code and fiddle 'round a bit
Please login or register to see this image.
/emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.