# fsPlannedRouteRegisterForBroadcast Registers a callback for route broadcast from the {{< glossterm >}}efb{{< /glossterm >}}. This is triggered when the player clicks the "Send Route To Avionics" button.   ##### Syntax ``` wasm bool fsPlannedRouteRegisterForBroadcast( fsPlannedRouteBroadcastCallback callback, void* ctx ) ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |------------|----------------------------------------------------------|----------| | `callback` | The callback to call when a route is sent from the EFB. | Callback | | `ctx` | A user data pointer that will be sent with the callback. | Pointer | {{< /table-wrapper >}}   ##### Return Values The function will return a bool indicating if the call was successful.   ##### Remarks The pointer to the route received by the callback is only valid for the duration of the callback function. If the data is required for a longer duration, copies of the desired data should be made locally in your module.