Merge pull request #4177 from VolcaEM/patch-5
btm: Update function tables
This commit is contained in:
commit
98bbab8030
|
@ -132,66 +132,71 @@ public:
|
||||||
explicit BTM() : ServiceFramework{"btm"} {
|
explicit BTM() : ServiceFramework{"btm"} {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, nullptr, "Unknown1"},
|
{0, nullptr, "GetState"},
|
||||||
{1, nullptr, "Unknown2"},
|
{1, nullptr, "GetHostDeviceProperty"},
|
||||||
{2, nullptr, "RegisterSystemEventForConnectedDeviceCondition"},
|
{2, nullptr, "AcquireDeviceConditionEvent"},
|
||||||
{3, nullptr, "Unknown3"},
|
{3, nullptr, "GetDeviceCondition"},
|
||||||
{4, nullptr, "Unknown4"},
|
{4, nullptr, "SetBurstMode"},
|
||||||
{5, nullptr, "Unknown5"},
|
{5, nullptr, "SetSlotMode"},
|
||||||
{6, nullptr, "Unknown6"},
|
{6, nullptr, "SetBluetoothMode"},
|
||||||
{7, nullptr, "Unknown7"},
|
{7, nullptr, "SetWlanMode"},
|
||||||
{8, nullptr, "RegisterSystemEventForRegisteredDeviceInfo"},
|
{8, nullptr, "AcquireDeviceInfoEvent"},
|
||||||
{9, nullptr, "Unknown8"},
|
{9, nullptr, "GetDeviceInfo"},
|
||||||
{10, nullptr, "Unknown9"},
|
{10, nullptr, "AddDeviceInfo"},
|
||||||
{11, nullptr, "Unknown10"},
|
{11, nullptr, "RemoveDeviceInfo"},
|
||||||
{12, nullptr, "Unknown11"},
|
{12, nullptr, "IncreaseDeviceInfoOrder"},
|
||||||
{13, nullptr, "Unknown12"},
|
{13, nullptr, "LlrNotify"},
|
||||||
{14, nullptr, "EnableRadio"},
|
{14, nullptr, "EnableRadio"},
|
||||||
{15, nullptr, "DisableRadio"},
|
{15, nullptr, "DisableRadio"},
|
||||||
{16, nullptr, "Unknown13"},
|
{16, nullptr, "HidDisconnect"},
|
||||||
{17, nullptr, "Unknown14"},
|
{17, nullptr, "HidSetRetransmissionMode"},
|
||||||
{18, nullptr, "Unknown15"},
|
{18, nullptr, "AcquireAwakeReqEvent"},
|
||||||
{19, nullptr, "Unknown16"},
|
{19, nullptr, "AcquireLlrStateEvent"},
|
||||||
{20, nullptr, "Unknown17"},
|
{20, nullptr, "IsLlrStarted"},
|
||||||
{21, nullptr, "Unknown18"},
|
{21, nullptr, "EnableSlotSaving"},
|
||||||
{22, nullptr, "Unknown19"},
|
{22, nullptr, "ProtectDeviceInfo"},
|
||||||
{23, nullptr, "Unknown20"},
|
{23, nullptr, "AcquireBleScanEvent"},
|
||||||
{24, nullptr, "Unknown21"},
|
{24, nullptr, "GetBleScanParameterGeneral"},
|
||||||
{25, nullptr, "Unknown22"},
|
{25, nullptr, "GetBleScanParameterSmartDevice"},
|
||||||
{26, nullptr, "Unknown23"},
|
{26, nullptr, "StartBleScanForGeneral"},
|
||||||
{27, nullptr, "Unknown24"},
|
{27, nullptr, "StopBleScanForGeneral"},
|
||||||
{28, nullptr, "Unknown25"},
|
{28, nullptr, "GetBleScanResultsForGeneral"},
|
||||||
{29, nullptr, "Unknown26"},
|
{29, nullptr, "StartBleScanForPairedDevice"},
|
||||||
{30, nullptr, "Unknown27"},
|
{30, nullptr, "StopBleScanForPairedDevice"},
|
||||||
{31, nullptr, "Unknown28"},
|
{31, nullptr, "StartBleScanForSmartDevice"},
|
||||||
{32, nullptr, "Unknown29"},
|
{32, nullptr, "StopBleScanForSmartDevice"},
|
||||||
{33, nullptr, "Unknown30"},
|
{33, nullptr, "GetBleScanResultsForSmartDevice"},
|
||||||
{34, nullptr, "Unknown31"},
|
{34, nullptr, "AcquireBleConnectionEvent"},
|
||||||
{35, nullptr, "Unknown32"},
|
{35, nullptr, "BleConnect"},
|
||||||
{36, nullptr, "Unknown33"},
|
{36, nullptr, "BleOverrideConnection"},
|
||||||
{37, nullptr, "Unknown34"},
|
{37, nullptr, "BleDisconnect"},
|
||||||
{38, nullptr, "Unknown35"},
|
{38, nullptr, "BleGetConnectionState"},
|
||||||
{39, nullptr, "Unknown36"},
|
{39, nullptr, "BleGetGattClientConditionList"},
|
||||||
{40, nullptr, "Unknown37"},
|
{40, nullptr, "AcquireBlePairingEvent"},
|
||||||
{41, nullptr, "Unknown38"},
|
{41, nullptr, "BlePairDevice"},
|
||||||
{42, nullptr, "Unknown39"},
|
{42, nullptr, "BleUnpairDeviceOnBoth"},
|
||||||
{43, nullptr, "Unknown40"},
|
{43, nullptr, "BleUnpairDevice"},
|
||||||
{44, nullptr, "Unknown41"},
|
{44, nullptr, "BleGetPairedAddresses"},
|
||||||
{45, nullptr, "Unknown42"},
|
{45, nullptr, "AcquireBleServiceDiscoveryEvent"},
|
||||||
{46, nullptr, "Unknown43"},
|
{46, nullptr, "GetGattServices"},
|
||||||
{47, nullptr, "Unknown44"},
|
{47, nullptr, "GetGattService"},
|
||||||
{48, nullptr, "Unknown45"},
|
{48, nullptr, "GetGattIncludedServices"},
|
||||||
{49, nullptr, "Unknown46"},
|
{49, nullptr, "GetBelongingService"},
|
||||||
{50, nullptr, "Unknown47"},
|
{50, nullptr, "GetGattCharacteristics"},
|
||||||
{51, nullptr, "Unknown48"},
|
{51, nullptr, "GetGattDescriptors"},
|
||||||
{52, nullptr, "Unknown49"},
|
{52, nullptr, "AcquireBleMtuConfigEvent"},
|
||||||
{53, nullptr, "Unknown50"},
|
{53, nullptr, "ConfigureBleMtu"},
|
||||||
{54, nullptr, "Unknown51"},
|
{54, nullptr, "GetBleMtu"},
|
||||||
{55, nullptr, "Unknown52"},
|
{55, nullptr, "RegisterBleGattDataPath"},
|
||||||
{56, nullptr, "Unknown53"},
|
{56, nullptr, "UnregisterBleGattDataPath"},
|
||||||
{57, nullptr, "Unknown54"},
|
{57, nullptr, "RegisterAppletResourceUserId"},
|
||||||
{58, nullptr, "Unknown55"},
|
{58, nullptr, "UnregisterAppletResourceUserId"},
|
||||||
{59, nullptr, "Unknown56"},
|
{59, nullptr, "SetAppletResourceUserId"},
|
||||||
|
{60, nullptr, "Unknown"},
|
||||||
|
{61, nullptr, "Unknown2"},
|
||||||
|
{62, nullptr, "Unknown3"},
|
||||||
|
{63, nullptr, "Unknown4"},
|
||||||
|
{64, nullptr, "Unknown5"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
@ -204,19 +209,19 @@ public:
|
||||||
explicit BTM_DBG() : ServiceFramework{"btm:dbg"} {
|
explicit BTM_DBG() : ServiceFramework{"btm:dbg"} {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, nullptr, "RegisterSystemEventForDiscovery"},
|
{0, nullptr, "AcquireDiscoveryEvent"},
|
||||||
{1, nullptr, "Unknown1"},
|
{1, nullptr, "StartDiscovery"},
|
||||||
{2, nullptr, "Unknown2"},
|
{2, nullptr, "CancelDiscovery"},
|
||||||
{3, nullptr, "Unknown3"},
|
{3, nullptr, "GetDeviceProperty"},
|
||||||
{4, nullptr, "Unknown4"},
|
{4, nullptr, "CreateBond"},
|
||||||
{5, nullptr, "Unknown5"},
|
{5, nullptr, "CancelBond"},
|
||||||
{6, nullptr, "Unknown6"},
|
{6, nullptr, "SetTsiMode"},
|
||||||
{7, nullptr, "Unknown7"},
|
{7, nullptr, "GeneralTest"},
|
||||||
{8, nullptr, "Unknown8"},
|
{8, nullptr, "HidConnect"},
|
||||||
{9, nullptr, "Unknown9"},
|
{9, nullptr, "GeneralGet"},
|
||||||
{10, nullptr, "Unknown10"},
|
{10, nullptr, "GetGattClientDisconnectionReason"},
|
||||||
{11, nullptr, "Unknown11"},
|
{11, nullptr, "GetBleConnectionParameter"},
|
||||||
{12, nullptr, "Unknown11"},
|
{12, nullptr, "GetBleConnectionParameterRequest"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
|
Reference in New Issue