Hi Jeff, On Tue, Jun 19, 2018 at 06:42:25PM +0000, Jeff Belz wrote: > All: > > I'm using a BroadCom(Cypress)43438 Bluetooth chip that receives a 4 > wire HCI. What would be a good example tutorial to use to just get > my BT actually advertising.
I would start with the "bleprph" app. This is a simple peripheral application that will advertise on startup. This page describes how to create a bleprph target: http://mynewt.apache.org/develop/tutorials/ble/bleprph/bleprph-sections/bleprph-app.html This app assumes you are using a combined-host-controller, so there is one change you'll need to make to use your external Broadcom controller. You need to set the following syscfg settings in your target: BLE_HCI_TRANSPORT_NIMBLE_BUILTIN: 0 BLE_HCI_TRANSPORT_UART: 1 You can do this using the newt command line tool as follows: newt target amend <target-name> syscfg=BLE_HCI_TRANSPORT_NIMBLE_BUILTIN=0:BLE_HCI_TRANSPORT_UART=1 Then run the target with: newt run <target-name> 0 If everything works, you should see a device named "nimble-bleprph" advertising. Note: you will also need to upload the Mynewt boot loader to your device if you haven't done so yet. See this page for help on how to do that: http://mynewt.apache.org/develop/tutorials/blinky/nRF52.html Chris
