Changes

no edit summary
Line 462: Line 462:  
== EnableTxPowerBoostSetting ==
 
== EnableTxPowerBoostSetting ==
 
Takes an input bool, no output.
 
Takes an input bool, no output.
 +
 +
sdknso ignores errors from this. sdknso exposes this under "nn::bluetooth::debug::".
    
== IsTxPowerBoostSettingEnabled ==
 
== IsTxPowerBoostSettingEnabled ==
Line 467: Line 469:     
sdknso sets the tmpout_bool to 1, and uses that with the cmd. The sdknso func directly returns tmpout_bool, errors from the cmd are ignored.
 
sdknso sets the tmpout_bool to 1, and uses that with the cmd. The sdknso func directly returns tmpout_bool, errors from the cmd are ignored.
 +
 +
sdknso exposes this under "nn::bluetooth::debug::".
    
== EnableAfhSetting ==
 
== EnableAfhSetting ==
 
Takes an input bool, no output.
 
Takes an input bool, no output.
 +
 +
sdknso ignores errors from this. sdknso exposes this under "nn::bluetooth::debug::".
    
== IsAfhSettingEnabled ==
 
== IsAfhSettingEnabled ==
 
sdknso sets the tmpout_bool to 1, and uses that with the cmd. The sdknso func directly returns tmpout_bool, errors from the cmd are ignored.
 
sdknso sets the tmpout_bool to 1, and uses that with the cmd. The sdknso func directly returns tmpout_bool, errors from the cmd are ignored.
 +
 +
sdknso exposes this under "nn::bluetooth::debug::".
    
== InitializeBle ==
 
== InitializeBle ==
Line 723: Line 731:  
== IsManufacturingMode ==
 
== IsManufacturingMode ==
 
No input, returns an output bool.
 
No input, returns an output bool.
 +
 +
sdknso will Abort if this fails, the bool is returned instead of a Result. sdknso exposes this under "nn::bluetooth::debug::".
    
This is used by [[BTM_services|btm]].
 
This is used by [[BTM_services|btm]].
Line 729: Line 739:  
Takes an input [[#FatalReason]], no output.
 
Takes an input [[#FatalReason]], no output.
   −
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. sdknso exposes this under "nn::bluetooth::debug::".
    
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.
 
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.