Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Adjust Arduino 101 Bluetooth Interval

YWang87
Beginner
1,011 Views

Hello!

I am trying to send a file from Arduino 101 to the Android phone via Bluetooth. But I notice that the package interval is around 100 ms when I enable the BLE notification while transfering the data.

Later, I tried to check the ble_client.h library to adjust the default interval parameters as below:

# define DEFAULT_MIN_CONN_INTERVAL MSEC_TO_UNITS(12, UNIT_1_25_MS)

# define DEFAULT_MAX_CONN_INTERVAL MSEC_TO_UNITS(15, UNIT_1_25_MS)

# define MIN_CONN_INTERVAL 0x0006

# define MAX_CONN_INTERVAL 0x0015

I did receive lower interval for BLE broadcasting, but when I start to transmit the data (with BLE notification enabled), it increases to 98ms. Does anyone have any idea about it?

Thanks in advance!

0 Kudos
2 Replies
idata
Community Manager
132 Views

 

Hi Relicwang,

 

 

Thanks for reaching out.

 

 

I would like to investigate a little bit more regarding your query and as soon as I have useful information I'll let you know.

 

 

I'll appreciate your patience during the meantime.

 

 

Regards,

 

-Yermi A
idata
Community Manager
132 Views

Hi,

 

 

I have been investigating in regard to your query, unfortunately, this is out of our support scope, for that reason I'd like to recommend you to contact Arduino 101 support: https://forum.arduino.cc/index.php?board=103.0 https://forum.arduino.cc/index.php?board=103.0 since they can provide you further assistance and a more accurate answer to your inquiry.

 

 

Regards,

 

-Yermi A.

 

Reply