sdknso masks the FatalReason with an u16-mask before passing it to the cmd.
sdknso masks the FatalReason with an u16-mask before passing it to the cmd.
−
This writes data into a CircularBuffer with type=0x29, where the data is an u16 determined using the input [[#FatalReason]]: 1 -> 0x850, 2 -> 0x851, {other values} -> 0x852. This is only done if a state field is value 0x3, after calling the func for this the field is set to value 0.
+
This writes data into a CircularBuffer (name "BLE CORE", seperate from sharedmem) with type=0x29, where the data is an u16 determined using the input [[#FatalReason]]. This is only done if a state field is value 0x3, after calling the func for this the field is set to value 0.
== GetBleChannelMap ==
== GetBleChannelMap ==
Line 862:
Line 862:
= FatalReason =
= FatalReason =
This is u32 enum "nn::bluetooth::FatalReason".
This is u32 enum "nn::bluetooth::FatalReason".
+
+
This determines the u16 data to write into the CircularBuffer.