Line 376: |
Line 376: |
| | | |
| === GetGattServices === | | === GetGattServices === |
| + | Takes a PID, a type-0x6 output buffer containing an array of [[#GattService]], an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u8. |
| | | |
| === GetGattService === | | === GetGattService === |
| + | Takes a PID, a type-0x1A output buffer containing a [[#GattService]], an u32, a [[#GattAttributeUuid]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u8. |
| | | |
| === GetGattIncludedServices === | | === GetGattIncludedServices === |
| + | Takes a PID, a type-0x6 output buffer containing an array of [[#GattService]], an u16, an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u8. |
| | | |
| === GetBelongingGattService === | | === GetBelongingGattService === |
| + | Takes a PID, a type-0x1A output buffer containing a [[#GattService]], an u16, an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u8. |
| | | |
| === GetGattCharacteristics === | | === GetGattCharacteristics === |
| + | Takes a PID, a type-0x6 output buffer containing an array of [[#GattCharacteristic]], an u16, an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u8. |
| | | |
| === GetGattDescriptors === | | === GetGattDescriptors === |
| + | Takes a PID, a type-0x6 output buffer containing an array of [[#GattDescriptor]], an u16, an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u8. |
| | | |
| === AcquireBleMtuConfigEvent === | | === AcquireBleMtuConfigEvent === |
| + | No input, returns an output u8 and an Event handle with EventClearMode=1. |
| + | |
| + | sdknso will Abort if the output u8 is value 0. |
| | | |
| === ConfigureBleMtu === | | === ConfigureBleMtu === |
| + | Takes a PID, an u16, an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output. |
| + | |
| + | sdknso will Abort if the user-specified u16 is <0x18 or >0x200. |
| | | |
| === GetBleMtu === | | === GetBleMtu === |
| + | Takes a PID, an u32, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output u16. |
| | | |
| === RegisterBleGattDataPath === | | === RegisterBleGattDataPath === |
| + | Takes a PID, a [[#BleDataPath]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output. |
| | | |
| === UnregisterBleGattDataPath === | | === UnregisterBleGattDataPath === |
| + | Takes a PID, a [[#BleDataPath]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output. |
| | | |
| = BleAdvertisePacketParameter = | | = BleAdvertisePacketParameter = |
Line 408: |
Line 423: |
| = BleConnectionInfo = | | = BleConnectionInfo = |
| This is "nn::bluetooth::BleConnectionInfo". This is a 0xC-byte struct. | | This is "nn::bluetooth::BleConnectionInfo". This is a 0xC-byte struct. |
| + | |
| + | = GattService = |
| + | This is "nn::btm::user::GattService". This is a 0x24-byte struct. |
| + | |
| + | = GattCharacteristic = |
| + | This is "nn::btm::user::GattCharacteristic". This is a 0x24-byte struct. |
| + | |
| + | = GattDescriptor = |
| + | This is "nn::btm::user::GattDescriptor". This is a 0x20-byte struct. |
| + | |
| + | = BleDataPath = |
| + | This is "nn::btm::user::BleDataPath". This is a 0x18-byte struct with 4-byte alignment. |
| | | |
| [[Category:Services]] | | [[Category:Services]] |