how ke_msg_send works and what to do to send 2 messages consecutively

⚠️
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//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
marios256
Offline
Last seen:1 year 9 months ago
Joined:2017-10-30 09:36
how ke_msg_send works and what to do to send 2 messages consecutively

Good morning Dialog,
我目前使用da14585发送我的暴徒ile. I noticed that the command ke_msg_send sends the data to the kernel, and then the kernel is responsible for sending the data to my mobile phone. So, if I write this command 2 times or more in a row, I will get only the latter. What should i do between those ke_msg_send commands in order to send all of them?
Thank you in advance

Device:
MT_dialog
Offline
Last seen:2 months 3 days ago
Staff
Joined:2015-06-08 11:34
Hi marios256,

Hi marios256,

The ke_msg_send is the general message for sending data towards the kernel of the stack, so what exactly is the message that you send, i assume that it is the CUSTS1_VAL_NTF_REQ and you would like to send data to your phone. Well as described in this posthttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...you will have to wait for the CUSTS1_VAL_NTF_CFM to arrive before sending the next notification for the same characteristic, if not you will update the value's database with the latter value and when the kernel pushes the notification into the buffer it will push two notifications with the same value, since the values of the notifications are aquired from the database.

Thanks MT_dialog