This function is used to return the new advertisement intervals when invoke occurs with action "bb.action.bluetooth.ADVERTCHANGE".
#include <btapi/btle.h>
int bt_le_invoke_decode_advert_changed(const char *invoke_dat, int invoke_len, uint16_t *intervalMin, uint16_t *intervalMax)
BlackBerry 10.3.0
The data that is provided by the invoke interface.
The length of the data provided by the invoke interface.
Returns the current minimum advertisement interval. Time = N * 0.625 msec.
Returns current maximum advertisement interval. Time = N * 0.625 msec.
The data being provided must have the mime-type of "application/vnd.blackberry.bluetooth.advertchange". You must call bt_le_init() before calling this function.