TMA (Target Manager) acts as a debugging sysmodule for development kits. This system module is loaded in retail units, but remains unused.
These services are inaccessible on retail units. However, all System Applets have permission to access them (see NPDM#Service_Access_Control).
htc
This is "nn::tma::IHtcManager".
Cmd |
Name
|
0 |
GetEnvironmentVariable
|
1 |
GetEnvironmentVariableLength
|
2 |
BindHostConnectionEvent
|
3 |
BindHostDisconnectionEvent
|
4 |
BindHostConnectionEventForSystem
|
5 |
BindHostDisconnectionEventForSystem
|
6 |
[3.0.0+] GetBridgeIpAddress
|
7 |
[3.0.0+] GetBridgePort
|
8 |
[3.0.0+] SetUsbDetachedForDebug
|
9 |
[4.0.0+] GetBridgeSubnetMask
|
10 |
[4.0.0+] GetBridgeMacAddress
|
11 |
[6.0.0+] GetWorkingDirectoryPath
|
12 |
[6.0.0+] GetWorkingDirectoryPathSize
|
13 |
[6.0.0+] RunOnHost
|
htcs
This is "nn::tma::IHtcsManager".
Cmd |
Name
|
0 |
Socket
|
1 |
Close
|
2 |
Connect
|
3 |
Bind
|
4 |
Listen
|
5 |
Accept
|
6 |
Recv
|
7 |
Send
|
8 |
Shutdown
|
9 |
Fcntl
|
10 |
GetPeerNameAny
|
11 |
GetDefaultHostName
|
12 |
CreateSocketOld
|
13 |
CreateSocket
|
100 |
RegisterProcessId
|
101 |
MonitorManager
|
ISocket
This is "nn::tma::ISocket".
Cmd |
Name
|
0 |
Close
|
1 |
Connect
|
2 |
Bind
|
3 |
Listen
|
4 |
Accept
|
5 |
Recv
|
6 |
Send
|
7 |
Shutdown
|
8 |
Fcntl
|
htc:tenv
This is "nn::htc::tenv::IServiceManager".
Cmd |
Name
|
0 |
GetServiceInterface
|
IService
This is "nn::htc::tenv::IService".
Cmd |
Name
|
0 |
GetVariable
|
1 |
GetVariableLength
|
2 |
WaitUntilVariableAvailable
|
file_io
This is "nn::tma::IFileManager".
This service is not normally present on retail units.
Cmd |
Name |
Notes
|
0 |
OpenFile |
returns an #IFileAccessor
|
1 |
FileExists |
|
2 |
DeleteFile |
|
3 |
RenameFile |
|
4 |
GetIOType |
|
5 |
OpenDirectory |
returns an #IDirectoryAccessor
|
6 |
DirectoryExists |
|
7 |
CreateDirectory |
|
8 |
DeleteDirectory |
|
9 |
RenameDirectory |
|
10 |
CreateFile |
|
11 |
GetFileTimeStamp |
|
12 |
GetCaseSensitivePath |
|
IFileAccessor
This is "nn::tma::IFileAccessor".
Cmd |
Name
|
0 |
ReadFile
|
1 |
WriteFile
|
2 |
GetFileSize
|
3 |
SetFileSize
|
4 |
FlushFile
|
5 |
SetPriorityForFile
|
6 |
GetPriorityForFile
|
IDirectoryAccessor
This is "nn::tma::IDirectoryAccessor".
Cmd |
Name
|
0 |
GetEntryCount
|
1 |
ReadDirectory
|
2 |
SetPriorityForDirectory
|
3 |
GetPriorityForDirectory
|