Bluetooth: Add offset support to btshell gatt-write command
Bluetooth: Add offset support to btshell gatt-write command

This adds offset to gatt-write which can be used as following:

btshell> gatt-write 0011 0001 01
bt: gatt_prepare_write (0x0010f680): handle 0x0011 offset 1 len 1
Write pending
btshell> bt: bt_att_recv (0x00111918): Received ATT code 0x17 len 6
bt: att_handle_prepare_write_rsp (0x00111918):
bt: att_prepare_write_rsp (0x00111918): err 0x00
bt: gatt_exec_write (0x00111918):
bt: bt_att_recv (0x00111918): Received ATT code 0x19 len 1
bt: att_handle_exec_write_rsp (0x00111918):
bt: att_write_rsp (0x00111918): err 0x00
Write complete: err 0

Change-Id: I4d3c038ea572da92efe0de8ce426ffca15506440
Signed-off-by: Luiz Augusto von Dentz <8530c5ea66a1bdbc08f98bfcf183c8be901b5990@intel.com>

mirzak/zephyr-os,zephyriot/zephyr,bigdinotech/zephyr,fractalclone/zephyr-riscv,Vudentz/zephyr,GiulianoFranchetto/zephyr,sharronliu/zephyr,mirzak/zephyr-os,holtmann/zephyr,punitvara/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,pklazy/zephyr,punitvara/zephyr,coldnew/zephyr-project-fork,coldnew/zephyr-project-fork,GiulianoFranchetto/zephyr,finikorg/zephyr,fractalclone/zephyr-riscv,sharronliu/zephyr,sharronliu/zephyr,runchip/zephyr-cc3220,holtmann/zephyr,ldts/zephyr,Vudentz/zephyr,ldts/zephyr,runchip/zephyr-cc3220,tidyjiang8/zephyr-doc,erwango/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,mirzak/zephyr-os,zephyrproject-rtos/zephyr,32bitmicro/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,32bitmicro/zephyr,fractalclone/zephyr-riscv,galak/zephyr,mbolivar/zephyr,mirzak/zephyr-os,rsalveti/zephyr,kraj/zephyr,mbolivar/zephyr,32bitmicro/zephyr,finikorg/zephyr,bigdinotech/zephyr,tidyjiang8/zephyr-doc,runchip/zephyr-cc3220,explora26/zephyr,jamesonwilliams/zephyr-kernel,rsalveti/zephyr,punitvara/zephyr,aceofall/zephyr-iotos,erwango/zephyr,fbsder/zephyr,coldnew/zephyr-project-fork,bigdinotech/zephyr,holtmann/zephyr,explora26/zephyr,bboozzoo/zephyr,kraj/zephyr,holtmann/zephyr,explora26/zephyr,erwango/zephyr,Vudentz/zephyr,pklazy/zephyr,finikorg/zephyr,Vudentz/zephyr,32bitmicro/zephyr,fractalclone/zephyr-riscv,fbsder/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,erwango/zephyr,bigdinotech/zephyr,runchip/zephyr-cc3200,galak/zephyr,32bitmicro/zephyr,runchip/zephyr-cc3220,pklazy/zephyr,runchip/zephyr-cc3200,aceofall/zephyr-iotos,mbolivar/zephyr,aceofall/zephyr-iotos,explora26/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,kraj/zephyr,jamesonwilliams/zephyr-kernel,finikorg/zephyr,punitvara/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,jamesonwilliams/zephyr-kernel,bigdinotech/zephyr,explora26/zephyr,Vudentz/zephyr,pklazy/zephyr,zephyrproject-rtos/zephyr,zephyriot/zephyr,runchip/zephyr-cc3200,kraj/zephyr,galak/zephyr,sharronliu/zephyr,holtmann/zephyr,nashif/zephyr,coldnew/zephyr-project-fork,mirzak/zephyr-os,aceofall/zephyr-iotos,bboozzoo/zephyr,runchip/zephyr-cc3220,fbsder/zephyr,mbolivar/zephyr,bboozzoo/zephyr,zephyriot/zephyr,Vudentz/zephyr,sharronliu/zephyr,erwango/zephyr,fractalclone/zephyr-riscv,nashif/zephyr,aceofall/zephyr-iotos,galak/zephyr,tidyjiang8/zephyr-doc,tidyjiang8/zephyr-doc,pklazy/zephyr,rsalveti/zephyr,jamesonwilliams/zephyr-kernel,GiulianoFranchetto/zephyr,fbsder/zephyr,mbolivar/zephyr,ldts/zephyr,punitvara/zephyr,rsalveti/zephyr,kraj/zephyr,rsalveti/zephyr,bboozzoo/zephyr,runchip/zephyr-cc3200,nashif/zephyr,tidyjiang8/zephyr-doc,coldnew/zephyr-project-fork,fbsder/zephyr,bboozzoo/zephyr,jamesonwilliams/zephyr-kernel