Jump to content

Recommended Posts

Posted

Bei ipcon_add_device kommt es offenbar zu Problemen, speziell beim zweiten Bricklet. Drei und vier sind meist ok, es scheint unerheblich zu sein welches Bricklet als zweites dran ist, es fuehrt fast immer zu Problemen. Wenn man eine kleine Verzoegerung zwischen die adds setzt (usleep(50000)), klappts. Vielleicht hilfts wem oder jemand kann mir sagen was falsch laeuft.

 

Hennes

Posted

Ich arbeite auch mit der C Api - mir ist dieses Problem noch nicht aufgefallen.

 

Ich lege aber nach ipcon_create und ipcon_enumerate eine Pause von 5 Sekunden ein bis alle Devices gefunden wurden.

 

Danach erzeuge ich aber alle Devices in einem rutsch (und frage auch die errorcodes ab).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...