与ANC设备配对和绑定问题

⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
54 posts / 0 new
Last post
Lizhuobin.
离线
Last seen:3个月6天前
Joined:2014-08-15 05:08
与ANC设备配对和绑定问题

Dear Dialog,

我们在我们的设备上添加了ANCC服务,

iPhone对和绑定设备和iPhone可以向设备发送消息。

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

da14580_ancs_3.120.1.5生成的固件具有相同的问题。

Best Regards,

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 years 2 weeks ago
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,

This is an english forum, so i am not sure if i totally understand your question since i translated it over google, now regarding your question, the ANCS profile on the 580 implemets a client and not a server, therefore there are no characteristics to read, it doesn't expose any services except for the DISS service, so you should be able to connect and see just the DISS service. The ANCS Client reference application demonstrates the use of the Apple Notification Center Client (ANCC) profile to connect and receive notifications from an iOS device. Please check the application notes UM-B-032_ANCS_Reference_application and UM-B-031_ANCS_profile_specification.pdf for more info and how to setup a simple demo.

Thanks MT_dialog

ppaszkow.
离线
Last seen:5年2周前
Joined:2015-10-28 23:56
你好对话框,

你好对话框,

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更好的选择,因为所有已知的错误都已固定,并且它为用户提供了更完整的API系统,以便与BLE函数交互。关于配置文件的移植,因为已经有配置文件的实现和SDK3上的工作示例,因此不应该难以使移植方式。由于概述了配置文件的应用程序实现(app_anc.c和app_ancc_task.c),您可以作为示例实现全部现有配置文件的示例(如电池或接近服务)。

Thanks MT_dialog

ppaszkow.
离线
Last seen:5年2周前
Joined:2015-10-28 23:56
谢谢for your

谢谢你的建议。我试着exactly that, I took app_ancc* from SDK3 and ported it to SDK5, using battery and proximity profiles as examples. Unfortunately I wasn't successful yet. I think some hooks are missing or incorrect.

目前我可以在连接时看到:
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_task.c中的gattc_disc_svc_ind_handler()永远不会调用。这可能是为什么ANCC_ENV-> NB_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

ppaszkow.
离线
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
嗨mt_dialog.:

嗨mt_dialog.:

could you give me a example about ANCS in SDK5 too?? I tried it but have many errors.

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 years 6 months ago
Joined:2014-08-15 04:08
嗨mt_dialog.:

嗨mt_dialog.:

你能给我一个例子吗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

Daniellsk.
离线
Last seen:4 years 6 months ago
Joined:2016-05-31 21:17
嗨mt_dialog.,

嗨mt_dialog.,
您能否为iOS anc提供给我提供教程/ evall / 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的参考设计部分以及文档中找到。为了能够下载FW,您必须接受SDK的许可协议。请转到产品DA14580并导航到软件和工具。在那里,你会看到挂锁图标 - 点击即可接受协议,您将在几天内获得SDK访问权限。

Thanks MT_dialog

Beck Peng
离线
Last seen:3年8个月前
Joined:2016-03-08 08:43
嗨mt_dialog.:

嗨mt_dialog.:

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

Thanks.

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

嗨Beck Peng,

A mail has been sent to the registered email.

Thanks MT_dialog

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

嗨mt_dialog.:

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

Thanks.

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

嗨Politec,

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

Thanks MT_dialog

politec
离线
Last seen:4年3个月前
Joined:2016-10-09 08:56
followed your instruction,

followed your instruction, 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
嗨Politec,

嗨Politec,

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

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
嗨mt_dialog.:

嗨mt_dialog.:

你能给我一个例子吗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
Could you send an example

Could you send an example 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
嗨mt_dialog.:

嗨mt_dialog.:

你能在SDK5中给我一个关于ANC的一个例子吗?

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
嗨mt_dialog.

嗨mt_dialog.

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
嗨mt_dialog.

嗨mt_dialog.

我在睡眠状态下执行一个程序,我可以在处理期间切换到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
嗨mt_dialog.:

嗨mt_dialog.:

你能在SDK5中给我一个关于ANC的一个例子吗?

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中给我一个关于ANC的一个例子吗?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 years 6 months ago
Joined:2014-05-01 08:15
Could you give me an example

你能在SDK5中给我一个关于ANC的一个例子吗?

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

嗨tomoyuki doi,

A mail is sent to the registered email address.

Thanks MT_dialog

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

Hi dialog,

你能在SDK5中给我一个关于ANC的一个例子吗?

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 weeks 1 day ago
Joined:2017-10-11 15:11
嗨对话框,

嗨对话框,
我正在努力移植anc,你能为我提供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.

Thanks MT_Dialog

EdwinHsu
离线
Last seen:3个月1周前
Joined:2018-05-13 16:46
嗨mt_dialog.,

嗨mt_dialog.,
您能否为iOS anc提供给我提供教程/ evall / sdk?
你能在SDK5中给我一个关于ANC的一个例子吗?Now I am going to change from the SDK3 to the SDK5.

Thanks!

PM_Dialog
离线
Last seen:4 days 22 hours ago
Staff
Joined:2018-02-08 11:03
埃德温苏,

埃德温苏,

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

Thanks, PM_Dialog

页面

Topic locked