⚠️ 嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
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 ?
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.
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.
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.
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?
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.
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.
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
你好,我使用DA14580_ANCS_3.120.1.5 编译出来的程序,烧到固件能检测到信号,但是检测到0个服务,因此没法和手机建立连接,请问您知道是什么原因么?
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
你好对话框,
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似乎有更多的档案。
谢谢
Hi ppaszkow,
SDK5是比SDK3更好的选择,因为所有已知的错误都已固定,并且它为用户提供了更完整的API系统,以便与BLE函数交互。关于配置文件的移植,因为已经有配置文件的实现和SDK3上的工作示例,因此不应该难以使移植方式。由于概述了配置文件的应用程序实现(app_anc.c和app_ancc_task.c),您可以作为示例实现全部现有配置文件的示例(如电池或接近服务)。
Thanks MT_dialog
谢谢你的推荐。我已经尝试了,我从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_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
Hi ppaszkow,
邮件已发送到已注册的电子邮件地址。
Thanks MT_dialog
Great, thank you!
嗨mt_dialog.:
你能给我一个例子吗ANCS in SDK5 too?? I tried it but have many errors.
Thanks.
hi dialgo staff, could you give me a example about ANCS in SDK5 too? Thanks
Hi dobin
邮件已发送到已注册的电子邮件地址。
Thanks MT_dialog
嗨东方,
邮件已发送到已注册的电子邮件帐户。
Thanks MT_dialog
嗨mt_dialog.:
你能给我一个例子吗NCS in SDK5 too??
Thanks.
Hi eochoa13,
邮件已发送到已注册的电子邮件地址。
Thanks MT_dialog
嗨mt_dialog.,
您能否为iOS anc提供给我提供教程/ evall / sdk?另外,如果它可以帮助我向我的BLE设备开发微信通知,您也可以为我提供微信SDK吗?
Thanks!
Hi daniellsk,
微信可以在支持站点中的580的参考设计部分以及文档中找到。为了能够下载FW,您必须接受SDK的许可协议。请转到产品DA14580并导航到软件和工具。在那里,你会看到挂锁图标 - 点击即可接受协议,您将在几天内获得SDK访问权限。
Thanks MT_dialog
嗨mt_dialog.:
你能给我一个例子吗NCS in SDK5 too??
Thanks.
嗨Beck Peng,
A mail has been sent to the registered email.
Thanks MT_dialog
嗨mt_dialog.:
你能给我一个例子吗NCS in SDK5 too??
Thanks.
嗨Politec,
在我发给您任何邮件或代码示例之前,您必须在授予的SDK中获取您的访问权限。请转到产品DA14580并导航到软件和工具。在那里,你会看到挂锁图标 - 点击即可接受协议,您将被授予将在几天内进行SDK访问。之后,您将能够从支持站点下载代码,我将能够为您提供源代码。
Thanks MT_dialog
followed your instruction, permission granted. Hopefully you can send me code example now. (ANCS in SDK 5).
谢谢你。
嗨Politec,
邮件已发送到已注册的电子邮件地址。
Thanks MT_dialog
谢谢
嗨mt_dialog.:
你能给我一个例子吗NCS in SDK5 too?
Thanks.
Hi KeNT,
A mail is sent to the registered email address.
Thanks MT_dialog
Hi sanpo_brain,
请不要用中文发布,这是一个英语论坛。您可以在中文论坛上发布您的问题。
Thanks MT_dialog
Could you send an example code about ANCS application in SDK5 also to me, please.
Hi Nobu,
A mail is sent to the registered email address.
Thanks MT_dialog
嗨mt_dialog.:
你能在SDK5中给我一个关于ANC的一个例子吗?
Thanks.
Hi sanpo_brain,
A mail is sent to the registered email address.
Thanks MT_dialog
谢谢for a reply.
但是,电子邮件没有到达。
你会再次发送一次吗?
Hi sanpo_brain,
邮件已重新发送到已注册的电子邮件地址。
Thanks MT_dialog
I received it.
谢谢!
嗨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?
谢谢.
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
A consumption current fell down.
谢谢!
嗨mt_dialog.
我在睡眠状态下执行一个程序,我可以在处理期间切换到ExtendedSleep吗?
另外,也是反向的吗?
Please advise the timing and point if possible.
谢谢你。
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
嗨mt_dialog.:
你能在SDK5中给我一个关于ANC的一个例子吗?
Thanks.
Hi yuangang0101,
A mail is sent to the registered email address.
Thanks MT_dialog
你能在SDK5中给我一个关于ANC的一个例子吗?Now I am going to change from the SDK3 to the SDK5, Thanks!
嗨金麦,
A mail is send to the registered email address.
Thanks MT_dialog
你能在SDK5中给我一个关于ANC的一个例子吗?
嗨tomoyuki doi,
A mail is sent to the registered email address.
Thanks MT_dialog
Hi dialog,
你能在SDK5中给我一个关于ANC的一个例子吗?
Hi Michaelxiao,
A mail is sent to the registered email address.
Thanks MT_dialog
嗨对话框,
我正在努力移植anc,你能为我提供SDK5的示例代码吗?
迪庄,
A mail is send to the registered email address.
Thanks MT_Dialog
嗨mt_dialog.,
您能否为iOS anc提供给我提供教程/ evall / sdk?
你能在SDK5中给我一个关于ANC的一个例子吗?Now I am going to change from the SDK3 to the SDK5.
Thanks!
埃德温苏,
We will get contact with you in the registered email address as soon as possible.
Thanks, PM_Dialog
页面