Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
* @member payload GnRawPayload of the packet
*/
type record GenerateGeoUnicastMessage {
GN_Address gnAddress,
UInt16 lifetime,
TrafficClass trafficClass,
GnRawPayload payload
} with {
variant "FIELDORDER(msb)"
}
/**
* @desc UT primitive for IUT to send a GeoBroadcast packet
* @member shape Shape of the area
* @member lifetime Lifetime of the packet
* @member trafficClass Traffic class of the packet
* @member area Destination GeoArea
* @member payload GnRawPayload of the packet
*/
type record GenerateGeoBroadcastMessage {
GeoShape shape,
UInt16 lifetime,
TrafficClass trafficClass,
UInt24 reserved,
Area area,
GnRawPayload payload
} with {
variant "FIELDORDER(msb)"
}
/**
* @desc UT primitive for IUT to send a Geoanycast packet
*/
type GenerateGeoBroadcastMessage GenerateGeoAnycastMessage;
/**
* @desc UT primitive for IUT to send a SHB packet
* @member trafficClass Traffic class of the packet
* @member payload GnRawPayload of the packet
*/
type record GenerateSHBMessage {
TrafficClass trafficClass,
GnRawPayload payload
} with {
variant "FIELDORDER(msb)"
}
/**
* @desc UT primitive for IUT to send a SHB packet
* @member nbHops Number of Hops
* @member lifetime Lifetime of the packet
* @member trafficClass Traffic class of the packet
* @member payload GnRawPayload of the packet
*/
type record GenerateTSBMessage {
UInt8 nbHops,
UInt16 lifetime,
TrafficClass trafficClass,
GnRawPayload payload
} with {
variant "FIELDORDER(msb)"
}
/**
* @desc Upper Tester message to check Upper Layer message transmission on GN IUT
*/
type record UtGnEventInd {
// GeoNetworkingPdu gnPdu
GnRawPayload rawPayload
} with {
variant "FIELDORDER(msb)"
}
/**
* @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";
variant ""
}
group acPrimitives {
/**
* @desc TA primitives for GeoNetworking
* @member startBeaconing -
* @member stopBeaconing -
* @member startPassBeaconing -
* @member stopPassBeaconing -
* @member startBeaconingMultipleNeighbour -
* @member stopBeaconingMultipleNeighbour -
* @member getLongPosVector -
*/
type union AcGnPrimitive {
AcStartBeaconing startBeaconing,
AcStopBeaconing stopBeaconing,
AcStartPassBeaconing startPassBeaconing,
AcStopPassBeaconing stopPassBeaconing,
AcStartBeaconingMultipleNeighbour startBeaconingMultipleNeighbour,
AcStopBeaconingMultipleNeighbour stopBeaconingMultipleNeighbour,
AcGetLongPosVector getLongPosVector
} with {
variant ""
}
/**
* @desc Primitive for receiveing response from TA
* @member getLongPosVector
*/
type union AcGnResponse {
LongPosVector getLongPosVector,
AcGnResponseFailure failure
}
with {
variant ""
encode(getLongPosVector) "LibItsGeoNetworking"
}
type record AcGnResponseFailure {
boolean failure
}
/**
* @desc Primitive for TA to start sending beacons for the test component
* @member beaconHeader Beacon template
*/
type record AcStartBeaconing {
GeoNetworkingPdu beaconPacket
}
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
}
with {
encode(beaconHeader) "LibItsGeoNetworking"
};
/**
* @desc Primitive for TA to stop enqueueing received beacons
*/
type record AcStopPassBeaconing {
}
/**
* @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,
integer numberOfNeighbour
}
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
*/
type record AcGetLongPosVector {
GN_Address gnAddress
}
with {
encode(gnAddress) "LibItsGeoNetworking"
};
} // end acPrimitives
with {
variant ""
encode "AdapterControl"
}
}
with {
variant ""
encode "LibItsGeoNetworking"
}