Line 120: |
Line 120: |
| | 52 || [5.0.0+] [[#SetBleDefaultConnectionParameter]] ([5.0.0-8.1.1] [[#SetLeDefaultConnectionParameter]]) | | | 52 || [5.0.0+] [[#SetBleDefaultConnectionParameter]] ([5.0.0-8.1.1] [[#SetLeDefaultConnectionParameter]]) |
| |- | | |- |
− | | 53 || [5.0.0+] SetBleAdvertiseData | + | | 53 || [5.0.0+] [[#SetBleAdvertiseData]] ([5.0.0-8.1.1] [[#SetBleAdvertiseData|SetLeAdvertiseData]]) |
| |- | | |- |
− | | 54 || [5.0.0+] SetBleAdvertiseParameter | + | | 54 || [5.0.0+] [[#SetBleAdvertiseParameter]] ([5.0.0-8.1.1] [[#SetBleAdvertiseParameter|SetLeAdvertiseParameter]]) |
| |- | | |- |
− | | 55 || [5.0.0+] StartBleScan | + | | 55 || [5.0.0+] [[#StartBleScan]] ([5.0.0-8.1.1] [[#StartBleScan|StartLeScan]]) |
| |- | | |- |
− | | 56 || [5.0.0+] StopBleScan | + | | 56 || [5.0.0+] [[#StopBleScan]] ([5.0.0-8.1.1] [[#StopBleScan|StopLeScan]]) |
| |- | | |- |
− | | 57 || [5.0.0+] AddBleScanFilterCondition | + | | 57 || [5.0.0+] [[#AddBleScanFilterCondition]] ([5.0.0-8.1.1] [[#AddBleScanFilterCondition|AddLeScanFilterCondition]]) |
| |- | | |- |
− | | 58 || [5.0.0+] DeleteBleScanFilterCondition | + | | 58 || [5.0.0+] [[#DeleteBleScanFilterCondition]] ([5.0.0-8.1.1] [[#DeleteBleScanFilterCondition|DeleteLeScanFilterCondition]]) |
| |- | | |- |
− | | 59 || [5.0.0+] DeleteBleScanFilter | + | | 59 || [5.0.0+] [[#DeleteBleScanFilter]] ([5.0.0-8.1.1] [[#DeleteBleScanFilter|DeleteLeScanFilter]]) |
| |- | | |- |
− | | 60 || [5.0.0+] ClearBleScanFilters | + | | 60 || [5.0.0+] [[#ClearBleScanFilters]] ([5.0.0-8.1.1] [[#ClearBleScanFilters|ClearLeScanFilters]]) |
| |- | | |- |
− | | 61 || [5.0.0+] EnableBleScanFilter | + | | 61 || [5.0.0+] [[#EnableBleScanFilter]] ([5.0.0-8.1.1] [[#EnableBleScanFilter|EnableLeScanFilter]]) |
| |- | | |- |
| | 62 || [5.0.0+] RegisterGattClient | | | 62 || [5.0.0+] RegisterGattClient |
Line 412: |
Line 412: |
| == SetBleDefaultConnectionParameter == | | == SetBleDefaultConnectionParameter == |
| Takes a [[#BleConnectionParameter]], no output. | | Takes a [[#BleConnectionParameter]], no output. |
| + | |
| + | == SetBleAdvertiseData == |
| + | Takes an input [[#BleAdvertisePacketData]], no output. |
| + | |
| + | == SetBleAdvertiseParameter == |
| + | Takes an input [[#Address]], two u16s, no output. |
| + | |
| + | == StartBleScan == |
| + | No input/output. |
| + | |
| + | == StopBleScan == |
| + | No input/output. |
| + | |
| + | == AddBleScanFilterCondition == |
| + | Takes a type-0x19 input buffer containing a [[#BleAdvertiseFilter]], no output. |
| + | |
| + | == DeleteBleScanFilterCondition == |
| + | Takes a type-0x19 input buffer containing a [[#BleAdvertiseFilter]], no output. |
| + | |
| + | == DeleteBleScanFilter == |
| + | Takes an input u8, no output. |
| + | |
| + | Originally the sdknso func used an u8 for the user-specified param, with [9.0.0+] it's a s32. |
| + | |
| + | == ClearBleScanFilters == |
| + | No input/output. |
| + | |
| + | == EnableBleScanFilter == |
| + | Takes an input bool, no output. |
| | | |
| == DisconnectGattServer == | | == DisconnectGattServer == |
Line 498: |
Line 527: |
| = BleConnectionParameter = | | = BleConnectionParameter = |
| This is "nn::bluetooth::BleConnectionParameter". This is a 0xC-byte struct with 2-byte alignment. | | This is "nn::bluetooth::BleConnectionParameter". This is a 0xC-byte struct with 2-byte alignment. |
| + | |
| + | = BleAdvertisePacketData = |
| + | This is "nn::bluetooth::BleAdvertisePacketData" ([5.0.0-8.1.1] "nn::bluetooth::LeAdvertiseData"). This is a 0xCC-byte struct. |
| + | |
| + | = BleAdvertiseFilter = |
| + | This is "nn::bluetooth::BleAdvertiseFilter". This is a 0x3E-byte struct. |
| | | |
| [[Category:Services]] | | [[Category:Services]] |