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.
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of nRF51822 by
Diff: source/nRF5xn.cpp
- Revision:
- 403:92d6b4c7bf14
- Parent:
- 402:448a564f5c9e
--- a/source/nRF5xn.cpp Fri Aug 07 15:57:07 2015 +0100 +++ b/source/nRF5xn.cpp Fri Aug 07 15:57:07 2015 +0100 @@ -56,10 +56,11 @@ if ((sd_ble_version_get(&version) == NRF_SUCCESS) && (version.company_id == 0x0059)) { switch (version.version_number) { case 0x07: - snprintf(versionString, sizeof(versionString), "Nordic BLE4.1 fw:%04x", version.subversion_number); + case 0x08: + snprintf(versionString, sizeof(versionString), "Nordic BLE4.1 ver:%u fw:%04x", version.version_number, version.subversion_number); break; default: - snprintf(versionString, sizeof(versionString), "Nordic (spec unknown) fw:%04x", version.subversion_number); + snprintf(versionString, sizeof(versionString), "Nordic (spec unknown) ver:%u fw:%04x", version.version_number, version.subversion_number); break; } versionFetched = true;