Skip to content
Snippets Groups Projects
Commit 7e48d60f authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

BLE: FileTrans: Remove read callback


We do not use the read callback, so remove it.

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent c345e132
No related branches found
No related tags found
1 merge request!181Ble file trans const init
......@@ -402,20 +402,8 @@ static uint8_t writeCallback(
}
}
static uint8_t readCallback(
dmConnId_t connId,
uint16_t handle,
uint8_t operation,
uint16_t offset,
attsAttr_t *pAttr
) {
LOG_ERR("filetrans", "read callback\n");
return ATT_SUCCESS;
}
static attsGroup_t fileTransCfgGroup = {
.pAttr = (attsAttr_t *)fileTransCfgList,
.readCback = readCallback,
.writeCback = writeCallback,
.startHandle = FILE_TRANS_START_HDL,
.endHandle = FILE_TRANS_END_HDL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment