Skip to content

Instantly share code, notes, and snippets.

@flaviops
Created October 5, 2018 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flaviops/2ad19f8aab1f1f2a05a3d8030a21389b to your computer and use it in GitHub Desktop.
Save flaviops/2ad19f8aab1f1f2a05a3d8030a21389b to your computer and use it in GitHub Desktop.
Command:
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' -t 60 image test 4a9fab74e71499df7dfe71c605852a5e63d794920a705e264d980f7374873166 -ldebug
Debug information:
DEBU[2018-10-05 14:36:18.912] Using connection profile: name=unnamed type=ble connstring=ctlr_name=hci0,peer_name=Zephyr
DEBU[2018-10-05 14:36:19.12] {add-oic-listener} [transceiver.go:64] token=[]
DEBU[2018-10-05 14:36:19.12] Connecting to peer
DEBU[2018-10-05 14:36:19.429] Exchanging MTU
DEBU[2018-10-05 14:36:19.442] Exchanged MTU; ATT MTU = 252
DEBU[2018-10-05 14:36:19.442] Discovering profile
DEBU[2018-10-05 14:36:19.592] Subscribing to NMP response characteristic
DEBU[2018-10-05 14:36:19.607] {add-nmp-listener} [bll_sesn.go:415] seq=66
DEBU[2018-10-05 14:36:19.608] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:66 Id:0}} Hash:[74 159 171 116 231 20 153 223 125 254 113 198 5 133 42 94 99 215 148 146 10 112 94 38 77 152 15 115 116 135 49 102] Confirm:false} to:
00000000 a2 67 63 6f 6e 66 69 72 6d f4 64 68 61 73 68 58 |.gconfirm.dhashX|
00000010 20 4a 9f ab 74 e7 14 99 df 7d fe 71 c6 05 85 2a | J..t....}.q...*|
00000020 5e 63 d7 94 92 0a 70 5e 26 4d 98 0f 73 74 87 31 |^c....p^&M..st.1|
00000030 66 |f|
DEBU[2018-10-05 14:36:19.608] Encoded:
00000000 02 00 00 31 00 01 42 00 a2 67 63 6f 6e 66 69 72 |...1..B..gconfir|
00000010 6d f4 64 68 61 73 68 58 20 4a 9f ab 74 e7 14 99 |m.dhashX J..t...|
00000020 df 7d fe 71 c6 05 85 2a 5e 63 d7 94 92 0a 70 5e |.}.q...*^c....p^|
00000030 26 4d 98 0f 73 74 87 31 66 |&M..st.1f|
DEBU[2018-10-05 14:36:19.609] Tx NMP request: 00000000 02 00 00 31 00 01 42 00 a2 67 63 6f 6e 66 69 72 |...1..B..gconfir|
00000010 6d f4 64 68 61 73 68 58 20 4a 9f ab 74 e7 14 99 |m.dhashX J..t...|
00000020 df 7d fe 71 c6 05 85 2a 5e 63 d7 94 92 0a 70 5e |.}.q...*^c....p^|
00000030 26 4d 98 0f 73 74 87 31 66 |&M..st.1f|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment