shaffin Posted January 2, 2015 at 09:22 PM Posted January 2, 2015 at 09:22 PM Hello, I am using the C++ API, and when issuing ret = ipcon_connect(&ipcon, host, port); the return (ret) is 0 and that is not correct when the Stepper Brick is unplugged? Any reason why? Thanks, Shaffin. Quote
remotecontrol Posted January 3, 2015 at 07:39 AM Posted January 3, 2015 at 07:39 AM Hi, icon_connect connects to the brickd via TCP/IP or directly to the stack if an externet or WIFI extension is present. If you connect to a brickd, you'll always get an OK back even if no brick is connected via USB (except the network connection is down). But if you trigger an enumerate, you will not see the stepper, if it is not connected via USB. I'm not sure what you mean, can you explain it a bit more detailed? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.