Commit f7bba75c authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

fix(ble): printing of BLE mac address

The mac Adress was printed in the wrong order, BLE stroes the MAC
address in LSB first mode, different from Ethernet which uses MSB first
mode.

Fixes: aece2960

 ("feat(ble): Add some log messages")
Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent bdd9e44e
......@@ -413,9 +413,9 @@ static void bleProcMsg(bleMsg_t *pMsg)
case DM_CONN_OPEN_IND:
connOpen = &pMsg->dm.connOpen;
LOG_INFO("ble", "connection from %02X:%02X:%02X:%02X:%02X:%02X opened",
connOpen->peerAddr[0], connOpen->peerAddr[1],
connOpen->peerAddr[2], connOpen->peerAddr[3],
connOpen->peerAddr[4], connOpen->peerAddr[5]);
connOpen->peerAddr[5], connOpen->peerAddr[4],
connOpen->peerAddr[3], connOpen->peerAddr[2],
connOpen->peerAddr[1], connOpen->peerAddr[0]);
BasProcMsg(&pMsg->hdr);
uiEvent = APP_UI_CONN_OPEN;
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment