LibItsGeoNetworking_TypesAndValues.ttcn 38.4 KB
Newer Older
         * @desc List of Upper Tester messages to check Upper Layer message transmission on GN IUT 
         */
        type record of UtGnEventInd UtGnEventIndList;
        
    } // end utPrimitives
    with {
        encode "UpperTester"
    }
    
    group acPrimitives {
        /**
         * @desc    TA primitives for GeoNetworking
         * @member  startBeaconing                  -
         * @member  stopBeaconing                   -
         * @member  startPassBeaconing              -
         * @member  stopPassBeaconing               -
         * @member  startBeaconingMultipleNeighbour -
         * @member  stopBeaconingMultipleNeighbour  -
         * @member  getLongPosVector                -
         */
berge's avatar
berge committed
        type union AcGnPrimitive {
            AcStartBeaconing startBeaconing,
            AcStopBeaconing stopBeaconing,
            AcStartPassBeaconing startPassBeaconing,
            AcStopPassBeaconing stopPassBeaconing,
            AcStartBeaconingMultipleNeighbour startBeaconingMultipleNeighbour,
            AcStopBeaconingMultipleNeighbour stopBeaconingMultipleNeighbour,
berge's avatar
berge committed
            AcGetLongPosVector getLongPosVector
        /**
         * @desc    Primitive for receiveing response from TA
         * @member  getLongPosVector
         */
berge's avatar
berge committed
        type union AcGnResponse {
            LongPosVector getLongPosVector,
            AcGnResponseFailure failure
tepelmann's avatar
tepelmann committed
        with {
            encode(getLongPosVector) "LibItsGeoNetworking"
tepelmann's avatar
tepelmann committed
        type record AcGnResponseFailure {
            boolean     failure
        }
        
tepelmann's avatar
tepelmann committed
         * @desc    Primitive for TA to start sending beacons for the test component
         * @member  beaconHeader        Beacon template
         */
        type record AcStartBeaconing {
            GeoNetworkingPdu beaconPacket
tepelmann's avatar
tepelmann committed
        with {
            encode(beaconPacket) "LibItsGeoNetworking"
        /**
         * @desc    Primitive for TA to stop sending beacons for the test component
         */
        type record AcStopBeaconing {
        /**
         * @desc    Primitive for TA to start enqueueing received beacons
         * @member  beaconHeader    Filter
         */
        type record AcStartPassBeaconing {
            BeaconHeader beaconHeader
        }
tepelmann's avatar
tepelmann committed
        with {
            encode(beaconHeader) "LibItsGeoNetworking"
        /**
         * @desc    Primitive for TA to stop enqueueing received beacons
         */
        type record AcStopPassBeaconing {
        }
        
tepelmann's avatar
tepelmann committed
         * @desc    Primitive for TA to start sending beacons for multiple neighbours
         * @member  beaconHeader        Beacon template
         * @member  numberOfNeighbour   Number of neighbours to simulate
         */
        type record AcStartBeaconingMultipleNeighbour {
            GeoNetworkingPdu beaconPacket,
tepelmann's avatar
tepelmann committed
        with {
            encode(beaconPacket) "LibItsGeoNetworking"
        /**
         * @desc    Primitive for TA to stop sending beacons for multiple neighbours
         */
        type record AcStopBeaconingMultipleNeighbour {
        }
        
        /**
         * @desc    Primitive for retrieving the position vector corresponding to a specific GN address
         * @member  gnAddress   GN address to be searched
         */
berge's avatar
berge committed
        type record AcGetLongPosVector {
tepelmann's avatar
tepelmann committed
        with {
            encode(gnAddress) "LibItsGeoNetworking"
    } // end acPrimitives
    with {
        encode "AdapterControl"
    }
    encode "LibItsGeoNetworking"