0

Feather BTLE M0 - uart send to ios app demo
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather BTLE M0 - uart send to ios app demo

by krpankris on Fri Dec 29, 2017 4:29 pm

searching for a good starter project - to send data from feather btle to my ios phone with ADAFRUIT connect app installed.

Would like to send some sensor values in intervals.

Any starting stable reference point would help

best and ty all

krpankris
 
Posts: 20
Joined: Thu Sep 07, 2017 8:24 am

Re: Feather BTLE M0 - uart send to ios app demo

by adafruit_support_mike on Sun Dec 31, 2017 5:05 am

The best place to start is with a simple "hello, world." program. It's easy, and gives you a basic sanity check that the transmission is working.

The BLE object inherits the Print interface, so it has .print() and .println() functions that do roughly the same things as the ones in the Serial class.

adafruit_support_mike
 
Posts: 51988
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather BTLE M0 - uart send to ios app demo

by krpankris on Tue Jan 09, 2018 8:42 am

where can I find the sources of this simple hello world program

krpankris
 
Posts: 20
Joined: Thu Sep 07, 2017 8:24 am

Re: Feather BTLE M0 - uart send to ios app demo

by krpankris on Wed Jan 10, 2018 4:14 am

found it.. made it work

awesome stuff this bt and the mobile ada fruit app... it's perfect for first prototyping.. tnx guys

krpankris
 
Posts: 20
Joined: Thu Sep 07, 2017 8:24 am

Re: Feather BTLE M0 - uart send to ios app demo

by adafruit_support_mike on Thu Jan 11, 2018 4:47 am

Glad to hear you got it working!

adafruit_support_mike
 
Posts: 51988
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather BTLE M0 - uart send to ios app demo

by NCBlender on Thu Jan 18, 2018 3:05 pm

Where is the Hello World Example for BLE?

NCBlender
 
Posts: 15
Joined: Mon Nov 27, 2017 12:00 pm

Re: Feather BTLE M0 - uart send to ios app demo

by adafruit_support_mike on Fri Jan 19, 2018 3:51 am

There are several example programs that come with the nRF51 library. You'll find them under the File->Examples menu, or in the library folder itself in the folder named 'examples'.

adafruit_support_mike
 
Posts: 51988
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather BTLE M0 - uart send to ios app demo

by NCBlender on Fri Jan 19, 2018 10:40 am

OK. I found "Hello World" example under the Liquid Crystal display examples that uses an lcd.print method, but no BLE. I thought the previous post was referring to a BLE Hello World example.
I did not see any Hello World examples in the Feather nRF51 library. It seems the closest example is the BLEUart_datamode example.

NCBlender
 
Posts: 15
Joined: Mon Nov 27, 2017 12:00 pm

Re: Feather BTLE M0 - uart send to ios app demo

by adafruit_support_mike on Sun Jan 21, 2018 3:38 am

Those will work, yes.

adafruit_support_mike
 
Posts: 51988
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.