def groupswrite(self,dst,val): '''Submit group address and new value''' con = EIBSocketURL(self.eibd) grp = EIBOpenT_Group(con,readgaddr(dst),1) if grp == -1: return grp res = EIBSendAPDU(con,self.int2hex(val | 0x80,2)) EIBClose(con) return res
def groupswrite(self, dst, val): '''Submit group address and new value''' con = EIBSocketURL(self.eibd) grp = EIBOpenT_Group(con, readgaddr(dst), 1) if grp == -1: return grp res = EIBSendAPDU(con, self.int2hex(val | 0x80, 2)) EIBClose(con) return res
def raw_cache_read_sync(self,dst): con = EIBSocketURL(self.eibd) res = EIB_Cache_Read_Sync(con,readgaddr(dst),0) EIBClose(con) return res
def raw_cache_read_sync(self, dst): con = EIBSocketURL(self.eibd) res = EIB_Cache_Read_Sync(con, readgaddr(dst), 0) EIBClose(con) return res