mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-13 15:41:17 +00:00
fix send of UIH Modem status command RESPONSE
This commit is contained in:
parent
9b7a2ba328
commit
7625c58d57
@ -181,7 +181,7 @@ void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint
|
||||
// fine with this
|
||||
uint8_t address = packet[0] | 2; // set response
|
||||
packet[3] = BT_RFCOMM_MSC_RSP; // " "
|
||||
rfcomm_send_packet(source_cid, address, BT_RFCOMM_UIH_PF, 0x30, packet, 8);
|
||||
rfcomm_send_packet(source_cid, address, BT_RFCOMM_UIH, 0x30, (uint8_t*)&packet[3], 4);
|
||||
msc_resp_send = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user