zephyr/samples/bluetooth
Jukka Rissanen bd3908b2a9 net: nbuf: Add timeout to net_buf getters
This commit changes the net_buf getter functions in nbuf.h
by adding a timeout parameter. These function prototypes
are changed to accept a timeout parameter.
	net_nbuf_get_rx()
	net_nbuf_get_tx()
	net_nbuf_get_data()
	net_nbuf_get_reserve_rx()
	net_nbuf_get_reserve_tx()
	net_nbuf_get_reserve_data()
	net_nbuf_copy()
	net_nbuf_copy_all()
	net_nbuf_push()
	net_nbuf_append()
	net_nbuf_write()
	net_nbuf_insert()

Following convinience functions have not been changed
	net_nbuf_append_u8
	net_nbuf_append_be16
	net_nbuf_append_be32
	net_nbuf_insert_u8
	net_nbuf_insert_be16
	net_nbuf_insert_be32
	net_nbuf_write_u8
	net_nbuf_write_be16
	net_nbuf_write_be32
so they call the base function using K_FOREVER. Use the
base function if you want to have a timeout when net_buf
is allocated.

Change-Id: I20bb602ffb73069e5a02668fce60575141586c0f
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2017-02-08 10:12:35 +02:00
..
beacon Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
central doc: update bluetooth samples with pointers 2017-01-26 20:02:35 +00:00
central_hr doc: update bluetooth samples with pointers 2017-01-26 20:02:35 +00:00
eddystone Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
gatt Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
handsfree Bluetooth: Kconfig: Make device name variable generic 2017-01-28 08:43:41 +02:00
hci_uart doc: update bluetooth samples with pointers 2017-01-26 20:02:35 +00:00
hci_usb doc: update bluetooth samples with pointers 2017-01-26 20:02:35 +00:00
ipsp net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
peripheral Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
peripheral_csc Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
peripheral_dis Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
peripheral_esp Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
peripheral_hids Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
peripheral_hr Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
peripheral_sc_only Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
bluetooth.rst Bluetooth: Move Bluetooth docs to rst 2017-01-24 17:58:59 +00:00