-
-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event 'indicateconfirmed' added #2299
base: master
Are you sure you want to change the base?
Conversation
event 'indicateconfirmed' created. Raised upon reception of an 'BLE_GATTS_EVT_HVC' softdevice event. See https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.2.0/msc_inline_mscgraph_90.png for more info. This event can be used in the application to provide app-to-app data transfer reliability. Primarily added to prevent any buffer overflow or data loss between the server and client.
event 'indicateconfirmed' created. Raised upon reception of an 'BLE_GATTS_EVT_HVC' softdevice event. See https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.2.0/msc_inline_mscgraph_90.png for more info. This event can be used in the application to provide app-to-app data transfer reliability. Primarily added to prevent any buffer overflow or data loss between the server and client.
Thanks - so just to confirm: You have to use |
That's correct. It should allow for the user app (server side) to transmit reliably packets of data without worry of getting buffer overflow from the softdevice. |
Thanks - I guess from my point of view it'd be nice if this could call an event on the service itself, like we do for
I'd have thought you could pretty much copy the code for that... |
I totally agree with you, this would be fantastic if linked to a specific service. However, I already struggled at understanding how to expose this event globally, it will take me some time to understand how events could be linked to services. |
Thanks - ok, I'll take a look when I get a minute. I can't merge this at the moment anyway as it looks like it breaks the Microbit 1 build |
event 'indicateconfirmed' created. Raised upon reception of an 'BLE_GATTS_EVT_HVC' softdevice event.
See https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.2.0/msc_inline_mscgraph_90.png for more info.
This event can be used in the application to provide app-to-app data transfer reliability.
Primarily added to prevent any buffer overflow or data loss between the server and client.