Bluetooth Driver services: Difference between revisions
No edit summary |
No edit summary |
||
Line 154: | Line 154: | ||
| 69 ([5.0.0-5.0.2] 68) || [5.0.0+] [[#GetGattService]] ([5.0.0-8.1.1] [[#GetGattService|LeClientDiscoverService]]) | | 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]] ([5.0.0-8.1.1] [[#ConfigureAttMtu|LeClientConfigureMtu]]) | ||
|- | |- | ||
| 71 ([5.0.0-5.0.2] 70) || [5.0.0+] RegisterGattServer | | 71 ([5.0.0-5.0.2] 70) || [5.0.0+] [[#RegisterGattServer]] ([5.0.0-8.1.1] [[#RegisterGattServer|RegisterLeServer]]) | ||
|- | |- | ||
| 72 ([5.0.0-5.0.2] 71) || [5.0.0+] UnregisterGattServer | | 72 ([5.0.0-5.0.2] 71) || [5.0.0+] [[#UnregisterGattServer]] ([5.0.0-8.1.1] [[#UnregisterGattServer|UnregisterLeServer]]) | ||
|- | |- | ||
| 73 ([5.0.0-5.0.2] 72) || [5.0.0+] [[#ConnectGattClient]] | | 73 ([5.0.0-5.0.2] 72) || [5.0.0+] [[#ConnectGattClient]] ([5.0.0-8.1.1] [[#ConnectGattClient|LeServerConnect]]) | ||
|- | |- | ||
| 74 ([5.0.0-5.0.2] 73) || [5.0.0+] DisconnectGattClient | | 74 ([5.0.0-5.0.2] 73) || [5.0.0+] [[#DisconnectGattClient]] ([5.0.0-8.1.1] [[#LeServerDisconnect]]) | ||
|- | |- | ||
| 75 || [5.0.0+] AddGattService | | 75 || [5.0.0+] [[#AddGattService]] ([5.0.0-8.1.1] [[#AddGattService|CreateLeService]]) | ||
|- | |- | ||
| 76 ([5.0.0-5.0.2] 74) || [5.0.0+] EnableGattService | | 76 ([5.0.0-5.0.2] 74) || [5.0.0+] [[#EnableGattService]] ([5.0.0-8.1.1] [[#EnableGattService|StartLeService]]) | ||
|- | |- | ||
| 77 || [5.0.0+] AddGattCharacteristic | | 77 || [5.0.0+] AddGattCharacteristic | ||
Line 467: | Line 467: | ||
== GetGattService == | == GetGattService == | ||
Takes an input u32 and a [[#GattAttributeUuid]], no output. | Takes an input u32 and a [[#GattAttributeUuid]], no output. | ||
== ConfigureAttMtu == | |||
Takes an input u16 and u32, no output. | |||
== RegisterGattServer == | |||
Takes an input [[#GattAttributeUuid]], no output. | |||
== UnregisterGattServer == | |||
Takes an input u8, no output. | |||
== ConnectGattClient == | == ConnectGattClient == | ||
Takes a | Takes an input u8, an [[#Address]], a bool, no output. | ||
== LeServerDisconnect == | |||
Takes an input u8, an [[#Address]], no output. | |||
== DisconnectGattClient == | |||
Takes an input u8, no output. | |||
== AddGattService == | |||
Takes an input u8, an u8, a bool, a [[#GattAttributeUuid]], no output. | |||
Originally sdknso used an user-specified u8 for the second u8, with [9.0.0+] that func param is now a s32. | |||
[ | == EnableGattService == | ||
Takes an input u8, a [[#GattAttributeUuid]], no output. | |||
= bt = | = bt = |