StrefaCiszy Posted February 21, 2017 Share Posted February 21, 2017 Welcome I'm writting driver for relay based device for controlling on/off Lights and the problem is that for iOS base devices i can turn on off the device but from android devices and windows App i can't do anything. Driver i based on Light_v2 proxies and only rs232 connection How to fix this problem. Link to comment Share on other sites More sharing options...
RyanE Posted February 21, 2017 Share Posted February 21, 2017 When you receive a GET_CONNECTED_STATE proxy message, you have to reply with an ONLINE_CHANGED message, or the UI will not show the Light proxy as being available for changes. function PRX_CMD.GET_CONNECTED_STATE(idBinding, tParams) SendToProxy(LIGHT_PROXY_BINDING_ID, "ONLINE_CHANGED", {STATE = "True"}) end RyanE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.