File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ String metaEventToString(LE_META_EVENT event)
82
82
case LONG_TERM_KEY_REQUEST: return F (" LE_LONG_TERM_KEY_REQUEST" );
83
83
case READ_LOCAL_P256_COMPLETE: return F (" READ_LOCAL_P256_COMPLETE" );
84
84
case GENERATE_DH_KEY_COMPLETE: return F (" GENERATE_DH_KEY_COMPLETE" );
85
+ case ENHANCED_CONN_COMPLETE: return F (" ENHANCED_CONN_COMPLETE" );
85
86
default : return " event unknown" ;
86
87
}
87
88
}
@@ -990,7 +991,7 @@ void HCIClass::handleEventPkt(uint8_t /*plen*/, uint8_t pdata[])
990
991
Serial.println (leMetaHeader->subevent ,HEX);
991
992
#endif
992
993
switch ((LE_META_EVENT)leMetaHeader->subevent ){
993
- case 0x0A :{
994
+ case ENHANCED_CONN_COMPLETE :{
994
995
struct __attribute__ ((packed)) EvtLeConnectionComplete {
995
996
uint8_t status;
996
997
uint16_t handle;
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ enum LE_META_EVENT {
46
46
LONG_TERM_KEY_REQUEST = 0x05 ,
47
47
REMOTE_CONN_PARAM_REQ = 0x06 ,
48
48
READ_LOCAL_P256_COMPLETE = 0x08 ,
49
- GENERATE_DH_KEY_COMPLETE = 0x09
49
+ GENERATE_DH_KEY_COMPLETE = 0x09 ,
50
+ ENHANCED_CONN_COMPLETE = 0x0A ,
50
51
};
51
52
String metaEventToString (LE_META_EVENT event);
52
53
String commandToString (LE_COMMAND command);
You can’t perform that action at this time.
0 commit comments