Im trying to use the https://github.com/apache/mynewt-mcumgr-cli project to update my rfF54L15 with a DFU package
Setup: Raspberry PI 4 and and nrF52840 USB Dongle
I have verified that the mobile app nRFConnect on Android, was able to connect to the device and update it
I have cloned the project and build it on the RPI, but it will not connect and make basic mcumgr commands
Steps( I have tried):
- git clone https://github.com/apache/mynewt-mcumgr-cli.git
- cd mynewt-mcumgr-cli/mcumgr
- sudo apt install golang -y
- go build -o mcumgr
- sudo mv mcumgr /usr/local/bin/
- mcumgr --help
- sudo mcumgr -i 0 --conntype ble --connstring 'mac=EC:D4:E7:DE:07:9A' image list
Error: Failed to connect to peer after 10s
Where able to locate the device with:
- bluetoothctl
[bluetooth]# scan on
Discovery started
[CHG] Controller E4:5F:01:BB:9D:E0 Discovering: yes
[NEW] Device 78:7B:37:92:01:79 78-7B-37-92-01-79
[NEW] Device EC:D4:E7:DE:07:9A Lucid
[NEW] Device 05:FC:2C:D8:83:C6 05-FC-2C-D8-83-C6
Where able to get info on it
[bluetooth]# info EC:D4:E7:DE:07:9A
Device EC:D4:E7:DE:07:9A (random)
Name: Lucid
Alias: Lucid
Paired: no
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
UUID: Vendor specific (27831530-33ee-9b9c-124d-109d6b0c0a91)
ManufacturerData Key: 0x0367
ManufacturerData Value:
00 12 00 00 ....
RSSI: -54
So the RPI is able to see the device using the integrated bluetoth stack but not mcumgr.
Do you have any suggestions
Best Regards
Tommy F Kristensen