@@ -546,7 +546,7 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
546546 // conn handle has fixed offset regardless of event type
547547 const uint16_t evt_conn_hdl = evt->evt .common_evt .conn_handle ;
548548
549- LOG_LV1 (BLE, " %s : Conn Handle = %d" , dbg_ble_event_str (evt->header .evt_id ), evt_conn_hdl);
549+ LOG_LV2 (BLE, " %s : Conn Handle = %d" , dbg_ble_event_str (evt->header .evt_id ), evt_conn_hdl);
550550
551551 // GAP handler
552552 Gap._eventHandler (evt);
@@ -580,7 +580,7 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
580580 _conn_hdl = evt->evt .gap_evt .conn_handle ;
581581 _conn_interval = para->conn_params .min_conn_interval ;
582582
583- LOG_LV1 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
583+ LOG_LV2 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
584584
585585 // Connection interval set by Central is out of preferred range
586586 // Try to negotiate with Central using our preferred values
@@ -602,7 +602,7 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
602602 ble_gap_conn_params_t * param = &evt->evt .gap_evt .params .conn_param_update .conn_params ;
603603 _conn_interval = param->min_conn_interval ;
604604
605- LOG_LV1 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
605+ LOG_LV2 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
606606 }
607607 break ;
608608
@@ -843,7 +843,7 @@ void AdafruitBluefruit::_saveBondKeys(void)
843843
844844 if (result)
845845 {
846- LOG_LV1 (BOND, " Keys for \" %s\" is saved to file %s" , devname, filename);
846+ LOG_LV2 (BOND, " Keys for \" %s\" is saved to file %s" , devname, filename);
847847 }else
848848 {
849849 LOG_LV1 (BOND, " Failed to save keys for \" %s\" " , devname);
@@ -862,7 +862,7 @@ bool AdafruitBluefruit::_loadBondKeys(uint16_t ediv)
862862
863863 if ( result )
864864 {
865- LOG_LV1 (BOND, " Load Keys from file %s" , filename);
865+ LOG_LV2 (BOND, " Load Keys from file %s" , filename);
866866 }else
867867 {
868868 LOG_LV1 (BOND, " Keys not found" );
@@ -889,7 +889,7 @@ void AdafruitBluefruit::_saveBondCCCD(void)
889889
890890 if ( Nffs.writeFile (filename, sys_attr, len, BOND_FILE_CCCD_OFFSET) )
891891 {
892- LOG_LV1 (BOND, " CCCD setting is saved to file %s" , filename);
892+ LOG_LV2 (BOND, " CCCD setting is saved to file %s" , filename);
893893 }else
894894 {
895895 LOG_LV1 (BOND, " Failed to save CCCD setting" );
@@ -929,7 +929,7 @@ void AdafruitBluefruit::_loadBondCCCD(uint16_t ediv)
929929 {
930930 loaded = true ;
931931
932- LOG_LV1 (BOND, " Load CCCD from file %s" , filename);
932+ LOG_LV2 (BOND, " Load CCCD from file %s" , filename);
933933 }else
934934 {
935935 LOG_LV1 (BOND, " CCCD setting not found" );
0 commit comments