This program is given as a sample exercise. It has all the functionality to be used on a BLE Nano device and to connect to SimpleChat application for Android/ iOS from RebBearLab. The aim of the exercise is to read a voltage and then to convert as good as possible the appropriate temperature in Celsius degrees. AI5 pin is considered for reading the voltage for the termistor. The ADC of AI5 is called every second. The function to be updated : update_measurements() from main.cpp file.

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_DataLogger_with_Chat by Valentin Tanasa

Revisions of main.cpp

Revision Date Message Actions
11:baafa4f7a15e 2016-05-06 minor updates File  Diff  Annotate
10:c7d53e4e0602 2016-04-26 small updates added; new functionalities for push button; some bug fixes; File  Diff  Annotate
9:303d3628986a 2016-04-25 Major rework on the code and extended functionality added. Detailed explanations are given in read_me.md file. File  Diff  Annotate
8:f28ad4600b0f 2016-04-11 This build add some features:; -> for any message that starts with 'x' it is treated as command:; xtg: return time: HH:MM:SS; xdg: get date: 20XX:MM:DD; xtiHHMMSS : set the time; xdiYYMMDD: set date; etc. File  Diff  Annotate
7:609dff35b660 2016-03-31 Some updates added to the initial version. It is adapted for the first Ble Nano (1) hardware.; Changes: ; -> setting TxPower; -> echo for messages received from RedBear App; ->19200 baudrate change; -> other small changes File  Diff  Annotate
6:a574229993b8 2016-03-31 Some new features included:; -> signals the sender and receiver messages; -> echo for message sent from RedBear App File  Diff  Annotate
5:ee7e1a9e1985 2016-03-31 Small corrections File  Diff  Annotate
4:d7872f84c03c 2016-03-31 Working version for Ble Nano (2015) File  Diff  Annotate
3:b3f6c612b603 2016-01-07 Update libraries. File  Diff  Annotate
2:4b66b69c7ecb 2015-07-27 Update libraries File  Diff  Annotate
1:1c058e553423 2014-10-31 Add lisence and brief descriptions File  Diff  Annotate
0:cffe8ac1bdf0 2014-10-31 First commit File  Diff  Annotate