l2cap-ertm: add ERTM flag in Information Response

This commit is contained in:
Matthias Ringwald 2017-07-10 22:12:59 +02:00
parent 05fa60db84
commit a6bfadd349

View File

@ -614,6 +614,9 @@ static void l2cap_run(void){
case 2: { // Extended Features Supported
// extended features request supported, features: fixed channels, unicast connectionless data reception
uint32_t features = 0x280;
#ifdef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
features |= 0x0008;
#endif
l2cap_send_signaling_packet(handle, INFORMATION_RESPONSE, sig_id, infoType, 0, sizeof(features), &features);
}
break;