The Harmony 650 (Arch 14) needs to use the normal serial number byte ordering.
This correction allows the 650 to be added to accounts with MHGUI.

Signed-off-by: Scott Talbert <s...@techie.net>
---
 libconcord/remote.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libconcord/remote.cpp b/libconcord/remote.cpp
index baa83df..fa7fcb7 100644
--- a/libconcord/remote.cpp
+++ b/libconcord/remote.cpp
@@ -55,8 +55,9 @@ void setup_ri_pointers(TRemoteInfo &ri)
 void make_guid(const uint8_t * const in, char*&out)
 {
     char x[48];
-    // Non-HID remotes seem to use a more normal byte ordering for serial #'s
-    if (is_z_remote() || is_mh_remote()) {
+    // Non-HID remotes (ZWave-HID, ZWave-USBNet, MH) as well as Arch 14 seem
+    // to use a more normal byte ordering for serial #'s.
+    if (is_z_remote() || is_mh_remote() || (get_arch() == 14)) {
         sprintf(x, GUID_STR, in[0], in[1], in[2], in[3], in[4], in[5], in[6],
                 in[7], in[8], in[9], in[10], in[11], in[12], in[13], in[14],
                 in[15]);
-- 
1.8.3.1


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to