controling prototype with nRFUART v2.0 App

Download and install Android App 

nRF UART 2.0

GitHub code base is here: https://github.com/NordicSemiconductor/Android-nRF-UART

UNFORTUNATELY THINGS HAVE CHANGED...FOR iOS, they use to be much easier... with the nRF UART 2.0 app which has been removed from the itunes app store,  but updates to Swift language and iOS have forced a change, things are in flux at this time but shoud stabalize hopefully soon.  so information below explains how to adapt until then..

https://devzone.nordicsemi.com/question/101805/ios-nrf-connect-source-code/

https://github.com/adafruit/Bluefruit_LE_Connect

Download and install iPhone App

https://itunes.apple.com/us/app/adafruit-bluefruit-le-connect/id830125974?mt=8

INSTRUCTIONS: 1. download and install Adafruit Bluefruit app and then

2.)  enable bluetooth and

3.)use the perifpheral list to connect to the "Adafruit Bluefruit LE" device then don't update unless necessary

4.) and use the UART icon to send 20 characters only to device,

5.)  source code snippet below shows how to control prototype... " LEGEND OF CONTROL SWITCH COMMAND CHARS"  after sending 20 chars first.

https://learn.adafruit.com/bluefruit-le-connect-for-ios

Normally there would be a iOS version from Nordic Semiconductor (the maker of out BLE chip), but they removed it to update their libraries, so here are some important links to research a replacement.  Which i think is full possible.

https://itunes.apple.com/us/app/nrf-connect/id1054362403?mt=8

https://github.com/NordicSemiconductor/IOS-nRF-Connect

https://github.com/NordicSemiconductor/IOS-nRF-Toolbox

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=google+play+app+nRF+UART+v2.0+ios

 

 

 

 

 

 

 

//  This is the beginning of the looping scroll code  (data driven logic)
//  It is like "clockwork" looping around and around checking for 20 chars coming
//  in over bluetooth channel (limitations of chip), then dispatching to specific
//  animations and single char controls inside the switch statement.
//
//  NOTE: "One rule" is you must recieve 20 chars of something
//  to scroll and reach the control switch statements logic.  It can be 20 chars of "spaces",
//  nothing basically, which displays nothing on the screen. Or text if you like.
//  This rule can be masked from the user later, knowing this in the next coding exercise the
//  rFtUART controller in Android & iOS.
//
//  EXAMPLE:
//
//  The numbers represent counting characters
//
//  After connection with rFtUART app sends 20 chars (ignoring the quotes) spaces padding inside quotes:
//
//             1         2
//   012345678901234567890
//
//  "Hello World          "
//
//  this results in a scrolling Hello World with 10 blank scrolling spaces afterward.
//  it is now ready to receive a command char...
//
//
//  LEGEND OF CONTROL SWITCH COMMAND CHARS
//                           -------------
//
//                                ~   = erase the scrolling text and returns to waiting for another 20 chars
//                                |   = adds another 19 chars to the current 20, giving 39 chars total, "|" is not displayed
//                                {   = adds another 19 chars after "|" command is issued giving a total of 58 chars to be display,
//                                      at this time I don't believe more than 58 continuous scolling chars should be necessary.
//                                      It's difficult enough to read 20 chars.
//
//                                _   = (underscore) shows the 20 scolling chars, which is the default the first time
//                                -   = (dash or minus) shows the 39 chars scrolling after executing the "|" command
//                                +   = shows the 58 chars scrolling after executing both "|" and "{" commands
//
//                                !   = beatiful rainbowCycle(10) animation, borrowed from Adafruit
//                                @   = theaterChaseRainbow(20) animation, borrowed from Adafruit
//                                #   = Red, White, Blue wipe animation
//                                $   = single Alien animation
//                                %   = Beating heart animation
//                                /   = Face outline animation
//                                ^   = Yellow face simple Emoji animations (experimental, needs to be redone)
//                                ?   = I <Heart> U
//                                
//                                &   = unused 
//                                *   = unused 
//
//
//
//*******************************************************************************