Hi Then,

I have found that I need to run newtmgr as root when using ble (e.g.,
sudo newtmgr ...)

Chris

On Thu, Mar 16, 2017 at 05:22:01PM +0800, then yon wrote:
> Dear Support,
> 
> Anyone have answer on this?
> 
> Some updates on the newtmgr setting:
> 
> Connection profiles: BT01: type=ble, connstring='nimble-bleprph'
> 
> Whenever i sent newtmgr command i get the following:
> 
> 2017/03/16 17:11:35 dev: hci0 up 2017/03/16 17:11:35 dev: hci1 up Error: 
> no supported devices available
> 
> I'm using V2TEC Bluetooth dongle (Bus 001 Device 016: ID 0a12:0001 
> Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode))
> 
> Thank you.
> 
> Regards,
> 
> Then Yoong Ze
> 
> 
> On 10/3/2017 6:59 PM, then yon wrote:
> > Dear Support,
> >
> > After the being success to do image upgrade with slinky app, now i
> > moving forward to image upgrade through ble with bleprph example.
> >
> > With the target.yml as below:
> > ### Target: targets/split_slinky
> > target.app: "@apache-mynewt-core/apps/splitty"
> > target.bsp: "@apache-mynewt-core/hw/bsp/nrf52dk"
> > target.build_profile: "optimized"
> > target.loader: "@apache-mynewt-core/apps/bleprph"
> > target.syscfg: "BLE_LL_CFG_FEAT_LE_ENCRYPTION=0:BLE_SM_LEGACY=0"
> >
> > The problem is i do not get any newtmgr response in serial with this
> > example; and i can't detect any BT packet from bleprph example.
> >
> > if i changed the target.yml as below; i can detect bleprph advertising
> > packet:
> > ### Target: targets/split_slinky
> > target.bsp: "@apache-mynewt-core/hw/bsp/nrf52dk"
> > target.build_profile: "optimized"
> > target.app: "@apache-mynewt-core/apps/bleprph"
> > target.syscfg: "BLE_LL_CFG_FEAT_LE_ENCRYPTION=0:BLE_SM_LEGACY=0"
> >
> >
> > The command i used to detect ble advertising packet is "sudo hcitool
> > lescan --duplicates &"
> >
> >
> > Thank you.
> >
> > Regards,
> >
> > Then Yoong Ze
> >
> 

Reply via email to