×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    2

    OMA Provisioning Problems

    I have the following XML:

    <?xml version="1.0"?>
    <!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN" "http://www.wapforum.org/DTD/prov.dtd">
    <wap-provisioningdoc version="">
    <characteristic type="BOOTSTRAP">
    <parm name="NAME" value="t-mobile"/>
    </characteristic>
    <characteristic type="NAPDEF">
    <parm name="NAPID" value="N0"/>
    <parm name="NAME" value="t-zones"/>
    <parm name="BEARER" value="GSM-GPRS"/>
    <parm name="NAP-ADDRESS" value="wap"/>
    <parm name="NAP-ADDRTYPE" value="APN"/>
    <characteristic type="NAPAUTHINFO">
    <parm name="AUTHTYPE" value="PAP"/>
    <parm name="AUTHNAME" value="tmobile"/>
    <parm name="AUTHSECRET" value="tmobile"/>
    </characteristic>
    </characteristic>
    <characteristic type="PXLOGICAL">
    <parm name="PROXY-ID" value="P0"/>
    <parm name="NAME" value="t-zones GPRS"/>
    <parm name="STARTPAGE" value="http://www.t-zones.nl"/>
    <characteristic type="PXPHYSICAL">
    <parm name="PXADDR" value="010.010.010.010"/>
    <parm name="PXADDRTYPE" value="IPV4"/>
    <parm name="TO-NAPID" value="N0"/>
    <characteristic type="PORT">
    <parm name="PORTNBR" value="9201"/>
    <parm name="SERVICE" value="CO-WSP"/>
    </characteristic>
    </characteristic>
    </characteristic>
    <characteristic type="APPLICATION">
    <parm name="APPID" value="W2"/>
    <parm name="NAME" value="browser"/>
    <parm name="TO-PROXY" value="P0"/>
    <characteristic type="RESOURCE">
    <parm name="URI" value="http://www.t-zones.nl"/>
    <parm name="STARTPAGE" value="http://www.t-zones.nl"/>
    </characteristic>
    </characteristic>
    </wap-provisioningdoc>

    WBXML is:
    030B6A00C54501C6560187070603742D6D6F62696C65000101C65501871106034E30000187070603742D7A6F6E65730001871006AB018708060377617000018709068901C65A01870C069A01870D0603746D6F62696C650001870E0603746D6F62696C6500010101C65101871506035030000187070603742D7A6F6E657320475052530001871C0603687474703A2F2F7777772E742D7A6F6E65732E6E6C0001C65201872006033031302E3031302E3031302E30313000018721068501872206034E300001C65301872306033932303100018724060306CB434F2D5753500001010101C60001550187360603573200018707060362726F7773657200018739060350300001C65901873A0603687474703A2F2F7777772E742D7A6F6E65732E6E6C0001871C687474703A2F2F7777772E742D7A6F6E65732E6E6C0001010101

    With a USERPIN of '1234' the MAC becomes (in WBXML):
    41413733373438453743313936443544334533453431333444343739303943314333314143453232

    I add de WSP Header 01062f1f2db6918192 to the front
    and 00 between the MAC and the WBXML.

    I send everything via SMS using WDP header "0B0504C34F23F0(+concat info)

    The phone i use (Nokia 6230) keeps on saying "unable to save received settings" when it receives the sms's.

    -Does anyone know what I am doing wrong here?
    -Do Nokia phones only accept OMA Provisioning doc's when the characteristics and parameters are in a specific order?
    -Does the userpin need to be 4 digits long?

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    15

    May Be Solved

    User PIN Was: 12345


    <?xml version="1.0"?>
    <!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN" "http://www.wapforum.org/DTD/prov.dtd">
    <wap-provisioningdoc version="1.0">
    <characteristic type="BOOTSTRAP">
    <parm name="NAME" value="t-mobile"/>
    </characteristic>

    <characteristic type="PXLOGICAL">
    <parm name="PROXY-ID" value="P0"/>
    <parm name="NAME" value="t-zones GPRS"/>
    <parm name="STARTPAGE" value="http://www.t-zones.nl"/>
    <characteristic type="PXPHYSICAL">
    <parm name="PXADDR" value="010.010.010.010"/>
    <parm name="PXADDRTYPE" value="IPV4"/>
    <parm name="TO-NAPID" value="N0"/>
    <characteristic type="PORT">
    <parm name="PORTNBR" value="9201"/>
    <parm name="SERVICE" value="CO-WSP"/>
    </characteristic>
    </characteristic>
    </characteristic>


    <characteristic type="NAPDEF">
    <parm name="NAPID" value="N0"/>
    <parm name="NAME" value="t-zones"/>
    <parm name="BEARER" value="GSM-GPRS"/>
    <parm name="NAP-ADDRESS" value="wap"/>
    <parm name="NAP-ADDRTYPE" value="APN"/>
    <characteristic type="NAPAUTHINFO">
    <parm name="AUTHTYPE" value="PAP"/>
    <parm name="AUTHNAME" value="tmobile"/>
    <parm name="AUTHSECRET" value="tmobile"/>
    </characteristic>
    </characteristic>

    <characteristic type="APPLICATION">
    <parm name="APPID" value="w2"/>
    <parm name="NAME" value="browser"/>
    <parm name="TO-PROXY" value="P0"/>
    <characteristic type="RESOURCE">
    <parm name="URI" value="http://www.t-zones.nl"/>
    <parm name="STARTPAGE" value="http://www.t-zones.nl"/>
    </characteristic>
    </characteristic>
    </wap-provisioningdoc>

    XML PDU
    01062F1F2DB69181923933463839334338303334364230313034303930374638
    424138413031424430453633363543383100030B6A00C54601C6560187070603
    742D6D6F62696C65000101C65101871506035030000187070603742D7A6F6E65
    7320475052530001871C0603687474703A2F2F7777772E742D7A6F6E65732E6E
    6C0001C65201872006033031302E3031302E3031302E30313000018721068501
    872206034E300001C6530187230603393230310001872406CB01010101C65501
    871106034E30000187070603742D7A6F6E65730001871006AB01870806037761
    7000018709068901C65A01870C069A01870D0603746D6F62696C650001870E06
    03746D6F62696C6500010101C600015501873600000603773200018707060362
    726F777365720001870001390000060350300001C600015901873A0000060368
    7474703A2F2F7777772E742D7A6F6E65732E6E6C0001871C0603687474703A2F
    2F7777772E742D7A6F6E65732E6E6C0001010101

    XML SMS Part - 0 0B05040B8423F00003A2040101062F1F2DB69181
    9239334638393343383033343642303130343039
    3037463842413841303142443045363336354338
    3100030B6A00C54601C6560187070603742D6D6F
    62696C65000101C6510187150603503000018707
    0603742D7A6F6E657320475052530001871C0603
    687474703A2F2F7777772E74


    XML SMS Part - 1 0B05040B8423F00003A204022D7A6F6E65732E6E
    6C0001C65201872006033031302E3031302E3031
    302E30313000018721068501872206034E300001
    C6530187230603393230310001872406CB010101
    01C65501871106034E30000187070603742D7A6F
    6E65730001871006AB0187080603776170000187
    09068901C65A01870C069A01


    XML SMS Part - 2 0B05040B8423F00003A20403870D0603746D6F62
    696C650001870E0603746D6F62696C6500010101
    C600015501873600000603773200018707060362
    726F777365720001870001390000060350300001
    C600015901873A00000603687474703A2F2F7777
    772E742D7A6F6E65732E6E6C0001871C06036874
    74703A2F2F7777772E742D7A


    XML SMS Part - 3 0B05040B8423F00003A204046F6E65732E6E6C00
    01010101

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •