Bluetooth Driver services: Difference between revisions

No edit summary
Line 1,085: Line 1,085:
This is u32 enum "nn::bluetooth::FatalReason".
This is u32 enum "nn::bluetooth::FatalReason".


This determines the u16 data to write into the CircularBuffer.
This determines the u16 data to write into the CircularBuffer. [[#EmulateBluetoothCrash]] handles values outside of 1-2 the same as value 3.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,094: Line 1,094:
| 0 || Only for [[#EventInfo]]: invalid.
| 0 || Only for [[#EventInfo]]: invalid.
|-
|-
| 1 || u16 data = 0x850.
| 1 || u16 data = 0x850. Can only be triggered by [[#EmulateBluetoothCrash]], not triggered by the sysmodule otherwise.
|-
|-
| 2 || u16 data = 0x851.
| 2 || u16 data = 0x851. HCI command timeout.
|-
|-
| Other values || u16 data = 0x852.
| 3 || u16 data = 0x852. HCI event HCI_Hardware_Error occurred.
|-
|-
| 7 || Only for [[#EventInfo]]: triggered after enabling bluetooth, when a global state field is value 4 or 2.
| 7 || Only for [[#EventInfo]]: triggered after enabling bluetooth, when a global state field is value 4 or 2.