Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Enumerate-Callbacks werden mehrfach aufgerufen, wenn der Brick Viewer verbunden ist

Featured Replies

Geschrieben

Hallo zusammen,

ich habe einen RED Brick mit Ethernet Extension und etwas seltsames Verhalten festgestellt:

Wenn ich einen enumerate()-Call starte, während ein Brick Viewer über Ethernet verbunden ist, bekomme ich für jeden Brick bzw. jedes Bricklet zwei Callback-Aufrufe mit identischen Argumenten. Ist kein Viewer verbunden, meldet sich jedes Gerät nur einmal. Das ist kein kritisches Problem für mich, aber dennoch unerwartet. Das Verhalten konnte ich mit den Enumerate-Beispielen aus der Dokumentation reproduzieren, sowohl in Node.js JavaScript als auch Python.

  • RED Brick Image v1.15
  • Node.js v8.16.2 (RED Brick) und v12.16.3 (Linux), API-Bindings v2.1.29
  • Python v2.7.13 bzw. 3.5.3 (RED Brick), 3.8.3 (Linux), API-Bindings v2.1.26
  • brickd v2.4.0+redbrick
  • brickv v2.4.12

Besten Dank & Viele Grüße!

Markus

Geschrieben

Das könnte mit einem Bug in Brick Viewer zusammenhängen, der in Brick Viewer Version 2.4.13 behoben wurde. Der Bug führte dazu, dass als Reaktion auf ein Enumerate Callback eines RED Bricks ein weiteres Enumerate ausgelöst wurde.

Teste daher bitte mal, ob das Problem mit Brick Viewer Version 2.4.13 noch besteht.

Geschrieben
  • Autor

Habe es jetzt noch einmal getestet; mit 2.4.13 passiert das nicht mehr. Da habe ich letzte Woche das neue, drei Tage alte Release wohl übersehen. Dankeschön!

Join the conversation

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

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.