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 170316-01_BluNode_V4_lala by
Revision 6:10f8da2a23f6, committed 2017-02-04
- Comitter:
- tgiacaman
- Date:
- Sat Feb 04 18:51:08 2017 +0000
- Parent:
- 5:c3b6627770ee
- Child:
- 7:d2c5fe41fdec
- Commit message:
- a
Changed in this revision
| Source/BluNodeMain.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Source/BluNodeMain.cpp Sat Feb 04 18:34:17 2017 +0000
+++ b/Source/BluNodeMain.cpp Sat Feb 04 18:51:08 2017 +0000
@@ -46,7 +46,7 @@
//-- Definitions - Parameters
//------------------------------------------------------------------------------
-const static char DEVICE_NAME[] = "BluNode06";
+const static char DEVICE_NAME[] = "BluNode";
#define COMPANY_ID 0x0102
//------------------------------------------------------------------------------
@@ -57,7 +57,8 @@
bool isConnected=false;
int advActivePeriod;
int sleepActivePeriod;
-uint8_t AdvData[] = {
+
+static uint8_t AdvData[] = {
(COMPANY_ID & 0xFF),
((COMPANY_ID >> 8) & 0xFF),
0x03,
@@ -74,12 +75,7 @@
0x14,
0x15,
0x16,
- 0x17,
- 0x18,
- 0x19,
- 0x20,
- 0x21,
- 0x22
+ 0x17
};
static int value0,value1,value2,value3; // stored voltage reading from ADC
