summaryrefslogtreecommitdiff
path: root/samples/bluetooth/peripheral/prj_nble.conf
AgeCommit message (Collapse)Author
2017-01-28Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possibleJohan Hedberg
Instead of using a hard-coded string, make the sample use the Kconfig variable for the device name. Change-Id: Ib09f594e1cba221f9064318572bd90d38bd2733a Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-11-11Bluetooth: Kconfig: Restructure for a more logical hierarchyJohan Hedberg
Restructure the Bluetooth options more logically. - Both host and controller are now behind the same high level CONFIG_BLUETOOTH. - Selecting controller support disables other HCI driver selection, so the controller isn't in the same list as HCI drivers any more. - Under the top-level there's a "Custom stack" option, which when enabled opens up the option of choosing CONFIG_NBLE. There are various other cleanups and simplifications in this patch as well, since splitting these up would have been fairly tricky while making sure all test cases still build. Change-Id: I5bb715cb9d20201cb8b72fbd149c8a09a4b2d7d2 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-28Bluetooth: samples: Remove redundant CONFIG_ARC_INIT=nJohan Hedberg
CONFIG_ARC_INIT defaults to 'n' now days so there's no reason to try to explicitly disable it in the sample config files. Change-Id: I88df06ba23bdac697f0767384f7b88e3bd9fced9 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-06-06drivers/nble: Add buffer pool for prepare writesLuiz Augusto von Dentz
This is similar to previous patch which makes the API much more simple when handling long writes. Change-Id: Ibd3856863a43927195e23936872a160d5ff94648 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-06-01Bluetooth: Add support for using SYS_LOGLuiz Augusto von Dentz
This add CONFIG_BLUETOOTH_DEBUG_LOG which depends on SYS_LOG since the later can actually use either CONFIG_PRINTK or CONFIG_STDOUT_CONSOLE. Change-Id: Ib2974d1331f6c91d119a218ec95e8bf01069377b Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-04-20Bluetooth: Kconfig: Split debug selection into a choiceJohan Hedberg
This prepares for adding other debug types besides the printf-style logging to the console. Change-Id: Ic2ed305192491734da991c4f61fdaace03fd60f2 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-04-04samples/nble: Remove default driver debug for samplesAndrei Emeltchenko
CONFIG_BLUETOOTH_DEBUG_DRIVER provides too low level information to be useful for samples. Remove it from default settings. Change-Id: I9d99f9953d4e6b839eeb51ed393e4aed1eeeb01b Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2016-03-19drivers: bluetooth: nble: restructures Bluetooth Kconfig optionsDaniel Leung
This moves both the Bluetooth HCI and NBLE drivers under "Bluetooth Drivers" category. This also adds a selection for choosing Bluetooth stacks as the bulk of both HCI and NBLE stacks cannot be compiled together. Note that this does not move the source files. That should be done in a separate change. Change-Id: I32fa7097ada0fdc52bcc745adb78c7273f4023c6 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-11drivers/nble: Enable UART debug only if BLUETOOTH_DEBUG_DRIVER enabledAndrei Emeltchenko
This allows to decrease number debug messages using config option. Change-Id: I987d25c6d4b18503d6beb7feab97e9207100323d Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2016-02-10Bluetooth: peripheral: Make heart rate simulation more predictableLuiz Augusto von Dentz
sys_rand32_get appears to get stuck with same number for a while so instead just increment the heart rate by 1 until 160 and then return it back to 90. Change-Id: I2aea870c68539271a1bb6190a958a7e2d1914dc3 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-02-05Bluetooth: nble: Remove enabling debug by defaultAndrei Emeltchenko
Enabling BLUETOOTH_DEBUG enables also serial console conflicting with tester reusing the same UART. Change-Id: I8058a019e61146ff05cc44ab543cf6ec9ff418ef Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2016-02-05Bluetooth: samples/peripheral: Add missing TEST_RANDOM_GENERATORJohan Hedberg
Change-Id: I8e52ed05dbf52e48d1d98baaf854be26a60f0410 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05Bluetooth: Add support for testing nble driver with samplesLuiz Augusto von Dentz
This adds a test case that passes prj_nble.conf as CONF_FILE so that the same code tested using HCI Bluetooth driver is also tested using NBLE driver. Change-Id: Ia4ad59d74b82c02007c55ea4fa8f53833d7a7fe5 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>