Sponsored Content
Full Discussion: ASN.1 Decoder UNIX Code
Top Forums Programming ASN.1 Decoder UNIX Code Post 302887653 by teefa on Monday 10th of February 2014 03:16:19 AM
Old 02-10-2014
my case i got a schema and a binary file , i need to decode it (thats simply)

sorry for asking alot Smilie . so i need the decoder , while i gcc for the decoder it got error related to the efi.h , kindly help
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

core file decoder needed

All, Remotely logged in to the UNIX server (HP B1000 Visual Server) (Version HP-UX 10.20) by using the program Xapplauncher. This is a application runs under Exceed. (Exceed "version 6.1" is a Windows application to communicate with UNIX servers) With no pre warnings the application was... (2 Replies)
Discussion started by: pbekker
2 Replies

2. Programming

ASN.1 decoder

Hi All, I am fairly new to this so please forgive me, Currently I have an ASN.1 which I would like the ability to load this to my work server in order to enter a string of output decode and display the output. There are methods online as shown on ASN.1 JavaScript decoder however I have... (3 Replies)
Discussion started by: mutley2202
3 Replies

3. Solaris

ASN Binary to ASCII

Dears, I need help to convert the binary file into ASCII format. Actually we have CDRs which is generated by telecom switch at this is in ASN1 format or binary format, I need to convert those binary formatted file into ASCII format using Perl, or shell scripting. Is there any way to solve... (3 Replies)
Discussion started by: PRINCESS_RORO
3 Replies

4. UNIX for Advanced & Expert Users

Python Programming for ASN.1 file

Hi. Has anyone here got an experience doing conversion from asn1 format to a readable format so that it can be processed by Oracle? I want to load the data into a table. This is a CDR file. Attached is the pairing file. Please remove the .txt at the end. Someone said that it is possible... (1 Reply)
Discussion started by: aimy
1 Replies
megaco_encoder(3erl)					     Erlang Module Definition					      megaco_encoder(3erl)

NAME
megaco_encoder - Megaco encoder behaviour. DESCRIPTION
The following functions should be exported from a megaco_encoder callback module: DATA TYPES
megaco_message() = #'MegacoMessage{}' transaction() = {transactionRequest, transaction_request()} | {transactionPending, transaction_reply()} | {transactionReply, transaction_pending()} | {transactionResponseAck, transaction_response_ack()} | {segmentReply, segment_reply()} transaction_request() = #'TransactionRequest'{} transaction_pending() = #'TransactionPending'{} transaction_reply() = #'TransactionReply'{} transaction_response_ack() = [transaction_ack()] transaction_ack() = #'TransactionAck'{} segment_reply() = #'SegmentReply'{} action_request() = #'ActionRequest'{} action_reply() = #'ActionReply'{} EXPORTS
Module:encode_message(EncodingConfig, Version, Message) -> {ok, Bin} | Error Types EncodingConfig = list() Version = integer() Message = megaco_message() Bin = binary() Error = term() Encode a megaco message. Module:decode_message(EncodingConfig, Version, Bin) -> {ok, Message} | Error Types EncodingConfig = list() Version = integer() | dynamic Message = megaco_message() Bin = binary() Error = term() Decode a megaco message. Note that if the Version argument is dynamic , the decoder should try to figure out the actual version from the message itself and then use the proper decoder, e.g. version 1. If on the other hand the Version argument is an integer, it means that this is the expected version of the message and the decoder for that version should be used. Module:decode_mini_message(EncodingConfig, Version, Bin) -> {ok, Message} | Error Types EncodingConfig = list() Version = integer() | dynamic Message = megaco_message() Bin = binary() Error = term() Perform a minimal decode of a megaco message. The purpose of this function is to do a minimal decode of Megaco message. A successfull result is a 'MegacoMessage' in which only version and mid has been initiated. This function is used by the megaco_messenger module when the decode_message/3 function fails to figure out the mid (the actual sender) of the message. Note again that a successfull decode only returns a partially initiated message. Module:encode_transaction(EncodingConfig, Version, Transaction) -> OK | Error Types EncodingConfig = list() Version = integer() Transaction = transaction() OK = {ok, Bin} Bin = binary() Error = {error, Reason} Reason = not_implemented | OtherReason OtherReason = term() Encode a megaco transaction. If this, for whatever reason, is not supported, the function should return the error reason not_imple- mented . This functionality is used both when the transaction sender is used and for segmentation. So, for either of those to work, this function must be fully supported! Module:encode_action_requests(EncodingConfig, Version, ARs) -> OK | Error Types EncodingConfig = list() Version = integer() ARs = action_requests() action_requests() = [action_request()] OK = {ok, Bin} Bin = binary() Error = {error, Reason} Reason = not_implemented | OtherReason OtherReason = term() Encode megaco action requests. This function is called when the user calls the function encode_actions/3 . If that function is never used or if the codec cannot support this (the encoding of individual actions), then return with error reason not_implemented . Module:encode_action_reply(EncodingConfig, Version, AR) -> OK | Error Types EncodingConfig = list() Version = integer() AR = action_reply() OK = {ok, Bin} Bin = binary() Error = {error, Reason} Reason = not_implemented | OtherReason OtherReason = term() Encode a megaco action reply. If this, for whatever reason, is not supported, the function should return the error reason not_imple- mented . This function is used when segmentation has been configured. So, for this to work, this function must be fully supported! Ericsson AB megaco 3.15.1 megaco_encoder(3erl)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy