A method for data transmission, performed by a first electronic device and comprising: during Bluetooth communication, negotiating (S101), by transmitting a sounding data packet whose data size is a candidate value of a maximum transmission unit, MTU, with a second electronic device about an applied value of the MTU for the Bluetooth communication, wherein negotiating (S101), by transmitting the sounding data packet whose data size is the candidate value of the MTU, with the second electronic device about the applied value of the MTU for the Bluetooth communication comprises: sending (S201), according to the candidate value of the MTU, the sounding data packet for the Bluetooth communication to the second electronic device; receiving (S202) a feedback data packet from the second electronic device within a preset period of time; in response to that a data size of the received feedback data packet being equal to that of the sounding data packet, determining (S203) that the candidate value of the MTU is to be the applied value of the MTU for the Bluetooth communication between the first electronic device and the second electronic device; decrementing (S204) the candidate value of the MTU, in response to receiving no feedback data packet with a data size which is equal to that of the sounding data packet; according to the decremented candidate value of the MTU, continuing to negotiate (S205), by transmitting a sounding data packet with a data size which is the decremented candidate value of the MTU, with the second electronic device about the applied value of the MTU for the Bluetooth communication; and stopping (S206) negotiation of the MTU, in response to receiving, from the second electronic device, the feedback data packet with the data size which is equal to that of the sounding data packet, or in response to that the candidate value has been decremented to a minimum candidate value of the MTU. during Bluetooth communication, negotiating (S101), by transmitting a sounding data packet whose data size is a candidate value of a maximum transmission unit, MTU, with a second electronic device about an applied value of the MTU for the Bluetooth communication, wherein negotiating (S101), by transmitting the sounding data packet whose data size is the candidate value of the MTU, with the second electronic device about the applied value of the MTU for the Bluetooth communication comprises: sending (S201), according to the candidate value of the MTU, the sounding data packet for the Bluetooth communication to the second electronic device; receiving (S202) a feedback data packet from the second electronic device within a preset period of time; in response to that a data size of the received feedback data packet being equal to that of the sounding data packet, determining (S203) that the candidate value of the MTU is to be the applied value of the MTU for the Bluetooth communication between the first electronic device and the second electronic device; decrementing (S204) the candidate value of the MTU, in response to receiving no feedback data packet with a data size which is equal to that of the sounding data packet; according to the decremented candidate value of the MTU, continuing to negotiate (S205), by transmitting a sounding data packet with a data size which is the decremented candidate value of the MTU, with the second electronic device about the applied value of the MTU for the Bluetooth communication; and stopping (S206) negotiation of the MTU, in response to receiving, from the second electronic device, the feedback data packet with the data size which is equal to that of the sounding data packet, or in response to that the candidate value has been decremented to a minimum candidate value of the MTU. <EOS>