Difference between revisions of "Insteon PLM Ruby Code 350"
From LinuxMCE
m (Added category: GSD) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <pre> | + | {{Versioninfo}} |
− | #### Written by Dan Damron | + | <pre>#### Written by Dan Damron |
#### #350 Process Incoming Data #### | #### #350 Process Incoming Data #### | ||
buff = '' | buff = '' | ||
#$recvbuff = "" | #$recvbuff = "" | ||
while(true) | while(true) | ||
− | + | buff=conn_.Recv(128,50) | |
− | + | if(buff.length() == 0) | |
− | + | break | |
− | + | end | |
− | + | $recvbuff = $recvbuff + buff | |
end | end | ||
debugin($recvbuff) | debugin($recvbuff) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
$recvbuff = plmparse($recvbuff) | $recvbuff = plmparse($recvbuff) | ||
</pre> | </pre> | ||
+ | [[category: Insteon]] | ||
+ | [[Category: GSD]] |
Latest revision as of 15:30, 7 July 2016
Version | Status | Date Updated | Updated By |
---|---|---|---|
710 | Unknown | N/A | N/A |
810 | Unknown | N/A | N/A |
1004 | Unknown | N/A | N/A |
1204 | Unknown | N/A | N/A |
1404 | Unknown | N/A | N/A |
Usage Information |
#### Written by Dan Damron #### #350 Process Incoming Data #### buff = '' #$recvbuff = "" while(true) buff=conn_.Recv(128,50) if(buff.length() == 0) break end $recvbuff = $recvbuff + buff end debugin($recvbuff) $recvbuff = plmparse($recvbuff)