Re: bleuart example causes crash

2017-01-23 Thread Lm Chew
o: dev@mynewt.incubator.apache.org Subject: Re: bleuart example causes crash Hi Chew, It looks like the problem is a broken task handler. In bleuart's main.c, the bleuart_task_handler() function should call os_eventq_run() in an infinite loop, but it only calls it once. Marko just fixed th

Re: bleuart example causes crash

2017-01-23 Thread Christopher Collins
Hi Chew, It looks like the problem is a broken task handler. In bleuart's main.c, the bleuart_task_handler() function should call os_eventq_run() in an infinite loop, but it only calls it once. Marko just fixed this bug in develop with his default task changes. Chris On Fri, Jan 20, 2017 at

Re: bleuart example causes crash

2017-01-20 Thread Christopher Collins
On Fri, Jan 20, 2017 at 09:41:24AM +, Lm Chew wrote: > Hi, > > > Does any one have problem running the bleuart example? > > When I run it, it crashes in the end with Unhandled interrupt error. (I am > using bmd300eval) > I got the following debug output: It has been quite a while since I

bleuart example causes crash

2017-01-20 Thread Lm Chew
Hi, Does any one have problem running the bleuart example? When I run it, it crashes in the end with Unhandled interrupt error. (I am using bmd300eval) I got the following debug output: 0:[ts=0ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x03 len=0 2:[ts=15624ssb, mod=4 level=0]