A method for data transmission, performed by a first electronic device and comprising: during Bluetooth communication, negotiating, 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, 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, according to the candidate value of the MTU, the sounding data packet for the Bluetooth communication to the second electronic device; receiving 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 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 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, 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 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, 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, 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, according to the candidate value of the MTU, the sounding data packet for the Bluetooth communication to the second electronic device; receiving 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 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 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, 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 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.