在诺基亚上添加 NAPDEF
我正在尝试在诺基亚 S60 设备上添加新的接入点,但我对如何操作有点困惑。 根据 spec 应在以下根添加节点:
./AP/<X>
每当我尝试添加节点时,我都会收到状态代码 404,这意味着无法找到该节点。 如果我尝试创建已存在的 AP,则会收到状态代码 418 - 它已存在。
生成的 xml 如下所示:
<Add>
<CmdID>17</CmdID>
<Item>
<Target>
<LocURI>./AP/testAP</LocURI>
</Target>
<Meta>
<Format>node</Format>
<Type>syncml:metinf</Type>
</Meta>
</Item>
</Add>
使用 funambol 我还查询了整个 ./AP 树,并且已经存在很多访问点,所有访问点的名称都类似于 APId00X。
我尝试在 APId00X 表单上为我的 AP 使用其他名称,但也没有成功。
有谁知道在 S60 设备上创建 AP 需要什么?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这并不完全是您问题的答案,但如果您找不到使用 OMA-DM 成功完成此操作的方法,您可能希望在设备上运行一些 Symbian C++ 代码来添加接入点。
如果效果更好,您仍然可以通过使用 OMA-DM 安装包含代码的 .sis 文件、运行它并卸载它来解决该问题。
虽然很难看,但诺基亚在发布手机之前实际测试每个步骤的可能性更大。
It's not exactly an answer to your question but you might want to run some Symbian C++ code on the device to add the access point, if you can't find a way to do it successfully with OMA-DM.
If that works better, you may still be able to work around the problem by using OMA-DM to install the .sis file containing your code, run it and uninstall it.
It's ugly but there is a higher probability that Nokia actually tests each steps before releasing phones.
在诺基亚论坛的帖子中得到了答案。
因此,在添加 AP 时,只要您记得添加所有必填字段,它就可以正常工作。
我不确定哪些是必填字段。 我已经成功创建了一个没有承载的AP,但我还没有对此进行实验。
Got the answer in a post at Nokia Forum.
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.