BLE beacon code designed to be remotely compiled by the ble-scanner-station-demo code. https://github.com/BlackstoneEngineering/ble-scanner-station-demo
Dependencies: BLE_API mbed nRF51822
Fork of BLE_GAP_Example by
This code is meant to be used as a target for remote compilation. Users can pass in the NAME variable to change the broadcast name of the beacon being compiled.
This program is meant to be used in conjunction with the NodeJS ble-scanner-station-demo webapp and the remote compile api JS webapp.
The NodeJS ble-scanner-station-demo will display a webpage like the following. The Orange text will be replaced with the name of the beacon. For more details see the repo page
Diff: main.cpp
- Revision:
- 15:7e06fce6e4f8
- Parent:
- 14:1c15d473b42f
- Child:
- 16:1e6fdee20db9
--- a/main.cpp Tue Jan 12 11:58:24 2016 +0000 +++ b/main.cpp Tue Jan 12 12:00:16 2016 +0000 @@ -1,3 +1,19 @@ +/* mbed Microcontroller Library + * Copyright (c) 2006-2015 ARM Limited + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "mbed.h" #include "ble/BLE.h"