bacnet/ede_files/template_ObjTypes.csv
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 13 Mar 2019 15:43:45 +0300
changeset 2543 2befed4d6ca8
parent 2020 6dddf3070806
permissions -rw-r--r--
Fix Pyro work with SSL wrapper (sslpsk)

Following error was shown in Beremiz console:
PYRO connecting to URI : PYROS://127.0.0.1:3001#beremiz
Exception while connecting to 'PYROS://127.0.0.1:3001#beremiz': non-zero flags not allowed in calls to recv() on <class 'ssl.SSLSocket'>
Connection failed to PYROS://127.0.0.1:3001#beremiz!

Reason is that Pyro calls socket recv() with MSGWAITALL flag, that causes ValueError exception.

https://docs.python.org/2/library/ssl.html
recv(), recv_into() (but passing a non-zero flags argument is not allowed)
#Encoding of BACnet Object Types;;;
#Code;Object Type;;
0;Analog Input;;
1;Analog Output;;
2;Analog Value;;
3;Binary Input ;;
4;Binary Output;;
5;Binary Value;;
6;Calendar;;
7;Command;;
8;Device;;
9;Event-Enrollment;;
10;File;;
11;Group;;
12;Loop;;
13;Multistate Input;;
14;Multistate Output
15;Notification Class
16;Program
17;Schedule
18;Averaging
19;Multistate Value
20;Trend Log
21;Life Safety Point
22;Life Safety Zone
23;Accumulator
24;Pulse Converter