Jump to content

flodo

Members
  • Gesamte Inhalte

    5
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von flodo

  1. Update:

    If have three problems now:

     

    1) How do I know if all bricklets have already called the callback yet? How long do I have to wait at worst?

     

    2) Do I need mutual exclusion inside the callbacks? (Or is it guaranteed that they are invoked one by one)?

     

    3) Looks like the bricklets-list is not updated anymore after booting up, you can even disconnect a bricklet - the corresponing callback is still invoked when calling

    ipcon_enumerate(&brick_connection);
    

    .

     

     

  2. thank you for your answer!

    I am not sure if we understood each other correctly:

    My problem is, that the Master Brick is not informed when the connection to a bricklet (like the  US Distance bricklet) is interrupted.

     

    I tried the

    ipcon_enumerate(&brick_connection);

    you suggested, I then diconnected the bricklet from the master brick but unfortunately the

    distance_us_get_distance_value(...)

    function does still return sucessfully - which is a bit strange I think^^

×
×
  • Neu erstellen...