created separate function for hex to char

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of SS_SensePOC2P0_11Dec2017_USERPID by rashmi v

Revision:
60:3bb9e9ba3205
Parent:
59:dadb88794375
Child:
61:ce5ad0838227
--- a/main.cpp	Mon Nov 13 12:02:00 2017 +0000
+++ b/main.cpp	Tue Nov 14 12:03:36 2017 +0000
@@ -189,10 +189,11 @@
                          }
 
                         else
-                        {                                   
-                            BT_no_connection();     // display screen to show that there is no connection
+                        {
+                            poc2p0_send_device_msg_res(MSG_REJECTED_RES);       //added on 14-Nov by rashmi                                   
+                            BT_no_connection();                                 // display screen to show that there is no connection
                             gc.printf("stopped");
-                            screen_BT_return();     // button to return
+                            screen_BT_return();                                 // button to return
                             EnableTouch();
                             main_state=GET_TOUCH_DISP_STATE;
                             state_touch=12;