Bluetooth Driver services: Difference between revisions
No edit summary |
|||
Line 731: | Line 731: | ||
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]] | 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. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 868: | Line 870: | ||
! Description | ! Description | ||
|- | |- | ||
| 1 || | | 1 || u16 data = 0x850. | ||
|- | |- | ||
| 2 || | | 2 || u16 data = 0x851. | ||
|- | |- | ||
| Other values || | | Other values || u16 data = 0x852. | ||
|} | |} | ||