Hi,

Please download latest CVS user guide. Turn to page 89 and read about XML Post. 
It is not a good idea to start throwing around variables in a GET operation 
trying to fish in the blind. A few pages later is the OTA configuration specs 
that you need in your kannel.conf.

BR,
Nikos
  ----- Original Message ----- 
  From: Pai Peng 
  To: [email protected] 
  Sent: Friday, January 30, 2009 9:40 PM
  Subject: problem by sendota Nokia OMA (1.4.2)


  hello,


  this is my first day to use kannel. I have heard it monthes ago, but today i 
have installed it and try to use. My main purpose for using kannel is to send 
OTA OMA configuration to the devices. 

  But I got errors by sending this following example (AP defining OMA XML):

  <?xml version="1.0" encoding="UTF-8" standalone = "yes" ?>
  <wap-provisioningdoc>
  <!-- WLAN AP profile settings -->
  <characteristic type="NAPDEF">
      <parm name="NAME" value="wlanapname"></parm>
      <parm name="NAPID" value="wlanapname"></parm>
      <parm name="PROVIDER-ID" value="wlanapname"></parm>
      <parm name="BEARER" value="WLAN"></parm>
      <characteristic type="WLAN">
          <parm name="PRI-SSID" value="wlanapssid"></parm>
          <parm name="NETMODE" value="INFRA"></parm>
          <parm name="SECMODE" value="WPA-PRESHARED-KEY"></parm>
          <parm name="WPA-PRES-KEY-ASC" value="mypassword"></parm>
      </characteristic>
  </characteristic>
  </wap-provisioningdoc>

  It is used to define a new wlan access point. this xml works with the other 
SMS gateway 'NowSMS'.

  my Nokia E71 can receive the SMS sent by kannel, but can not open it: "Unable 
to open, message format not supported."

  in  the log file of smsbox:

  WARNING: OTA compiler: Unknown attribute 'type' in OTA source, with value 
'NAPDEF'.
  WARNING: OTA compiler: Unknown attribute 'type' in OTA source, with value 
'WLAN'.

  DEBUG (in hex): *application/x-wap-prov.browser-settings........


  It seems like that the smsbox converts the Access Point XML into WebBrowser 
XML format. At least it doesn't know the access point xml protocol.


  I am using the GET method for the OTA HTTP interface with 
text=MyURLEncodedXMLdocument.

  I don't know the OTA settings and bookmark documents defined in the user 
guite. where should I define my own bookmark documents? how does Kannel find it?


  So, I need help to find out a solution to make it work.


  Thanks for reading and your helps.


  Regards

  Pai


Reply via email to