mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
handle SABM after PN
This commit is contained in:
parent
119647815d
commit
2a71eea967
@ -1073,7 +1073,11 @@ void rfcomm_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
break;
|
||||
|
||||
case RFCOMM_CHANNEL_INCOMING_SETUP:
|
||||
rfChannel->state_var |= STATE_VAR_RCVD_SABM;
|
||||
if (rfChannel->state_var & STATE_VAR_CLIENT_ACCEPTED) {
|
||||
rfChannel->state_var |= STATE_VAR_SEND_UA;
|
||||
} else {
|
||||
rfChannel->state_var |= STATE_VAR_RCVD_SABM;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user