Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
779fcb1c
Commit
779fcb1c
authored
Jul 27, 2016
by
filatov
Browse files
Add AID valued to CAM amd DENM lib (other to be done)
parent
c7cfa03a
Changes
4
Hide whitespace changes
Inline
Side-by-side
ttcn/CAM/LibItsCam_Templates.ttcn
View file @
779fcb1c
...
...
@@ -78,7 +78,7 @@ module LibItsCam_Templates {
template
CamInd
mw_camIndWithSecurityParameters
(
template
(
present
)
CAM
p_camMsg
,
template
Bit128
p_ssp
:=
*
,
template
UInt32
p_its_aid
:=
*
template
UInt32
p_its_aid
:=
c_camItsAid
)
modifies
mw_camInd
:=
{
ssp
:=
p_ssp
,
its_aid
:=
p_its_aid
...
...
ttcn/CAM/LibItsCam_TypesAndValues.ttcn
View file @
779fcb1c
...
...
@@ -54,6 +54,9 @@ module LibItsCam_TypesAndValues {
const
DangerousGoodsBasic
c_dangerousGoodsBasic_corrosiveSubstances
:=
corrosiveSubstances
;
const
DangerousGoodsBasic
c_dangerousGoodsBasic_miscellaneousDangerousSubstances
:=
miscellaneousDangerousSubstances
;
const
UInt32
c_camItsAid
:=
36
;
}
// end group camValues
group
utPrimitives
{
...
...
ttcn/DENM/LibItsDenm_Templates.ttcn
View file @
779fcb1c
...
...
@@ -103,7 +103,7 @@ module LibItsDenm_Templates {
template
DenmInd
mw_denmIndWithSecurityParameters
(
template
(
present
)
DENM
p_denMsg
,
template
Bit128
p_ssp
:=
*
,
template
UInt32
p_its_aid
:=
*
template
UInt32
p_its_aid
:=
c_denmItsAid
)
modifies
mw_denmInd
:=
{
ssp
:=
p_ssp
,
its_aid
:=
p_its_aid
...
...
@@ -810,9 +810,9 @@ module LibItsDenm_Templates {
group
sspTemplates
{
template
(
present
)
bitstring
mw_sspTrafficCondition
:=
'
*
1
'
B
;
template
(
present
)
bitstring
mw_sspAccident
:=
'
*
1
?
'
B
;
template
(
present
)
bitstring
mw_sspRoadworks
:=
'
*
1
??
'
B
;
template
(
present
)
bitstring
mw_ssp
No
TrafficCondition
:=
'
*
0
'
B
;
template
(
present
)
bitstring
mw_ssp
No
Accident
:=
'
*
0
?
'
B
;
template
(
present
)
bitstring
mw_ssp
No
Roadworks
:=
'
*
0
??
'
B
;
}
// end sspTemplates
}
// end LibItsDenmTemplates
\ No newline at end of file
ttcn/DENM/LibItsDenm_TypesAndValues.ttcn
View file @
779fcb1c
...
...
@@ -7,6 +7,9 @@
*/
module
LibItsDenm_TypesAndValues
{
//LibCommon
import
from
LibCommon_BasicTypesAndValues
all
;
// LibIts
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
import
from
ITS_Container
language
"ASN.1:1997"
all
;
...
...
@@ -50,7 +53,7 @@ module LibItsDenm_TypesAndValues {
const
TransmissionInterval
c_interval_10sec
:=
10000
;
const
integer
c_denmItsAid
:=
37
;
const
charstring
c_certName_FullDENMSSP
:=
"CERT_TS_A_AT"
;
}
// end group denmConstants
group
utPrimitives
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment