Ieee80211VisualizationExample.ned 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package inet.examples.visualization.ieee80211;
  2. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  3. import inet.node.inet.WirelessHost;
  4. import inet.node.wireless.AccessPoint;
  5. import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
  6. import inet.visualizer.integrated.IntegratedVisualizer;
  7. network Ieee80211VisualizationExample
  8. {
  9. parameters:
  10. @figure[description](type=text; pos=300,10; font=Arial,20; text="TODO");
  11. submodules:
  12. visualizer: IntegratedVisualizer {
  13. parameters:
  14. @display("p=100,50");
  15. }
  16. radioMedium: Ieee80211ScalarRadioMedium {
  17. parameters:
  18. @display("p=100,150");
  19. }
  20. configurator: IPv4NetworkConfigurator {
  21. parameters:
  22. @display("p=100,250");
  23. }
  24. accessPointA: AccessPoint {
  25. parameters:
  26. @display("p=300,50");
  27. }
  28. accessPointB: AccessPoint {
  29. parameters:
  30. @display("p=500,50");
  31. }
  32. hostA1: WirelessHost {
  33. parameters:
  34. @display("p=300,150");
  35. }
  36. hostA2: WirelessHost {
  37. parameters:
  38. @display("p=300,250");
  39. }
  40. hostB1: WirelessHost {
  41. parameters:
  42. @display("p=500,150");
  43. }
  44. hostB2: WirelessHost {
  45. parameters:
  46. @display("p=500,250");
  47. }
  48. }