zephyr/samples/bluetooth/beacon
Kumar Gala 789081673f Introduce new sized integer typedefs
This is a start to move away from the C99 {u}int{8,16,32,64}_t types to
Zephyr defined u{8,16,32,64}_t and s{8,16,32,64}_t.  This allows Zephyr
to define the sized types in a consistent manor across all the
architectures we support and not conflict with what various compilers
and libc might do with regards to the C99 types.

We introduce <zephyr/types.h> as part of this and have it include
<stdint.h> for now until we transition all the code away from the C99
types.

We go with u{8,16,32,64}_t and s{8,16,32,64}_t as there are some
existing variables defined u8 & u16 as well as to be consistent with
Zephyr naming conventions.

Jira: ZEP-2051

Change-Id: I451fed0623b029d65866622e478225dfab2c0ca8
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-20 16:07:08 +00:00
..
src Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README.rst doc: add labels to bluetooth sample docs 2017-04-04 19:51:27 +00:00
prj.conf Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
prj_nble.conf Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible 2017-01-28 08:43:41 +02:00
testcase.ini Bluetooth: samples: Limit tests to just qemu platforms 2016-10-28 20:15:01 +00:00

README.rst

.. _bluetooth-beacon-sample:

Bluetooth: Beacon
#################

Overview
********

A simple application demonstrating the BLE Broadcaster role functionality by
advertising an Eddystone URL (the Zephyr website).



Requirements
************

* BlueZ running on the host, or
* A board with BLE support

Building and Running
********************

This sample can be found under :file:`samples/bluetooth/beacon` in the
Zephyr tree.

See :ref:`bluetooth setup section <bluetooth_setup>` for details.