Stop low energy advertisements.
Synopsis:
#include <btapi/btle.h>
int bt_le_stop_advertisement()
Arguments:
Library:
libbtapi (For the qcc command, use the -l btapi option to link against this library)
Returns:
EOK on successful stop of low energy advertisements,
-1 if an error occurred with the
errno value set. These are some of the error codes that can be returned:
- EAGAIN: The link to the Bluetooth stack is unavailable. You can try again.
- EBUSY: The stack is currently busy or there is an active connection or connection request.
- ESRVRFAULT: An internal error has occurred.