NED File src/simu5g/apps/mec/WarningAlert/MecWarningAlertApp.ned¶
Name |
Type |
Description |
|---|---|---|
simple module |
Application that is dynamically instantiated on a MEC host upon request from a UeWarningAlertApp via a DeviceApp. It receives requests from the UE to be notified when it enters a circular area defined by its center and radius. This is accomplished by subscribing to the LocationService provided by the MEC Host. This module receives a notification from the Location Service when the UE enters/exits the area and, in turn, sends a message to the UE. |
Source code¶
//
// Simu5G
//
// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//
package simu5g.apps.mec.WarningAlert;
import simu5g.apps.mec.MecApps.MecAppBase;
//
// Application that is dynamically instantiated on a MEC host upon request
// from a ~UeWarningAlertApp via a ~DeviceApp.
// It receives requests from the UE to be notified when it enters a circular area defined by
// its center and radius. This is accomplished by subscribing to the ~LocationService provided
// by the MEC Host. This module receives a notification from the Location Service when
// the UE enters/exits the area and, in turn, sends a message to the UE.
//
simple MecWarningAlertApp extends MecAppBase
{
parameters:
@class(MecWarningAlertApp);
@display("i=block/app;is=s");
int packetSize @unit(B) = default(10B);
int localUePort;
bool logger = default(false);
}