mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
sm: prepare replacing sm_general_idle with sm_responder_idle
This commit is contained in:
parent
d7119506d8
commit
67f4e4579f
1
ble/sm.c
1
ble/sm.c
@ -1980,6 +1980,7 @@ static void sm_packet_handler(uint8_t packet_type, uint16_t handle, uint8_t *pac
|
||||
|
||||
// Responder
|
||||
case SM_GENERAL_IDLE:
|
||||
case SM_RESPONDER_IDLE:
|
||||
case SM_RESPONDER_SEND_SECURITY_REQUEST:
|
||||
case SM_RESPONDER_PH1_W4_PAIRING_REQUEST:
|
||||
if (packet[0] != SM_CODE_PAIRING_REQUEST){
|
||||
|
Loading…
x
Reference in New Issue
Block a user