Bluetooth Driver services: Difference between revisions
No edit summary |
No edit summary |
||
Line 138: | Line 138: | ||
| 61 || [5.0.0+] [[#EnableBleScanFilter]] ([5.0.0-8.1.1] [[#EnableBleScanFilter|EnableLeScanFilter]]) | | 61 || [5.0.0+] [[#EnableBleScanFilter]] ([5.0.0-8.1.1] [[#EnableBleScanFilter|EnableLeScanFilter]]) | ||
|- | |- | ||
| 62 || [5.0.0+] RegisterGattClient | | 62 || [5.0.0+] [[#RegisterGattClient]] ([5.0.0-8.1.1] [[#RegisterGattClient|RegisterLeClient]]) | ||
|- | |- | ||
| 63 || [5.0.0+] UnregisterGattClient | | 63 || [5.0.0+] [[#UnregisterGattClient]] ([5.0.0-8.1.1] [[#UnregisterGattClient|UnregisterLeClient]]) | ||
|- | |- | ||
| 64 || [5.0.0+] UnregisterAllGattClients | | 64 || [5.0.0+] [[#UnregisterAllGattClients]] ([5.0.0-8.1.1] [[#UnregisterAllGattClients|UnregisterLeClientAll]]) | ||
|- | |- | ||
| 65 || [5.0.0+] ConnectGattServer | | 65 || [5.0.0+] [[#ConnectGattServer]] ([5.0.0-8.1.1] [[#ConnectGattServer|LeClientConnect]]) | ||
|- | |- | ||
| 66 || [5.1.0+] CancelConnectGattServer | | 66 || [5.1.0+] [[#CancelConnectGattServer]] ([5.1.0-8.1.1] [[#CancelConnectGattServer|LeClientCancelConnection]]) | ||
|- | |- | ||
| 67 ([5.0.0-5.0.2] 66) || [[#DisconnectGattServer]] | | 67 ([5.0.0-5.0.2] 66) || [[#DisconnectGattServer]] ([?-8.1.1] [[#DisconnectGattServer|LeClientCancelConnection]]) | ||
|- | |- | ||
| 68 ([5.0.0-5.0.2] 67) || [5.0.0+] GetGattAttribute | | 68 ([5.0.0-5.0.2] 67) || [5.0.0+] [[#GetGattAttribute]] ([5.0.0-8.1.1] [[#GetGattAttribute|LeClientGetAttributes]]) | ||
|- | |- | ||
| 69 ([5.0.0-5.0.2] 68) || [5.0.0+] GetGattService | | 69 ([5.0.0-5.0.2] 68) || [5.0.0+] [[#GetGattService]] ([5.0.0-8.1.1] [[#GetGattService|LeClientDiscoverService]]) | ||
|- | |- | ||
| 70 ([5.0.0-5.0.2] 69) || [5.0.0+] ConfigureAttMtu | | 70 ([5.0.0-5.0.2] 69) || [5.0.0+] ConfigureAttMtu | ||
Line 441: | Line 441: | ||
== EnableBleScanFilter == | == EnableBleScanFilter == | ||
Takes an input bool, no output. | Takes an input bool, no output. | ||
== RegisterGattClient == | |||
Takes an input [[#GattAttributeUuid]], no output. | |||
== UnregisterGattClient == | |||
Takes an input u8, no output. | |||
== UnregisterAllGattClients == | |||
No input/output. | |||
== ConnectGattServer == | |||
Takes an input u8, an [[#Address]], a bool, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output. | |||
== CancelConnectGattServer == | |||
Takes an input u8, an [[#Address]], a bool, no output. | |||
== DisconnectGattServer == | == DisconnectGattServer == | ||
Takes | Takes an input u32, no output. | ||
[9.0.0+] Now takes a | == GetGattAttribute == | ||
Takes an [[#Address]] and an u32, no output. | |||
[9.0.0+] Now takes an input u32, no output. | |||
== GetGattService == | |||
Takes an input u32 and a [[#GattAttributeUuid]], no output. | |||
== ConnectGattClient == | == ConnectGattClient == | ||
Line 533: | Line 554: | ||
= BleAdvertiseFilter = | = BleAdvertiseFilter = | ||
This is "nn::bluetooth::BleAdvertiseFilter". This is a 0x3E-byte struct. | This is "nn::bluetooth::BleAdvertiseFilter". This is a 0x3E-byte struct. | ||
= GattAttributeUuid = | |||
This is "nn::bluetooth::GattAttributeUuid". This is a 0x14-byte struct with 4-byte alignment. | |||
[[Category:Services]] | [[Category:Services]] |