Dear Dialog,
We have add ancc service on our device,
Iphone pair and bond The device and iphone can send message to the device.
and then, I reboot the device and iphone can not reconnet to the device.
The firmware generated by DA14580_ANCS_3.120.1.5 has the same problem.
此致,
Device:
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,
这是一个英文论坛,所以我不确定我是否完全了解你的问题,因为我在谷歌翻译谷歌时,现在在你的问题上,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
Hello 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.
More generally which SDK do you recommend for development? SDK3 seems to have more profiles supported.
Thank you
Hi ppaszkow,
The SDK5 is a better choice than SDK3 since all known bugs has been fixed and it provides a more complete api system for the user in order to interact with the BLE functions. Regarding the porting of the profile, since there's already an implementation of the profile and a working example on SDK3 it shouldn't be hard to make the porting. Since there is allready the application implementation of the profile (app_ancc.c and app_ancc_task.c) you can take as an example the implementation of an allready existing profile (like the battery or the proximity service).
Thanks MT_dialog
谢谢你的推荐。我已经尝试了,我从SDK3中取得了App_ancc *并将其移植到SDK5,使用电池和接近配置文件作为示例。不幸的是,我还没有成功。我认为一些钩子丢失或不正确。
Currently I can see that upon connection:
gattc_cmp_evt_handler() in ancc_task.c is called, but it fails at statement:
if (ancc_env->nb_svc > 0) [around line 810]
I also see that gattc_disc_svc_ind_handler() in the ancc_task.c is never called. This is probably why ancc_env->nb_svc == 0. How do I enable this? I looked at the battery example and it looks similar.
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,
A mail has been sent to the registered email address.
Thanks MT_dialog
Great, thank you!
Hi MT_dialog:
你能给我一个关于SDK5的ANC的一个例子吗?我试过但有很多错误。
Thanks.
hi dialgo staff, could you give me a example about ANCS in SDK5 too? Thanks
Hi dobin
A mail has been sent to the registered email address.
Thanks MT_dialog
Hi orient,
A mail has been sent to the registered email account.
Thanks MT_dialog
Hi MT_dialog:
你能给我一个例子吗NCS in SDK5 too??
Thanks.
Hi eochoa13,
A mail has been sent to the registered email address.
Thanks MT_dialog
Hi MT_dialog,
Could you please provide me tutorial/example/SDK for IOS ANCS? Also, can you provide me the WeChat SDK as well if it can help me to develop WeChat notification to my BLE device?
Thanks!
Hi daniellsk,
下的微信可以参考设计section of the 580 in the support site along with the documentation. In order to be able to download the fw you have to accept the licence agreement of the SDK. Please go to product DA14580 and navigate to software and tools. There you 'll see a padlock icon - click that, accept the agreement, and you will be granted with SDK access in a couple of days.
Thanks MT_dialog
Hi MT_dialog:
你能给我一个例子吗NCS in SDK5 too??
Thanks.
Hi Beck Peng,
A mail has been sent to the registered email.
Thanks MT_dialog
Hi MT_dialog:
你能给我一个例子吗NCS in SDK5 too??
Thanks.
Hi politec,
Before i can send you any mail or code example, you will have to get your access in the SDK granted. Please go to product DA14580 and navigate to software and tools. There you 'll see a padlock icon - click that, accept the agreement, and you will be granted will SDK access in a couple of days. After that you will be able to download code from the support site and i will be able to give you source code.
Thanks MT_dialog
跟随你的指示,permission granted. Hopefully you can send me code example now. (ANCS in SDK 5).
thank you.
Hi politec,
A mail has been sent to the registered email address.
Thanks MT_dialog
Thank you
Hi MT_dialog:
你能给我一个例子吗NCS in SDK5 too?
Thanks.
Hi KeNT,
A mail is sent to the registered email address.
Thanks MT_dialog
Hi sanpo_brain,
Please dont post in Chinese, this is an English forum. You can post your question at the Chinese forum.
Thanks MT_dialog
你能送一个例子吗?code about ANCS application in SDK5 also to me, please.
Hi Nobu,
A mail is sent to the registered email address.
Thanks MT_dialog
Hi MT_dialog:
Could you give me an example about ANCS in SDK5 too?
Thanks.
Hi sanpo_brain,
A mail is sent to the registered email address.
Thanks MT_dialog
Thank you for a reply.
However, the email did not arrive.
Will you send it once again?
Hi sanpo_brain,
The mail is re-sent to the registered email address.
Thanks MT_dialog
I received it.
Thank you !
Hi 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?
Thank you.
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.
Thank you!
Hi MT_dialog
I execute a program in Sleep-Off, and can I switch to ExtendedSleep during processing?
In addition, is the reverse possible, too?
Please advise the timing and point if possible.
thank you.
Hi sanpo_brain,
Please dont post questions on irrelevant topics, you can always create a new post for your question.
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
Hi MT_dialog:
Could you give me an example about ANCS in SDK5 too?
Thanks.
Hi yuangang0101,
A mail is sent to the registered email address.
Thanks MT_dialog
Could you give me an example about ANCS in SDK5 too? Now I am going to change from the SDK3 to the SDK5, Thanks!
Hi Kingwheat,
A mail is send to the registered email address.
Thanks MT_dialog
Could you give me an example about ANCS in SDK5 too?
Hi Tomoyuki Doi,
A mail is sent to the registered email address.
Thanks MT_dialog
Hi dialog,
Could you give me an example about ANCS in SDK5 too?
Hi Michaelxiao,
A mail is sent to the registered email address.
Thanks MT_dialog
Hi Dialog ,
I'm working on ANCS porting , Could you please give the example code in SDK5 for me?
Hi DanHuang,
A mail is send to the registered email address.
谢谢mt_dialog.
Hi MT_dialog,
Could you please provide me tutorial/example/SDK for IOS ANCS?
Could you give me an example about ANCS in SDK5 too? Now I am going to change from the SDK3 to the SDK5.
Thanks!
Hi EdwinHsu,
We will get contact with you in the registered email address as soon as possible.
Thanks, PM_Dialog
Pages