Adding custom handler in BLE host mode with external MCU

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
Nishal
Offline
Last seen: 3 years 5 months ago
Joined: 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.

Thanks in advance!

Device: 
PM_Dialog
Offline
Last seen: 5 months 2 weeks ago
Staff
Joined: 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: 5 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi Nishal,