Project #33 BLE RTC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi 

   

 

   

I am trying to get this code to work.

   

It compiles and loads correctly.  

   

I connect with phone and it disconnects like it's suppose to

   

But when the button is pressed it says something like

   

Monday 00:00:00 00:00:47

   

It still counts up but does not work correctly 

   

 

   

Hope its an easy fix

0 Likes
1 Solution
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

I also used an I-phone and it didn't work.  what app do you use with the I-phone? When an instruction app is written it should be very complete so there are no unanswered issues.

View solution in original post

0 Likes
9 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Consider posting your project -

   

 

   

    

   

          

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Hi

   

Here is the files.

   

I am new to coding/Bluetooth so sorry if its something easy.

   

It the code from the 100 projects.

   

 

   

Thanks 

   

Max Foster

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

I had the same issue with this 0:00:01 I am checking the PDF for answers and also if this only works on an Iphone.

0 Likes
Anonymous
Not applicable

I have tryed with 3 Android devices.

   

I dont own any apple products so i cant really tell if it works right.

   

 

   

Thanks

   

Max Foster

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Well I have tried this program with both an Andriod and I phone and it doesn't work with either one.   I have also tried to compile this program with Psoc Creator 3.2 and it fails to compile.  Another question why was Profile custom selected over Profile time? It seems to me that Profile time should have been used.  I know that they are trying to make us think about how to use this device kit but we should have a starting place. 

0 Likes
Anonymous
Not applicable

It seems that Android does not have the same RTC features as IOS.

   

might spend some time on google to see if theres a equivalent app.

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

I also used an I-phone and it didn't work.  what app do you use with the I-phone? When an instruction app is written it should be very complete so there are no unanswered issues.

0 Likes
Anonymous
Not applicable

Cant really tell you want app to use, maybe I sould open a case to ask?

   

I only have android, well i have a old apple phone but it does not even pick the kit up.

0 Likes
Anonymous
Not applicable

 The BLE CTS server is in-built in iOS and all the iOS devices supports this service by default. With an Android device, a custom app is required whic instantiates the CTS server,so if you use existing andriod app (CYSmart) this may not wok.

   

Following are the steps to see current timing information with RTC in IOS:

   

*Connect the BLE-Pioneer Kit Baseboard to Windows host machine using the USB cable.Open a terminal emulator such as Putty or Tera Term for the BLE-Pioneer Kit. The COM settings are: Baud rate – 115200 bps, Data bits – 8, Stop bits – 1, Parity – None.

   

*Reset the device (by pressing the Reset switch SW1 on BLE-Pioneer Kit Baseboard) to see the output shown in Figure 6 on the terminal. The device is advertising at this point and waiting to be connected with an iOS device.

   

*On the iPhone, navigate to the phone Settings, enable Bluetooth. 

   

*The BLE Pioneer Kit is listed as one of the devices nearby. Touch it to connect.

   

*Now you will see current time information displayed on the terminal.

   
        
0 Likes