Hi all,
I'm trying to accomplish something like this:
http://www.serasidis...scontroller.htm
and now I'm writing some code to decode PDU format to text.
The steps are:
- Some values represented by hex numbers stored in string, i.e. "31584C1E8BC160"
- Reversing it like this ===> "60C18B1E4C5831"
- Here comes the hardest part - every 7 bits I need to add a 0 bit, because PDU uses 7-bit GSM ASCII.
I can convert it right away beacuse it is stored in hex and everything is shifted by 1 bit every 7 bits.
(see this http://www.serasidis..._conversion.gif )
I wanted to do it like this:
string hex = "60" (first two chars from the main string)
int x = Convert.ToInt32(hex, 16)
BinaryString = Convert.ToString(x, 2)
but it seems that there is no Convert in .NET MF
Is there any workaround possible for this?
Thanks,
Lifanek