intrig / xenon Goto Github PK
View Code? Open in Web Editor NEWThe Intrig Message Decoder
License: MIT License
The Intrig Message Decoder
License: MIT License
This will require us to support a non-ancient g++ and clang.
On windows, reproduce with:
xenon::spec_server d("icd.xddl");
auto decoded_msg = xenon::parse(d, "0101011107952901a3de0a800982511effffffff");
auto c = xenon::find_first(decoded_msg, "DATA/MSG_TYPE");
Compliments: @rgyger
I'm trying to update the 36.331 asn doc to e80.
Steps performed:
The build is failing with the following error. The line 4253 comment was added by modifying asnast.h to output the error string to cerr before calling IT_PANIC()
[ 15%] Generating src/xenon/xddl/3GPP/TS-36.331.xddl
opening src/xenon/xddl/asn/36.331/36.331-e80.asn
finished module EUTRA-RRC-Definitions
finished module PC5-RRC-Definitions
finished module NBIOT-RRC-Definitions
finished module EUTRA-UE-Variables
finished module NBIOT-UE-Variables
finished module EUTRA-Sidelink-Preconf
finished module EUTRA-InterNodeDefinitions
finished module NBIOT-InterNodeDefinitions
parsing complete
writing xddl
line 4253: undefined instance for type 11BooleanType
src/xenon/xddl/asn/36.331/36.331-e80.asn: [src/xenon/tools/asnx/asnast.h:137]
make[2]: *** [src/xenon/xddl/3GPP/TS-36.331.xddl] Error 1
make[1]: *** [xenon/xddl/3GPP/36.331/CMakeFiles/36_331.dir/all] Error 2
make: *** [all] Error 2
This is handy for converting the specs.
This causes a seg fault:
tools/idm ../xddl/icd.xddl 0101011107952901a3de0a800982511effffffff
Reproduce with: idm icd.xddl 020000C93EFE11894800372080
Courtesy of @rgyger
Test issue.
After introducing an error to icd.xddl and running the following:
# xv icd.xddl
Results in an error message without the file and line number.
The cstr element blindly reads until it finds a '\0'. It should be limited by the remaining bits in the record and by the max attribute.
Also, it does not work for non-byte aligned cstr. This should either be fixed or fail gracefully.
Use https://github.com/CLIUtils/CLI11 instead of the current ict/command.
For example, if you run this:
idm fragment.xddl 0102
Name Length Value Hex Description
b 8 1 #01
A
b 8 2 #02
Then there are extra spaces at the end of each line.
The record element with id should be supported throughout the spec, not just at the top level.
Then the signature that doesn't require an ID should be removed. The ID should then be optional.
The record link should remain unchanged, but also be able to link to any record with an id.
This is priceless:
windows: dunno, I just skip it
Move these tests up one directory and remove the directory.
See #25
Just don't mix this with changing code.
issues, as well as lua links.
Programs including xddl.h
take quite a long time to compile. The main reason is that all the xspx
generated code is all in a header file. xspx
should be given an option to generate a source file named xddl.cpp
that can be compiled into xenon.a
. This would also help hide some of the internal API.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.