fix #29: support getVersion for v8 of the softdevice.

This commit is contained in:
Rohit Grover 2015-07-29 12:08:55 +01:00
parent 723c701b95
commit 6cdf4e12e0

View file

@ -56,6 +56,7 @@ const char *nRF5xn::getVersion(void)
if ((sd_ble_version_get(&version) == NRF_SUCCESS) && (version.company_id == 0x0059)) {
switch (version.version_number) {
case 0x07:
case 0x08:
snprintf(versionString, sizeof(versionString), "Nordic BLE4.1 fw:%04x", version.subversion_number);
break;
default: