Dreamforce 2015 BLE-based mDS HeartRate Monitor Endpoint
Dependencies: GroveEarbudSensor mbed mbedConnectorInterface mbedEndpointNetwork_BLE
Diff: main.cpp
- Revision:
- 49:1588c1faba50
- Parent:
- 48:7f6d4f9cadd0
- Child:
- 50:fafad6450269
diff -r 7f6d4f9cadd0 -r 1588c1faba50 main.cpp --- a/main.cpp Tue Sep 01 15:24:55 2015 +0000 +++ b/main.cpp Fri Sep 04 21:04:23 2015 +0000 @@ -44,14 +44,13 @@ LightResource light(&logger,"311/0/5850"); // My Endpoint Name -#define MY_ENDPOINT_NAME "mbed-ble-hrm-XX" // replace "XX" with your number +#define MY_ENDPOINT_NAME "mbed-eth-hrm-XX" // replace "XX" with your number // My NSP Domain #define MY_NSP_DOMAIN "dfbridgeXX" // replace "XX" with your number // Customization Example: My custom NSP IPv4 address and NSP CoAP port -//uint8_t my_nsp_address[NSP_IP_ADDRESS_LENGTH] = {129,41,134,39}; // bluemix vm v2.4 -uint8_t my_nsp_address[NSP_IP_ADDRESS_LENGTH] = {129,41,134,116}; // bluemix vm v2.3 +uint8_t my_nsp_address[NSP_IP_ADDRESS_LENGTH] = {129,41,134,116}; // bluemix vm v2.3 int my_nsp_coap_port = 5683; // called from the Endpoint::start() below to create resources and the endpoint internals...