zephyr/include
Johan Hedberg 8f1541184f Bluetooth: Mesh: Fix non-periodic Model Publication
The only generally available model supporting publication that's
convenient to be used for testing is the Health Server Model.
Unfortunately since this model supports period publication, the
non-periodic side got less attention and had some bugs.

The first thing that needs to be done is to verify that the period
returned by bt_mesh_model_pub_period_get() is positive. If it's zero
then no periodic publication should take place.

Another thing that this patch cleans up is the naming of the callback
used for periodic publishing. There's no need do require the callback
to call bt_mesh_model_publish() since this must happen no matter what,
so instead rename the callback from 'func' to 'update' and have the
access layer call bt_mesh_model_publish() if the callback was
successful.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-11-22 12:53:54 +02:00
..
arch arm: implement API to validate user buffer 2017-11-17 19:01:11 -05:00
bluetooth Bluetooth: Mesh: Fix non-periodic Model Publication 2017-11-22 12:53:54 +02:00
crypto crypto: Remove useless attribute 2017-04-27 13:06:31 +00:00
debug object_tracing: fix definition 2017-08-16 10:59:10 -07:00
dfu DFU: add module for store the image 2017-09-11 11:37:43 -04:00
display doc: APIs: group display drivers 2017-11-17 17:14:18 -05:00
drivers jailhouse: add support for x2APIC mode for all LOAPIC accesses 2017-11-07 08:58:49 -05:00
dt-bindings clock_control: Introduce mcux ccm driver 2017-11-15 09:09:58 -06:00
fs subsys: fs: consolidate elm FAT kconfig options 2017-10-03 08:43:50 -04:00
linker linker: use UTIL_LISTIFY macro for dealing with .a files 2017-11-08 20:00:22 -05:00
logging cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
misc stack_unused_space_get: account for sentinel 2017-11-14 10:39:16 -08:00
net net: sockets: Support ipv6 wildcard and loopback address 2017-11-20 13:42:38 +02:00
random subsys: Add random subsystem 2017-11-01 08:26:29 -04:00
shell shell: Add optional command description 2017-11-15 07:51:02 +02:00
toolchain syscalls: REVERTME: clean up warnings when building unit tests 2017-11-15 19:09:12 -05:00
usb include: usb: remove cdc_acm.h 2017-11-07 15:31:02 -05:00
zephyr Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
adc.h drivers: adc: add system call handlers 2017-10-30 13:20:19 -07:00
aio_comparator.h drivers: aio_comparator: add system calls 2017-10-30 13:20:19 -07:00
atomic.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cache.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
clock_control.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
console.h doc: fix misspellings in include (API docs) 2017-08-10 12:22:19 -04:00
counter.h drivers: counter: add syscall handlers 2017-10-30 13:20:19 -07:00
crc16.h drivers: crc: Add 'pad' parameter to crc16() 2017-08-17 22:19:19 -04:00
device.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
disk_access.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
dma.h drivers: dma: remove deprecated API functions 2017-09-22 07:50:20 -04:00
entropy.h drivers: Rename random to entropy 2017-11-01 08:26:29 -04:00
eth.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
flash.h drivers: flash: fix doxygen use of "sector" 2017-11-15 13:10:56 -06:00
fs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio.h drivers: gpio: deprecate GPIO_PIN_ENABLE, GPIO_PIN_DISABLE 2017-11-02 18:46:30 -04:00
i2c.h drivers: i2c: add system call handlers 2017-10-30 13:20:19 -07:00
i2s.h doc: replace UTF-8 chars 2017-10-03 20:03:57 -04:00
init.h kernel: remove deprecated init levels 2017-04-07 17:45:34 +00:00
ipm.h drivers: ipm: add system calls 2017-10-30 13:20:19 -07:00
irq_offload.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
irq.h irq.h: include generic toolchain header 2017-08-16 10:59:10 -07:00
json.h lib: json: move json.h to include/ 2017-10-03 14:50:14 -04:00
kernel_version.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
kernel.h poll: k_poll: Document -EINTR return 2017-11-21 06:54:51 -05:00
led_strip.h drivers: led_strip: add public API for addressable LED strips 2017-10-28 13:23:30 -04:00
pinmux.h drivers: pinmux: add system call handlers 2017-10-30 13:20:19 -07:00
power.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
pthread.h kernel: POSIX thread IPC support 2017-08-15 19:42:07 -04:00
pwm.h drivers: pwm: add system call handlers 2017-10-30 13:20:19 -07:00
rtc.h drivers: rtc: add system calls 2017-10-30 13:20:19 -07:00
sensor.h cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
shared_irq.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
spi_legacy.h api: New SPI API 2017-05-19 18:52:25 -04:00
spi.h drivers: spi: add system call handlers 2017-10-30 13:20:19 -07:00
sw_isr_table.h sw_isr_table.h: fix includes 2017-10-27 16:08:54 -04:00
sys_clock.h kernel: tickless: Add tickless kernel support 2017-04-27 13:46:28 +00:00
sys_io.h sys_io.h: don't pull in kernel.h 2017-11-02 13:25:01 -07:00
syscall.h kernel: allow system call with 64-bit return val 2017-10-12 16:25:00 -07:00
toolchain.h xtensa: move byte-order macros out of arch.h 2017-05-11 12:47:23 -04:00
uart.h drivers: uart: add system call handlers 2017-10-30 13:20:19 -07:00
watchdog.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
zephyr.h kernel: remove legacy.h and MDEF support 2017-04-19 10:59:35 -05:00