ancs设备的配对和连接问题

⚠️
你好。。谢谢你来参加论坛。令人兴奋的消息!我们现在正在移动到我们的新论坛平台,将提供更好的功能,并包含在主对话网站的过程。所有帖子和账号都已迁移。我们现在只接受新论坛上的流量-请在//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
54 posts / 0 new
Last post
李卓斌
离线
Last seen:3个月1周前
Joined:2014-08-15 05:08
ancs设备的配对和连接问题

Dear Dialog,

我们在设备上添加了ancc服务

Iphone配对并绑定设备,Iphone可以向设备发送信息。

and then, I reboot the device and iphone can not reconnet to the device.

DA14580\u和cs3.120.1.5生成的固件也有同样的问题。

此致,

Device:
MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi lizhuobin,

Hi lizhuobin,

Are you storing the bonding data in a non-volatatile memory, and do you restore the bonding data when the device finishes booting in order when the phone issues an encryption request the device to accept the request since its bonded? Do you have a sniffer to check the command that the phone issues to the da ? and when the command is issued is the corresponding handler executed (encryptionrequest_handler) ? Also can you please check if you unpair your device are you able to connect and pair again ?

Thanks MT_dialog

gyz公司
离线
Last seen:2年2周前
Joined:2015-10-10 07:49
你好,我使用DA14580_ANCS_3.120.1.5

你好,我是用DA14580_ANCS_3.120.1.5编译出来的程序,烧到固件能检测到信号,但检测0个服务,因此因此法和手机建立,请问您知道是连接连接?

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi gyz,

Hi gyz,

这是一个英文论坛,所以我不确定我是否完全了解你的问题,因为我在谷歌翻译谷歌时,现在在你的问题上,580上的ANC配置文件可以影响一个客户端而不是服务器,因此没有读取的特征,除了播放服务之外,它不会公开任何服务,因此您应该能够连接并查看播放服务。ANC客户端参考应用程序演示了Apple Notifice Center客户端(ANCC)配置文件的使用来从IOS设备连接和接收通知。请检查应用程序Notes UM-B-032_ANCS_REFURED_APPLICation和UM-B-031_ANCS_PROFILE_SPECIZITION.PDF以获取更多信息,以及如何设置简单演示。

Thanks MT_dialog

巴兹科夫
离线
Last seen:5年2周前
Joined:2015-10-28 23:56
你好Dialog,

你好Dialog,

The ANCS is supported in SDK3, however I am struggling with getting it to work on SDK5. Can I request for support of ANCS in SDK5? Or please provide details on best way to port this.

一般来说,您推荐哪个SDK用于开发?SDK3似乎支持更多的配置文件。

谢谢你

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi ppaszkow,

Hi ppaszkow,

SDK5是一个比SDK3更好的选择,因为所有已知的bug都已修复,它为用户提供了一个更完整的api系统,以便与BLE函数交互。关于概要文件的移植,由于已经有了概要文件的实现和SDK3上的一个工作示例,所以进行移植应该不难。由于有allready配置文件的应用程序实现(app\u ancc.c和app\u ancc\u task.c),您可以以allready现有配置文件的实现(如电池或邻近服务)为例。

Thanks MT_dialog

巴兹科夫
离线
Last seen:5年2周前
Joined:2015-10-28 23:56
谢谢你for your

谢谢你的推荐。我已经尝试了,我从SDK3中取得了App_ancc *并将其移植到SDK5,使用电池和接近配置文件作为示例。不幸的是,我还没有成功。我认为一些钩子丢失或不正确。

目前我可以看到在连接时:
gattc_cmp_evt_handler() in ancc_task.c is called, but it fails at statement:
if (ancc_env->nb_svc > 0) [around line 810]

我还看到ancc\u task.c中的gattc\u disc\u svc\u ind\u handler()从未被调用。这可能就是ancc\u env->nb\u svc==0的原因。如何启用此功能?我看了电池的例子,它看起来很相似。

I could provide my diffs if it's appropriate, but I would really appreciate support on this. Can I request Dialog to perform this exercise of porting ANCS from SDK3 to SDK5. Then I can do the same thing for other profiles which need porting... for example ANPS.

thank you

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi ppaszkow,

Hi ppaszkow,

已将邮件发送到注册的电子邮件地址。

Thanks MT_dialog

巴兹科夫
离线
Last seen:5年2周前
Joined:2015-10-28 23:56
Great, thank you!

