嗨支持团队,
我用活动模式修改了模板样本128,它运行良好。我将其更改为在da14580_config中的#define cfg_ext_sleep扩展睡眠模式。它有效,但与闪烁或我的应用连接时,它会破坏。但它可以重新扫描。我的问题:
1. for ext_sleep, it's ok for only define CFG_EXT_SLEEP or need to set the timer to week it up? I supposed that the ble stack can weak it up. If need to setup others, please advise or have any examples. For advertising data, it will send more bytes which need to set advertising interval acclrdingly ?
2. I tried peoximity report, it works on basic DVB, but it always breaks when burnt onto my board (using eeprom). Is it conflicted by button definition or something else?
请指教,
谢谢

嗨,亚历克斯,
我们将注意您的问题并尽快回答。
此致,
RvA (Dialog)
嗨,亚历克斯,
对于扩展睡眠模式,唯一要做的设置是:#define cfg_ext_sleep。DA14580将在广告间隔期间自动转到此模式。为了使DA14580进入睡眠模式,您必须先停止广告。EEPROM不会带来任何与DA14580的冲突。有关更多信息,请参阅应用笔记AN-B-023。
最好的问候,RVA(对话)
谢谢RVA。
I also only set: #define CFG_EXT_SLEEP. I want DA14580 to go to extend sleep mode automatically during the advertising interval. But the app is disconnected when I got into CONNECTION. I didn't stop advertising, which is automatically processed by stack or I have to do it, and how?
Is it needed to set proper parameters of max and min advertising/connection interval?
谢谢,
Any comments and advice?
广告和连接,我认为the ble stack handle it directly and not need user to set its advetising stop or start, please conform.
期待您的来信,
谢谢!
嗨,亚历克斯,
Yes that is correct. This is all handled by the BLE stack and no user application actions are required.
最好的问候,RVA(对话)
嗨RVA,
I did the same, and tried again. I can use light blue to find my device, and can connected, but it will be broken for a while and reported the data slate...
我的advinteval和con_interval不得更改如下:
1. ADV_DATA_TAG_LEN = 28
SCAN_RESP_DATA_TAG_LEN =10
2.在App.h中,在本地地址类型中
#define APP_ADV_INT_MIN 1100;
#define app_adv_int_max 1100;
3. in app_template_project.c, in function app_configuration_func ()
cmd->con_intv_min = 8;
cmd->con_intv_max= 16;
cmd-> con_superv_to = 100;
请帮助验证这些参数是否错误?
谢谢,
我更改了con_intv_min和_max,但无法修复它。该应用程序仍然报告了断开连接的数据Slate,外设断开连接....
有时连接后很快破裂,有时可以进入SEVICE一段时间(10-20s)然后断开连接。睡觉时是否有冲突?请指教。
谢谢,
嗨,亚历克斯,
您是否使用了我们的一个DVK?你还能检查浅蓝色的RSSI值吗?
我会检查参数。
此致,
RVA(对话)
嗨RVA,
Yes, I used DA14580EVKT-B, 078_30_B.
RSSI大约50次呈浅蓝色显示。为了避免,可以通过浅蓝色扫描并始终扫描。但有时不能cpnnected,有时不是。连接时,它可以持续大约10-20秒用于最大化。扫描。
我用同样的evk来运行私人reporr,它运作良好。
By the way, I used ble timers for date update which can be affacted tp break connections?
谢谢,
任何想法?
嗨,亚历克斯,
在我与申请团队咨询后,我会尽快回复您。雷竞技安卓下载谢谢,最好的问候,
RVA(对话)
嗨,亚历克斯,
您使用的是哪个项目?
if you use the project out of the box, it should work. in case you change the data length and scan response length, you must fill in these 2 structures too.
这是根据使用的项目的不同文件完成。
Setup the connection interval will ot help. This is setup from the Central. In order to have a conenction interval from Peripheral, the peripheral must send a parameter update request to the Central first.
此致,
RVA(对话)
谢谢RVA,
我使用的项目是fh_project_template.uvproj,sample128。SDK VELTION为3.2.0.1。
我将app_add_data_len更改为0,App_scnrsp_data_length留在文件app_template_proj.h中的9(orginal)。请建议,这就是你所说的填写2种结构?
Setting up connection interval, please advise more specifically. whatever I modified it or not, it seems not to solve the problem. Also let me know how to send the parameter update to central!
I reviewed and followed proximity reporter_fh. Using Light Blue, reporter_fh works well, but my code always disconnected by peripheral everytime after connecting. Light Blue reported that the peripheral disconnected. The bad thing is that debug doesn't work for sleep mode. Iused to characteristics for data update with Read and Notify. After removing Notify and remove app_ timer_set, it can't fix the problem either.
谢谢。
Dear Joaquin,
我想知道你是否有关于这个的任何其他想法,我在SDK5.0.3中的BLE_APP_PERITED演示版中定义了扩展的睡眠模式,而我可以看到更新的广告数据,我仍然无法连接到设备并获得一个每次尝试时,我的BLE扫描仪的GATT错误。
最好的祝愿,
Thomas
托马堡顿,
Have you tried to connect with a different ble android application ? When the device isn't in sleep mode are you able to connect with a central ? i cant see any reason why not being able to connect with a ble_example project, since its advertising you should be able to connect, unless if the device advertises for a small period and then stalls (while the system starts, the device doesn't fall in sleep mode immidiatelly but waits for a couple of seconds). So perhaps the device is advertising while awake so you can track it, but its not there anymore after that 2 seconds delay so you cant issue a connection. You can check this via smart snippets or you can refresh your scanning screen on the phone and check if the device is still there (some applications keep devices even if they are not present). The reason for not being able to wake up is probably the selection of your low power clock, all the reference designs and examples have the XTAL32 if you are in buck mode and with no XTAL you should select the RCX. Apart from the above check if your are advertising in non-connectable mode (you have changed the app_ble_peripheral) and also check if the app_on_conection function is triggered.
谢谢MT_dialog
嗨mt_dialog,
Thank you for your reply. I went back to the app_ble_peripheral demo and just set that to extended_sleep and that worked fine, eventually tracked it down to an i2c bus error when the device was waking up to connect. Thanks for your help,
Thomas