3 Replies Latest reply on Jul 16, 2020 12:24 PM by DheerajP_41

    I need help, How to increase the speed of sending data?

    jama_4535901

      Good afternoon

      I am using the CYBT-213043-MESH kit

      I need help with this code, we need help with BLE MESH

      I can scan devices and I can send them by message through the mesh network

       

       

      The problem in this code in the function:

      void mesh_vendor_server_send_adv_data (uint8_t * bda, int8_t rssi), datps send very slow

       

       

      scan.PNG

       

      The data is sent every 200 milliseconds, I want the data to be sent faster,

       

       

      Can you help me to send this data as quickly as possible?

       

      Please

      can you please help me?

       

      this is very urgent

        • 1. Re: I need help, How to increase the speed of sending data?
          DheerajP_41

          Hi,

           

          Did you try to change the current_time_ms - last_timestamp_sent_ms < 200 to a lower value?

           

          Thanks,

          -Dheeraj

          • 2. Re: I need help, How to increase the speed of sending data?
            jama_4535901

            yes, I already changed it to 25 miliseconds, but the board did not change the data sending speed,

            Although I put 25miliseconds or 50miliseconds it does not increase the speed, the maximum it increases is approximately 200 miliseconds

            could you please help me increase the speed?

            this is urgent for our company, we believed that it would already work well, but when we did tests, we found that it is very necessary to increase the speed to the maximum

             

            we need the data to be sent faster

            can you try to increase the transmission speed?

            please

            could you help us?

            • 3. Re: I need help, How to increase the speed of sending data?
              DheerajP_41

              Hi,

               

              The application will be scanning for the devices with the configured values (scan_interval, scan_window) in the wiced_bt_cfg.c of mesh-app_lib. Varying these values can make an impact on current consumption, performance, etc.

               

              For, mesh both these parameters are configured as same (96), because to be a good mesh citizen a node should be listening for the packets as close to 100% of the time as possible.

               

              Could you please explain why do you need to scan for ble devices faster? What is the application scenario?

               

              Thanks,

              -Dheeraj