2 Replies Latest reply on Jul 19, 2017 4:11 PM by Intel Corporation

    Adjust Arduino 101 Bluetooth Interval

    relicwang

      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!