View unanswered posts | View active topics It is currently Sat Apr 29, 2017 11:22 pm



Reply to topic  [ 3 posts ] 
RX not updating on iPhone 
Author Message

Joined: Fri Jan 04, 2013 12:15 am
Posts: 2
Hi,

I have tested my own sketch and the sketch from the site, but can't get data updated on the iPhone.

I can see that the buffer length is updating.

I have tried both manually clicking the read button and turning on notifications within BLEExplr.

I am able to send data to the shield.

Any thoughts on what I might have wrong? Should print and println work as well as write? (I've tried them all).


Wed Mar 20, 2013 8:16 pm
Profile

Joined: Fri Jan 04, 2013 12:15 am
Posts: 2
Actually, I just discovered that power cycling the BLE board seems to fix some of my trouble.

From what I see, I need to send exactly 16 bytes. Anything fewer and they wait in the cache until there are 16.

Anything more and the cache must be cleared before anything is sent.

From what I can tell, if I go beyond 16 bytes, I have to flush the cache (by sending 0x01 to the clear cache service) and lose all the bytes in the cache. Can you confirm there is no way to send the first 16 bytes in the cache and then recover what is overflowing?


Wed Mar 20, 2013 10:16 pm
Profile
Site Admin

Joined: Thu Aug 02, 2012 11:36 am
Posts: 166
Hello David,
yes, that's the way it goes with firmware v1.0.0 or v1.0.1.
Version 1.1 of the firmware will change this behavior but it is still under development.

But since it is open source, you are welcome to contribute and share changes to the firmware to the community.

Cheers,
Michael.


Thu Mar 21, 2013 10:28 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.