Name: iOS-nRF-Blinky
Owner: Nordic Semiconductor
Description: A starter app for new developers in the BLE world!
Created: 2017-12-12 06:53:55.0
Updated: 2018-03-05 06:29:18.0
Pushed: 2017-12-13 13:43:08.0
Homepage: https://www.nordicsemi.com
Size: 1108
Language: Swift
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
nRF Blinky is an example app targeted towards newcomer BLE developers. This application will demonstrate how to control a LED on an nRF development kit and receive notifications when the button on the kit is pressed and released.
00001523-1212-EFDE-1523-785FEABCD123
A simplified proprietary service by Nordic Semiconductor, containing two characteristics one to control LED3 and Button1:
00001525-1212-EFDE-1523-785FEABCD123
1
=> LED On0
=> LED Off00001524-1212-EFDE-1523-785FEABCD123
1
=> Button Pressed0
=> Button Released/examples/ble_peripheral/ble_app_blinky/
Prepare your Development kit.
Plug in the Development Kit to your computer via USB.
Power On the Development Kit.
The Development Kit will now appear as a Mass storage device.
Drag (or copy/paste) the appropriate HEX file onto that new device.
The Development Kit lEDS will flash and it will disconnect and reconnect.
The Development Kit is now ready and flashed with the nRFBlinky example firmware.
Start Xcode and run build the project against your target iOS Device (Note: BLE is not available in the iOS simulator, so the iOS device is a requirement to test the application).
Launch the nRFBlinky app on your iOS device.
The app will start scanning for nearby peripherals.
Select the nRF_Blinky peripheral that appears on screen (Note: if the peripheral does not show up, ensure that it's powered on and functional).
Your iOS device will now connect to the peripheral and state is displayed on the screen.
Changing the value of the Toggle switch will turn LED 3 on or off.
Pressing Button 1 on the Development Kit will show the button state as Pressed on the app.
Releasing Button 1 will show the state as Released on the App.