d7e0294227
This adds a buffer for incoming prepare writes which can be tunned using BLUETOOTH_ATT_PREPARE_COUNT, these buffers are then used in execute write to commit the data thus making flush callback obsolete: [bt] [DBG] bt_att_recv: (0x001159c0)Received ATT code 0x16 len 50 [bt] [DBG] att_prepare_write_req: (0x001159c0)handle 0x0022 offset 0 [bt] [DBG] prep_write_cb: (0x001159c0)handle 0x0022 offset 0 [bt] [DBG] bt_att_recv: (0x001159c0)Received ATT code 0x16 len 34 [bt] [DBG] att_prepare_write_req: (0x001159c0)handle 0x0022 offset 45 [bt] [DBG] prep_write_cb: (0x001159c0)handle 0x0022 offset 45 [bt] [DBG] bt_att_recv: (0x001159c0)Received ATT code 0x18 len 2 [bt] [DBG] att_exec_write_req: (0x001159c0)flags 0x01 [bt] [DBG] write_cb: (0x001159c0)handle 0x0022 offset 0 [bt] [DBG] write_cb: (0x001159c0)handle 0x0022 offset 45 Change-Id: Iae071d7b4b5b042285952da57e3f7a853cf58afb Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
README | ||
prj.conf | ||
prj.mdef | ||
prj_nble.conf | ||
prj_nimble.conf | ||
testcase.ini |
README
First serial line is multiplexed with qemu monitor and bluetooth shell (btshell) is running there. Use help to check list of commands. For building shell with Nordic Bluetooth Low Energy stack (NBLE) use prj_nble.conf: $ make CONF_FILE=prj_nble.conf BOARD=arduino_101