On Mon, Jan 23, 2017 at 08:36:40PM -0700, Jacob Rosenthal wrote:
> Anybody used the ble transport for newtmgr image update? Im told it doesnt
> work in osx, anyone have a link to an open issue?
There isn't an open issue for this, but we're working on a fix. Newtmgr
uses a library called "gatt" for BLE. This library is ported to both
linux and MacOS, but it hasn't worked in MacOS for a while. The library
does some OS hacking to take control of the BLE controller, and MacOS
seems to have since changed in a non-backwards-compatible way. The
solution being worked on removes the gatt library entirely.
Upload over BLE should work in Linux. I believe the gatt library
require that you stop the bluetooth daemon, but I don't recall for sure.
I don't have a suitable machine available right now to test it, but I
can check the setup tomorrow. In the meantime, you might try stopping
the bluetooth daemon to see if that works ("sudo /etc/init.d/bluetooth
stop" in my distro; not sure if this varies by distro).
> I havent gotten in linux docker or native yet either.
>
> nrf51 16kbram, bleloader with splitty app, all upstream sources, newtmgr
> with serial confirmed working
>
> dfu service is advertised and present.. though only while in loader, not
> while in app? Is this normal?
What is the DFU service?
Chris