Great, thank you!

多宾
离线
Last seen:1 week 4 days ago
Joined:2015-09-16 10:21
Hi MT\u对话框:

Hi MT\u对话框:

你能给我一个关于SDK5的ANC的一个例子吗?我试过但有很多错误。

Thanks.

东方的
离线
Last seen:4年2个月前
Joined:2015-07-20 04:11
hi dialgo staff, could you

hi dialgo staff, could you give me a example about ANCS in SDK5 too? Thanks

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi dobin

Hi dobin

已将邮件发送到注册的电子邮件地址。

Thanks MT_dialog

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
嗨,东方,

嗨,东方,

已向注册的电子邮件帐户发送邮件。

Thanks MT_dialog

eochoa13
离线
Last seen:4年6个月前
Joined:2014-08-15 04:08
Hi MT\u对话框:

Hi MT\u对话框:

你能给我一个例子吗NCS in SDK5 too??

Thanks.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi eochoa13,

Hi eochoa13,

已将邮件发送到注册的电子邮件地址。

Thanks MT_dialog

丹尼尔斯克
离线
Last seen:4年6个月前
Joined:2016-05-31 21:17
Hi MT\u对话框,

Hi MT\u对话框,
你能给我提供IOS ANCS的教程/示例/SDK吗?另外,如果微信SDK能帮助我开发微信通知到我的BLE设备,你也能给我提供微信SDK吗?

Thanks!

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi daniellsk,

Hi daniellsk,

微信可以在支持站点的580参考设计部分找到,并附带文档。为了能够下载固件,你必须接受SDK的许可协议。请转到产品DA14580并导航到软件和工具。在那里你会看到一个挂锁图标-点击它,接受协议,几天后你将被授予SDK访问权。

Thanks MT_dialog

Beck Peng
离线
Last seen:3年8个月前
Joined:2016-03-08 08:43
Hi MT\u对话框:

Hi MT\u对话框:

你能给我一个例子吗NCS in SDK5 too??

Thanks.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
你好,贝克彭,

你好,贝克彭,

A mail has been sent to the registered email.

Thanks MT_dialog

politec
离线
Last seen:4年3个月前
Joined:2016-10-09 08:56.
Hi MT\u对话框:

Hi MT\u对话框:

你能给我一个例子吗NCS in SDK5 too??

Thanks.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
你好,波蒂克,

你好,波蒂克,

在我向您发送任何邮件或代码示例之前,您必须获得SDK中的访问权限。请转到产品DA14580并导航到软件和工具。在那里你会看到一个挂锁图标-点击它,接受协议,几天后你将被授予SDK访问权限。之后,你将能够从支持网站下载代码,我将能够给你的源代码。

Thanks MT_dialog

politec
离线
Last seen:4年3个月前
Joined:2016-10-09 08:56.
跟随你的指示,

跟随你的指示,permission granted. Hopefully you can send me code example now. (ANCS in SDK 5).
谢谢您。

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
你好,波蒂克,

你好,波蒂克,

已将邮件发送到注册的电子邮件地址。

Thanks MT_dialog

politec
离线
Last seen:4年3个月前
Joined:2016-10-09 08:56.
Thanks MT_dialog,

谢谢你

KeNT
离线
Last seen:4年4个月前
Joined:2016-01-22 07:35
Hi MT\u对话框:

Hi MT\u对话框:

你能给我一个例子吗NCS in SDK5 too?

Thanks.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi KeNT,

Hi KeNT,

A mail is sent to the registered email address.

Thanks MT_dialog

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi sanpo_brain,

Hi sanpo_brain,

请不要用中文发帖,这是一个英文论坛。你可以在中文论坛上发表你的问题。

Thanks MT_dialog

松久信幸
离线
Last seen:11个月2周前
Joined:2015-06-09 07:40
你能送一个例子吗?

你能送一个例子吗?code about ANCS application in SDK5 also to me, please.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi Nobu,

Hi Nobu,

A mail is sent to the registered email address.

Thanks MT_dialog

sanpo_brain
离线
Last seen:3年8个月前
Joined:2015-08-27 07:32
Hi MT\u对话框:

Hi MT\u对话框:

你能给我举一个关于SDK5中非国大的例子吗?

Thanks.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi sanpo_brain,

Hi sanpo_brain,

A mail is sent to the registered email address.

Thanks MT_dialog

