pmaillot / X32-Behringer

This GIT repo (C language) holds applications and utilities for the Behringer X32 and M32 mixing consoles. Additional details, documentation, implementation examples and apps can be found in my website:
https://sites.google.com/site/patrickmaillot/x32
234 stars 41 forks source link

XR18_Command Can't connect to XR18 #3

Closed kmitch95120 closed 8 years ago

kmitch95120 commented 8 years ago

The program just spins while trying to connect to XR18. A sniffer trace shows a continuous stream of /xinfo commands each followed by a response from the XR18. See below:

XR18_Command - v1.32 - (c)2014-15 Patrick-Gilles Maillot

Connecting to XR18............................................................................................................................................................................................................................................................................................................................................^C

From looking at the code the problem is with lines 276 and 285. On line 276 the initial command is set to "/xinfo" but on line 285 the response is checked for "/info".

Below is the proposed fix: 285c285

< if (strcmp(r_buf, "/info") == 0)

        if (strcmp(r_buf, "/xinfo") == 0)

Ken

pmaillot commented 8 years ago

Huhooo…. Thanks!

I’ll fix this right away!

From: kmitch95120 [mailto:notifications@github.com] Sent: Saturday, July 2, 2016 9:48 PM To: pmaillot/X32-Behringer Subject: [pmaillot/X32-Behringer] XR18_Command Can't connect to XR18 (#3)

The program just spins while trying to connect to XR18. A sniffer trace shows a continuous stream of /xinfo commands each followed by a response from the XR18. See below:

XR18_Command - v1.32 - (c)2014-15 Patrick-Gilles Maillot

Connecting to XR18............................................................................................................................................................................................................................................................................................................................................^C

From looking at the code the problem is with lines 276 and 285. On line 276 the initial command is set to "/xinfo" but on line 285 the response is checked for "/info".

Below is the proposed fix:

285c285

< if (strcmp(r_buf, "/info") == 0)

    if (strcmp(r_buf, "/xinfo") == 0)

Ken

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pmaillot/X32-Behringer/issues/3 , or mute the thread https://github.com/notifications/unsubscribe/APOZ_pUsafbnv9iZJJ2CLE-m9fDbx-ITks5qRsBxgaJpZM4JDvYc . https://github.com/notifications/beacon/APOZ_h92mn56kvBdtCU4gUwJRYO7kfykks5qRsBxgaJpZM4JDvYc.gif

pmaillot commented 8 years ago

OK fixed! Thanks a lot!