diff --git a/ble/fit_main.c b/ble/fit_main.c index 6691b4eb94f4a8317720f4b418e1de14e1d410ec..11be9139a779d02a800855689091144f14c6b660 100644 --- a/ble/fit_main.c +++ b/ble/fit_main.c @@ -169,11 +169,9 @@ static const uint8_t fitAdvDataDisc[] = static const uint8_t fitScanDataDisc[] = { /*! device name */ - 4, /*! length */ + 7, /*! length */ DM_ADV_TYPE_LOCAL_NAME, /*! AD type */ - 'F', - 'i', - 't' + 'c','a','r','d','1','0' }; /************************************************************************************************** diff --git a/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/apps/fit/fit_main.c b/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/apps/fit/fit_main.c index bbae8e89d7d373b7e88e65b9af5a488f13819505..2c7d9dcad1b03f4b45edfb920cc659ac073bf077 100644 --- a/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/apps/fit/fit_main.c +++ b/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/apps/fit/fit_main.c @@ -168,11 +168,9 @@ static const uint8_t fitAdvDataDisc[] = static const uint8_t fitScanDataDisc[] = { /*! device name */ - 4, /*! length */ + 7, /*! length */ DM_ADV_TYPE_LOCAL_NAME, /*! AD type */ - 'F', - 'i', - 't' + 'c','a','r','d','1','0' }; /************************************************************************************************** diff --git a/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_dis.c b/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_dis.c index d274605976620738a4f613f9ac4fe77b547ddd1f..401c45e655bfbbb1a70f53e3319e7e33678e6c29 100644 --- a/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_dis.c +++ b/lib/sdk/Libraries/BTLE/stack/ble-profiles/sources/services/svc_dis.c @@ -34,40 +34,40 @@ #endif /*! Default manufacturer name */ -#define DIS_DEFAULT_MFR_NAME "ARM Ltd." +#define DIS_DEFAULT_MFR_NAME "CCC" /*! Length of default manufacturer name */ -#define DIS_DEFAULT_MFR_NAME_LEN 8 +#define DIS_DEFAULT_MFR_NAME_LEN 3 /*! Default model number */ -#define DIS_DEFAULT_MODEL_NUM "Cordio model num" +#define DIS_DEFAULT_MODEL_NUM "1" /*! Length of default model number */ -#define DIS_DEFAULT_MODEL_NUM_LEN 16 +#define DIS_DEFAULT_MODEL_NUM_LEN 1 /*! Default serial number */ -#define DIS_DEFAULT_SERIAL_NUM "Cordio serial num" +#define DIS_DEFAULT_SERIAL_NUM "1" /*! Length of default serial number */ -#define DIS_DEFAULT_SERIAL_NUM_LEN 17 +#define DIS_DEFAULT_SERIAL_NUM_LEN 1 /*! Default firmware revision */ -#define DIS_DEFAULT_FW_REV "Cordio fw rev" +#define DIS_DEFAULT_FW_REV "<git hash>" /*! Length of default firmware revision */ -#define DIS_DEFAULT_FW_REV_LEN 13 +#define DIS_DEFAULT_FW_REV_LEN 10 /*! Default hardware revision */ -#define DIS_DEFAULT_HW_REV "Cordio hw rev" +#define DIS_DEFAULT_HW_REV "1" /*! Length of default hardware revision */ -#define DIS_DEFAULT_HW_REV_LEN 13 +#define DIS_DEFAULT_HW_REV_LEN 1 /*! Default software revision */ -#define DIS_DEFAULT_SW_REV "Cordio sw rev" +#define DIS_DEFAULT_SW_REV "1" /*! Length of default software revision */ -#define DIS_DEFAULT_SW_REV_LEN 13 +#define DIS_DEFAULT_SW_REV_LEN 1 /************************************************************************************************** Service variables