mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-24 12:40:47 +00:00
reset rfcomm channel id afte close
This commit is contained in:
parent
0d866cd3d6
commit
e104cea42e
@ -572,6 +572,7 @@ int stdin_process(struct data_source *ds){
|
|||||||
case 'o':
|
case 'o':
|
||||||
printf("RFCOMM Channel Closed\n");
|
printf("RFCOMM Channel Closed\n");
|
||||||
rfcomm_disconnect_internal(rfcomm_channel_id);
|
rfcomm_disconnect_internal(rfcomm_channel_id);
|
||||||
|
rfcomm_channel_id = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user