Changes

785 bytes added ,  03:24, 31 January 2021
no edit summary
Line 1,195: Line 1,195:  
| 0x4 || 0x14 || [[Bluetooth_Driver_services#GattAttributeUuid|GattAttributeUuid]]
 
| 0x4 || 0x14 || [[Bluetooth_Driver_services#GattAttributeUuid|GattAttributeUuid]]
 
|}
 
|}
 +
 +
= Logging =
 +
A func which uses [[PSC_services|srepo]] is called in certain conditions (access to srepo:u was added to btm with [7.0.0+]). This is implemented as follows (as of 11.0.0):
 +
 +
* Loads the data for the below fields.
 +
* Creates the report with EventId "bluetooth_crash". The ApplicationId is set to {btm ProgramId}.
 +
* The following fields are added to the report:
 +
** "reason": Set to an input param for this func.
 +
** "radio"
 +
** "gamepad_pairing"
 +
** "llr_notify"
 +
** "ble_scan"
 +
** "bluetooth_mode": Set to hard-coded value 0.
 +
** "wlan_mode"
 +
** "classic_device_count"
 +
** "slot_mode_active_count"
 +
** "slot_mode_4_count"
 +
** "slot_mode_6_count"
 +
** "sniff_mode"
 +
** "ble_device_count"
 +
** "ce_length_2_count"
 +
** "ce_length_4_count"
 +
** "ce_length_8_count"
 +
* Saves the report and returns.
    
[[Category:Services]]
 
[[Category:Services]]