sanpo_brain
离线
Last seen:3年8个月前
Joined:2015-08-27 07:32
谢谢你for a reply.

谢谢你for a reply.

然而,电子邮件没有收到。
你能再寄一次吗?

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi sanpo_brain,

Hi sanpo_brain,

邮件将重新发送到注册的电子邮件地址。

Thanks MT_dialog

sanpo_brain
离线
Last seen:3年8个月前
Joined:2015-08-27 07:32
I received it. Thank you !

I received it.
谢谢你!

sanpo_brain
离线
Last seen:3年8个月前
Joined:2015-08-27 07:32
Hi MT\u对话框

Hi MT\u对话框

Though CFG_MEM_MAP_EXT_SLEEP is defined, about the sample which you gave,
it becomes the current value more than 500uA.
Will ExtendedSleep become effective now?

谢谢你.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi sanpo_brain,

Hi sanpo_brain,

The CFG_MEM_MAP_EXT_SLEEP doesn't control the sleep configuration but the corresponding memory configuration depending on the sleep mode that you choose, in order to put the device in sleep mode just go in the user_config.h file and set the app_default_sleep_mode to ARCH_EXT_SLEEP_ON, that will force the device to operate under sleep mode.

Thanks MT_dialog

sanpo_brain
离线
Last seen:3年8个月前
Joined:2015-08-27 07:32
A consumption current fell

A consumption current fell down.

谢谢你!

sanpo_brain
离线
Last seen:3年8个月前
Joined:2015-08-27 07:32
Hi MT\u对话框

Hi MT\u对话框

我在Sleep Off下执行程序,在处理过程中是否可以切换到ExtendedSleep?
另外,反过来也可能吗?
Please advise the timing and point if possible.

谢谢您。

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi sanpo_brain,

Hi sanpo_brain,

请不要在不相关的主题上发布问题,你可以随时为你的问题创建一个新的帖子。

Yes, during execution you can invoke arch_disable_sleep() to disable the sleep feature and by invoking the arch_set_extended_sleep() you will be able to re-enable it again.

Thanks MT_dialog

yuangang0101
离线
Last seen:1年4个月前
Joined:2014-02-18 08:58
Hi MT\u对话框:

Hi MT\u对话框:

你能给我举一个关于SDK5中非国大的例子吗?

Thanks.

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi yuangang0101,

Hi yuangang0101,

A mail is sent to the registered email address.

Thanks MT_dialog

kingwheat
离线
Last seen:12个月前2天
Joined:2016-12-08 09:21
Could you give me an example

你能给我举一个关于SDK5中非国大的例子吗?Now I am going to change from the SDK3 to the SDK5, Thanks!

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
嗨,王麦,

嗨,王麦,

A mail is send to the registered email address.

Thanks MT_dialog

Tomoyuki Doi
离线
Last seen:2年6个月前
Joined:2014-05-01 08:15
Could you give me an example

你能给我举一个关于SDK5中非国大的例子吗?

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
嗨,多井友之,

嗨,多井友之,

A mail is sent to the registered email address.

Thanks MT_dialog

迈克尔省
离线
Last seen:2年1个月前
Joined:2015-12-09 02:57
Could you give me an example

Hi dialog,

你能给我举一个关于SDK5中非国大的例子吗?

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
Hi Michaelxiao,

Hi Michaelxiao,

A mail is sent to the registered email address.

Thanks MT_dialog

DanHuang
离线
Last seen:3周2天前
Joined:2017-10-11 15:11
嗨,对话,

嗨,对话,
我正在做ANCS移植,你能给我一个SDK5的示例代码吗?

MT_dialog
离线
Last seen:2 months 2 weeks ago
Staff
Joined:2015-06-08 11:34
你好,丹黄,

你好,丹黄,

A mail is send to the registered email address.

谢谢mt_dialog.

EdwinHsu
离线
Last seen:3个月1周前
Joined:2018-05-13 16:46
Hi MT\u对话框,

Hi MT\u对话框,
Could you please provide me tutorial/example/SDK for IOS ANCS?
你能给我举一个关于SDK5中非国大的例子吗?Now I am going to change from the SDK3 to the SDK5.

Thanks!

PM_Dialog
离线
Last seen:5 days 13 hours ago
Staff
Joined:2018-02-08 11:03
嗨EdwinHsu,

嗨EdwinHsu,

We will get contact with you in the registered email address as soon as possible.

Thanks, PM_Dialog

Topic locked