Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of d7a_1x by
Diff: src/d7a_modem.cpp
- Revision:
- 55:5ea18a3a01b9
- Parent:
- 50:30440c9aeb7c
- Child:
- 56:da34fc11e760
--- a/src/d7a_modem.cpp Tue Sep 06 15:49:19 2016 +0000 +++ b/src/d7a_modem.cpp Wed Sep 07 09:32:01 2016 +0000 @@ -224,7 +224,8 @@ } else if (cmd == WM_BOOT) { - WARNING(false, "Modem booted CAUSE:%d NB_BOOT:%d\r\n", pkt->buffer[1], ((uint16_t)pkt->buffer[4])<<8 & pkt->buffer[3]); + boot_status_t* bs = (boot_status_t*)&(pkt->buffer[1]); + WARNING(false, "Modem booted CAUSE:%d NB_BOOT:%d\r\n", bs->bf.cause, bs->bf.nb_boot); if (g_modem_ctx.booted == true) {