Adding custom handler in BLE host mode with external MCU

Learn MoreFAQsTutorials

3 posts / 0 new
Last post
Nishal
Offline
Last seen:1 year 10 months ago
加入:2017-05-25 06:51
Adding custom handler in BLE host mode with external MCU

Hi Dialog team,

I am trying to understand how can I add custom handler to the empty_template_ext. Basically we have STM32 as external processor. We are using UART for communication between STM32 and DA14585 with GTL protocol. We want to operate BLE in scanner/observer mode

With the existing code, I could get BD Address, scan for nearby devices. Now to build the application, we are looking for some custom implementation. Say we want to send a command from STM32 to DA14585 to blink LED, read some GPIO status, how can I achieve this.

From what I understand, we need a custom task and task_id, may be an entry function which receives this message and execute. I am not sure if this is limited to profiles.

Please let me know if my understanding is right.

提前谢谢!

Device:
PM_Dialog
Offline
Last seen:一周14小时前
Staff
加入:2018-02-08 11:03
Hi Nishal,

Hi Nishal,

Thanks for your question on the forum. There isn’t any available reference application for this scope, but let me check it internally with the Team and I will get back to you as soon as possible.

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:一周14小时前
Staff
加入:2018-02-08 11:03
Hi Nishal,