set sm-rp-oa in gsm411_sms.c
t-osmocombb at tobias.org
Wed Feb 22 13:27:35 UTC 2012
> I need to set originating address in MO SMS (SM submit, SM-RP-OA field)... I found this field in src/host/layer23/src/mobile/gsm411_sms.c -->
> /* no orig Address */
> data = (uint8_t *)msgb_put(msg, 1);
> data = 0x00; /* originator length == 0 */
> Field has 0 length. Can anybody pleas help me how to set this field to some MSISDN...I know that there must be some fields for TON,NPI, number ... but I don't know how to write these fields into source code...
> With this change i want to find out how MSC behave when is field SM-RP-OA set to some real MSISDN.
the coding of the originator address element is specified in 3GPP TS
24.011 188.8.131.52 and the TON/NPI fields in 3GPP TS 24.008 10.5.4.7.
Let us know what you find out :)
More information about the baseband-devel