Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* Management interface for Test Adapter main class
*
* @author ETSI / STF424
* @version $URL$
* $Id$
*
*/
package org.etsi.its.adapter;
/**
* Management interface for Test Adapter main class
*/
public interface IManagementTA {
/**
* Requests Test Adapter to start sending periodic beacons for the current component
* @param beaconHeader Beacon to be sent (TST field will be updated)
*/
public void startBeaconing(byte[] beaconHeader);
/**
* Requests Test Adapter to stop sending periodic beacons for the current component
*/
public void stopBeaconing();
/**
* Requests Test Adapter to start enqueueing beacon messages on the current component GN port
* @param beaconHeader Only messages matching this beacon header will be enqueued
*/
public void startEnqueueingBeacons(byte[] beaconHeader);
/**
* Requests Test Adapter to stop enqueueing beacon messages on the current component GN port
*/
public void stopEnqueueingBeacons();
/**
* Requests Test Adapter to start simulating neighbour presence by sending multiple periodic beacons for the current component
* @param beaconHeader Beacon to be sent (TST field will be updated, GN addresses will be random)
* @param nbNeighbours Number of neighbours to simulate
*/
public void startMultipleBeaconing(byte[] beaconHeader, int nbNeighbours);
/**
* Requests Test Adapter to stop simulating neighbour presence
*/
public void stopMultipleBeaconing();
/**
* Gets the long position vector of a neighbour given its GN_Address
* @param targetGnAddress GN_Address of the target neighbour
* @return Long position vector of the target neighbour as received in its last beacon, or null
*/
public byte[] getLongPositionVector(byte[] targetGnAddress);
}