@@ -546,7 +546,7 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
546
546
// conn handle has fixed offset regardless of event type
547
547
const uint16_t evt_conn_hdl = evt->evt .common_evt .conn_handle ;
548
548
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);
550
550
551
551
// GAP handler
552
552
Gap._eventHandler (evt);
@@ -580,7 +580,7 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
580
580
_conn_hdl = evt->evt .gap_evt .conn_handle ;
581
581
_conn_interval = para->conn_params .min_conn_interval ;
582
582
583
- LOG_LV1 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
583
+ LOG_LV2 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
584
584
585
585
// Connection interval set by Central is out of preferred range
586
586
// Try to negotiate with Central using our preferred values
@@ -602,7 +602,7 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
602
602
ble_gap_conn_params_t * param = &evt->evt .gap_evt .params .conn_param_update .conn_params ;
603
603
_conn_interval = param->min_conn_interval ;
604
604
605
- LOG_LV1 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
605
+ LOG_LV2 (GAP, " Conn Interval= %f" , _conn_interval*1 .25f );
606
606
}
607
607
break ;
608
608
@@ -843,7 +843,7 @@ void AdafruitBluefruit::_saveBondKeys(void)
843
843
844
844
if (result)
845
845
{
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);
847
847
}else
848
848
{
849
849
LOG_LV1 (BOND, " Failed to save keys for \" %s\" " , devname);
@@ -862,7 +862,7 @@ bool AdafruitBluefruit::_loadBondKeys(uint16_t ediv)
862
862
863
863
if ( result )
864
864
{
865
- LOG_LV1 (BOND, " Load Keys from file %s" , filename);
865
+ LOG_LV2 (BOND, " Load Keys from file %s" , filename);
866
866
}else
867
867
{
868
868
LOG_LV1 (BOND, " Keys not found" );
@@ -889,7 +889,7 @@ void AdafruitBluefruit::_saveBondCCCD(void)
889
889
890
890
if ( Nffs.writeFile (filename, sys_attr, len, BOND_FILE_CCCD_OFFSET) )
891
891
{
892
- LOG_LV1 (BOND, " CCCD setting is saved to file %s" , filename);
892
+ LOG_LV2 (BOND, " CCCD setting is saved to file %s" , filename);
893
893
}else
894
894
{
895
895
LOG_LV1 (BOND, " Failed to save CCCD setting" );
@@ -929,7 +929,7 @@ void AdafruitBluefruit::_loadBondCCCD(uint16_t ediv)
929
929
{
930
930
loaded = true ;
931
931
932
- LOG_LV1 (BOND, " Load CCCD from file %s" , filename);
932
+ LOG_LV2 (BOND, " Load CCCD from file %s" , filename);
933
933
}else
934
934
{
935
935
LOG_LV1 (BOND, " CCCD setting not found" );
0 commit comments