| Anonymous | Login | Signup for a new account | 2010-07-31 05:06 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000101 | [OMNeT++] command line tools | feature | always | 2009-09-02 15:21 | 2010-05-09 20:41 | ||||
| Reporter | baumgart | View Status | public | ||||||
| Assigned To | andras | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | resolved | Product Version | 4.0 | ||||||
| Summary | 0000101: Add a message property @sizetype() to msgc to specify to specify the type of the array size variable | ||||||||
| Description |
Currently msgc stores the size of an array in an "int". In OverSim we use msgc generated messages also for real world communication by serializing them with parsim pack()/unpack() methods. In this case using a 32 bit integer is a waste of network communication bandwidth, if we know that an array will only contain a few elements. I've made a small patch to msgc to support the @sizetype property to specify the C++ type of the array size variable. Example: packet BaseRpcMessage { unsigned int nonce; NodeHandle srcNode; AuthBlock authBlock[] @sizetype(uint8_t); } |
||||||||
| Additional Information | |||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Mantis 1.1.5[^] Copyright © 2000 - 2008 Mantis Group |