×

Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Member #830592

Member Since: July 29, 2016

Country: United States

  • Ok, so i managed to find the problem. Its due to the way data exchange works in BLE. While the Peripheral can send data whenever it wants, the Central can only attempt to check for data and send data in certain intervals. The slave is also able to ignore these calls for a specified number of attempts. The parameters you need to configure are the connection parameters (Table 3 of the Melody Smart Manual under CONP=).

    If you want to know more about this matter, I recommend reading this article:

    https://docs.mbed.com/docs/ble-intros/en/latest/Introduction/ConnectionParameters/
    
  • That would be unfortunate, since I'm trying to send serial data in both directions in a matter of milliseconds. And yes, BLE is still kind of confusing for me... I'm gonna look into that. If I find a way to disable/work around the sleep time, I'll post it here. Thanks for your help so far!

  • Hello,

    I am using two BLE Mate 2 modules to send data over a serial terminals. To test the modules I hooked them up to a PC with FTDI Basic Modules and connected them as serial terminals using TeraTerm. The configuration with the Melody smart commands worked fine too. Both are set into transparent mode.

    Here is my problem: When I send data from Peripheral to Central, it appears on the other terminal right away, but when I send data from Central to Peripheral, there is a huge delay (sometimes more than a second) between the input from the keyboard and the output on the terminal. Is there anything I can do to fix that?

    Thanks for your help! David

No public wish lists :(