Mesh_blob_transfer_server_api#

BT Mesh BLOB Transfer Server user-overridable API

Functions#

void
sl_btmesh_blob_transfer_server_transfer_start(sl_bt_uuid_64_t const *const blob_id)
void
sl_btmesh_blob_transfer_server_transfer_progress(sl_bt_uuid_64_t const *const blob_id, float progress)
void
sl_btmesh_blob_transfer_server_transfer_done(sl_bt_uuid_64_t const *const blob_id)
void
sl_btmesh_blob_transfer_server_transfer_abort(sl_bt_uuid_64_t const *const blob_id)

Function Documentation#

sl_btmesh_blob_transfer_server_transfer_start#

void sl_btmesh_blob_transfer_server_transfer_start (sl_bt_uuid_64_t const *const blob_id)
Parameters
TypeDirectionArgument NameDescription
sl_bt_uuid_64_t const *const[in]blob_id

Identifier of BLOB to be transferred

Called when starting BLOB transfer


sl_btmesh_blob_transfer_server_transfer_progress#

void sl_btmesh_blob_transfer_server_transfer_progress (sl_bt_uuid_64_t const *const blob_id, float progress)
Parameters
TypeDirectionArgument NameDescription
sl_bt_uuid_64_t const *const[in]blob_id

Identifier of the BLOB being transferred

float[in]progress

Progress in floating point percentage

Called when new block is started

Note

  • Progress is incremented on a chunk basis, but user callback is called on block basis to avoid too frequent calls.


sl_btmesh_blob_transfer_server_transfer_done#

void sl_btmesh_blob_transfer_server_transfer_done (sl_bt_uuid_64_t const *const blob_id)
Parameters
TypeDirectionArgument NameDescription
sl_bt_uuid_64_t const *const[in]blob_id

Identifier of BLOB transferred

Called when BLOB transfer is done


sl_btmesh_blob_transfer_server_transfer_abort#

void sl_btmesh_blob_transfer_server_transfer_abort (sl_bt_uuid_64_t const *const blob_id)
Parameters
TypeDirectionArgument NameDescription
sl_bt_uuid_64_t const *const[in]blob_id

Identifier of BLOB being transferred

Called when BLOB transfer is aborted


sl_btmesh_blob_transfer_server_storage_full#

void sl_btmesh_blob_transfer_server_storage_full (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

Called when BLOB storage signals it's full