ETSI's Bug Tracker - GeoNetworking
View Issue Details
0006897GeoNetworkingATSpublic05-03-2015 08:4205-03-2015 09:42
tepelmann 
tepelmann 
normalminorhave not tried
resolvedfixed 
Next Release 
Next Release 
0006897: UtGnEventInd handling is not working
The handling of UtGnEventInd and the checks inside the test cases are incorrect:

UtGnEventInd will carry the raw payload, however in the test cases we will try to match this with a decoded payload which was sent before.

E.g. for sending we use f_adaptPayload_m to get the payload to send:
            if(PX_GN_UPPER_LAYER == e_btpA) {
                v_payload := { decodedPayload := { btpPacket := m_btpA({ decodedPayload := omit, rawPayload := p_finalPayload })}, rawPayload := ''O};
                return v_payload;
            }

So the rawPayload will be ''O in this case.

For checking we use:
...not match(vc_utInds[i].rawPayload, v_gnPacket.gnPacket.packet.payload.rawPayload)...

Assuming receiving 0x00010001CAFE, the testcase will try to match ''O with '00010001CAFE'O.

No tags attached.
Issue History
05-03-2015 08:42tepelmannNew Issue
05-03-2015 09:41tepelmannNote Added: 0012807
05-03-2015 09:41tepelmannStatusnew => resolved
05-03-2015 09:41tepelmannResolutionopen => fixed
05-03-2015 09:41tepelmannAssigned To => tepelmann

Notes
(0012807)
tepelmann   
05-03-2015 09:41   
The sent payload is now encoded for matching the received rawPayload from UtGnEventInd.