andrzej-kaczmarek commented on issue #1145: Can't program central module via Mac OS URL: https://github.com/apache/mynewt-core/issues/1145#issuecomment-392696411 so as you can see it stops on an assert in following function: ``` 468 static void 469 ble_hs_event_start(struct os_event *ev) 470 { 471 int rc; 472 473 rc = ble_hs_start(); 474 assert(rc == 0); 475 } ``` the only reason why `ble_hs_start()` can return an error is when `ble_gatts_start()` returns an error which usually occurs due to out of free memory. so the quickest solution here would be to step through `ble_gatts_start()` with debugger and see where it fails. also, if the same code works fine on Linux I suspect there is difference in either Mynewt version (on Mac you clearly have 1.3.0) or target configuration (`newt target config show <target>`) so you should also check for differences there.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
