mobileomaoma-dm

Adding NAPDEF on Nokia


I am trying to add a new access point on a Nokia S60 device, but I am a little bitt puzzled on how to do it. According to the spec a node should be added at the following root:

./AP/<X> 

Whenever I try to add a node I get a status code 404 meaning that it could not be found. If I try to create an AP that already exists instead I get a status code 418 - it already exists.

The generated xml looks like this:

<Add>
  <CmdID>17</CmdID>
  <Item>
    <Target>
      <LocURI>./AP/testAP</LocURI>
    </Target>
    <Meta>
      <Format>node</Format>
      <Type>syncml:metinf</Type>
    </Meta>
  </Item>
</Add>

Using funambol I have also queried the whole ./AP tree and there exists a lot of access point already, all with names like APId00X.

I have tried using other names for my AP on the form APId00X with no luck either.

Does anyone know what it takes to create an AP on a S60 device?


Solution

  • Got the answer in a post at Nokia Forum.

    When trying to add an access point using a command ./AP/, it will fail with error 404 if some of the mandatory nodes are missing.

    So when adding an AP, it works fine as long as you remember to add all mandatory fields. I'm not sure about which ones are the mandatory fields. I have succefully created an AP without Bearer, but I have not experimented with this.