You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int V2GTP20_ReadHeader(const uint8_t* stream_data, uint32_t* stream_payload_length, uint16_t v2gtp20_payload_id);
Why does this signature expect the caller to know the payload id? When receiving data, you have no clue what type of payload you will receive. Probing until V2GTP20_ReadHeader returns without error seems a little cumbersome, doesn't it?