MeshCore icon

MeshCore

Interact with a MeshCore device over TCP/WiFi

Diagnostic → Await Event

AI-generated

Summary

Waits for a specific push notification event from the connected MeshCore device.

Inputs

  • Event (required) — Which push event to wait for. Options include Advert, Path Updated, Send Confirmed, Login Success, Login Failed, Status Response, Trace Data, New Advert, Telemetry Response, Binary Response, Path Discovery Response, and Control Data.
  • Result Timeout (Ms) — How long to wait for the result/event. Defaults to 30000 ms.

Output shape

A single data item containing the payload of the received push event.

If the timeout is exceeded, the operation fails.

Examples

Example 1: Wait for a device to send a 'Send Confirmed' notification.

Event: Send Confirmed (130), Result Timeout (Ms): 30000

Example 2: Wait for a login attempt result.

Event: Login Success (133) or Login Failed (134)

Links

Discussion