]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
9 years agoImplemented UDS data_channel handling. Added the data_channel param to udsBind()...
yellows8 [Fri, 8 Apr 2016 23:09:15 +0000 (19:09 -0400)]
Implemented UDS data_channel handling. Added the data_channel param to udsBind(), udsConnectNetwork(), and udsCreateNetwork(). Removed UDS_SEND_NETFLAGS_DEFAULT. The output bind context for network creation/connecting is now optional.

9 years agohttpcSetSSLOpt support (#272)
Ken Sanislo [Fri, 8 Apr 2016 21:37:07 +0000 (14:37 -0700)]
httpcSetSSLOpt support (#272)

httpcSetSSLOpt support

9 years agoSwitched 'input8' for udsSendTo() to 'netflags'. Minor other changes.
yellows8 [Fri, 8 Apr 2016 05:20:21 +0000 (01:20 -0400)]
Switched 'input8' for udsSendTo() to 'netflags'. Minor other changes.

9 years agoUpdated comments for udsNodeInfo.
yellows8 [Thu, 7 Apr 2016 20:51:03 +0000 (16:51 -0400)]
Updated comments for udsNodeInfo.

9 years agoUpdated udsNodeInfo and udsConnectionStatus. Updated the related code for udsNodeInfo.
yellows8 [Thu, 7 Apr 2016 20:31:26 +0000 (16:31 -0400)]
Updated udsNodeInfo and udsConnectionStatus. Updated the related code for udsNodeInfo.

9 years agoUpdated udsConnectionStatus and networkstruct. Removed total_nodes from udsNetworkSca...
yellows8 [Thu, 7 Apr 2016 17:06:23 +0000 (13:06 -0400)]
Updated udsConnectionStatus and networkstruct. Removed total_nodes from udsNetworkScanInfo since that's stored in the networkstruct.

9 years agoConst-correctness and some size_t parameters for UDS
Michael Theall [Thu, 7 Apr 2016 15:38:44 +0000 (10:38 -0500)]
Const-correctness and some size_t parameters for UDS

9 years agoProperly load the UDS network wifi channel, apparently it was hard-coded to channel...
yellows8 [Thu, 7 Apr 2016 14:04:48 +0000 (10:04 -0400)]
Properly load the UDS network wifi channel, apparently it was hard-coded to channel 1 previously. This fixed the udsConnectNetwork() failures with the example app(not yet available under the 3ds-examples repo).

9 years agoAdded a new param to udsScanBeacons() for using ScanOnConnection internally.
yellows8 [Wed, 6 Apr 2016 23:38:56 +0000 (19:38 -0400)]
Added a new param to udsScanBeacons() for using ScanOnConnection internally.

9 years agoAdded udsEjectSpectator().
yellows8 [Wed, 6 Apr 2016 20:32:25 +0000 (16:32 -0400)]
Added udsEjectSpectator().

9 years agoImplemented full support for connecting as an UDS spectator.
yellows8 [Wed, 6 Apr 2016 20:26:06 +0000 (16:26 -0400)]
Implemented full support for connecting as an UDS spectator.

9 years agoUpdated the udsConnectionStatus struct.
yellows8 [Wed, 6 Apr 2016 17:41:37 +0000 (13:41 -0400)]
Updated the udsConnectionStatus struct.

9 years agoAdded udsWaitConnectionStatusEvent(). Updated the udsConnectionStatus struct.
yellows8 [Wed, 6 Apr 2016 17:02:26 +0000 (13:02 -0400)]
Added udsWaitConnectionStatusEvent(). Updated the udsConnectionStatus struct.

9 years agoAdded udsGetConnectionStatus().
yellows8 [Wed, 6 Apr 2016 16:46:08 +0000 (12:46 -0400)]
Added udsGetConnectionStatus().

9 years agoAdded udsGetNodeInformation().
yellows8 [Wed, 6 Apr 2016 16:24:43 +0000 (12:24 -0400)]
Added udsGetNodeInformation().

9 years agoImplemented udsUpdateNetworkAttribute() and udsSetNewConnectionsBlocked().
yellows8 [Wed, 6 Apr 2016 05:56:02 +0000 (01:56 -0400)]
Implemented udsUpdateNetworkAttribute() and udsSetNewConnectionsBlocked().

9 years agoDisabled the debug prints for network-connecting and implemented udsEjectClient().
yellows8 [Wed, 6 Apr 2016 04:48:08 +0000 (00:48 -0400)]
Disabled the debug prints for network-connecting and implemented udsEjectClient().

9 years agoAdd readdir batching to sdmc
Michael Theall [Tue, 5 Apr 2016 22:36:09 +0000 (17:36 -0500)]
Add readdir batching to sdmc

9 years agoAdd opendir/readdir/rewinddir/closedir/stat support to romfs
Michael Theall [Tue, 5 Apr 2016 22:35:45 +0000 (17:35 -0500)]
Add opendir/readdir/rewinddir/closedir/stat support to romfs

9 years agoAdded udsGetNetworkStructApplicationData().
yellows8 [Tue, 5 Apr 2016 21:37:07 +0000 (17:37 -0400)]
Added udsGetNetworkStructApplicationData().

9 years agoFixed udsGetChannel() output. Implemented udsSetApplicationData() and udsGetApplicati...
yellows8 [Tue, 5 Apr 2016 20:57:16 +0000 (16:57 -0400)]
Fixed udsGetChannel() output. Implemented udsSetApplicationData() and udsGetApplicationData(). Added a comment regarding why there's debug prints in udsConnectNetwork().

9 years agoAdded udsWaitDataAvailable(), based on gspWaitForEvent().
yellows8 [Tue, 5 Apr 2016 16:07:24 +0000 (12:07 -0400)]
Added udsWaitDataAvailable(), based on gspWaitForEvent().

9 years agoAdded UDS_HOST_NETWORKNODEID. Updated UDS_SENDFLAG_Broadcast.
yellows8 [Tue, 5 Apr 2016 15:26:48 +0000 (11:26 -0400)]
Added UDS_HOST_NETWORKNODEID. Updated UDS_SENDFLAG_Broadcast.

9 years agoAdded host_macaddress parameter to udsScanBeacons().
yellows8 [Tue, 5 Apr 2016 15:01:16 +0000 (11:01 -0400)]
Added host_macaddress parameter to udsScanBeacons().

9 years agoSwitched UDS_SEND_INPUT8_DEFAULT to 0xF3, udsPullPacket() returns actual output data...
yellows8 [Tue, 5 Apr 2016 14:26:16 +0000 (10:26 -0400)]
Switched UDS_SEND_INPUT8_DEFAULT to 0xF3, udsPullPacket() returns actual output data which was sent via udsSendTo() now.

9 years agoImplemented udsCheckNodeInfoInitialized() and udsGetChannel(). Implemented network...
yellows8 [Tue, 5 Apr 2016 14:07:04 +0000 (10:07 -0400)]
Implemented udsCheckNodeInfoInitialized() and udsGetChannel(). Implemented network (dis)connect and scanning code. Implemented udsPullPacket(). Fixed some issues. Updated uds.h for beacon scanning etc.

9 years agoAdded varioues UDS structs and enums+defines. Implemented udsGenerateDefaultNetworkSt...
yellows8 [Mon, 4 Apr 2016 18:26:49 +0000 (14:26 -0400)]
Added varioues UDS structs and enums+defines. Implemented udsGenerateDefaultNetworkStruct(). Implemented code for creating+destroying networks. Implemented code for binds. Implemented udsSendTo().

9 years agoLoad the UDS connection-status event handle, and a minor uds.c change.
yellows8 [Mon, 4 Apr 2016 04:22:32 +0000 (00:22 -0400)]
Load the UDS connection-status event handle, and a minor uds.c change.

9 years agoImplemented some support for ndmu. Started implementing support for UDS.
yellows8 [Mon, 4 Apr 2016 04:11:37 +0000 (00:11 -0400)]
Implemented some support for ndmu. Started implementing support for UDS.

9 years agoImplemented support for sslc cmd8..cmdc CertChain commands. Clear the serv handle...
yellows8 [Thu, 31 Mar 2016 16:37:20 +0000 (12:37 -0400)]
Implemented support for sslc cmd8..cmdc CertChain commands. Clear the serv handle in sslcExit.

9 years agoImplemented sslcAddCert.
yellows8 [Thu, 31 Mar 2016 15:28:32 +0000 (11:28 -0400)]
Implemented sslcAddCert.

9 years agoImplemented sslcContextInitSharedmem.
yellows8 [Wed, 30 Mar 2016 20:51:42 +0000 (16:51 -0400)]
Implemented sslcContextInitSharedmem.

9 years agoSwitched sslcContextGetStrings to sslcContextGetProtocolCipher since it's documented...
yellows8 [Wed, 30 Mar 2016 20:04:17 +0000 (16:04 -0400)]
Switched sslcContextGetStrings to sslcContextGetProtocolCipher since it's documented now.

9 years agoSwitched the sslopt enum to anonymous, and updated sslcRead(), as requested. Implemen...
yellows8 [Wed, 30 Mar 2016 19:02:18 +0000 (15:02 -0400)]
Switched the sslopt enum to anonymous, and updated sslcRead(), as requested. Implemented sslcContextGetStrings.

9 years agoSwitched to using an enum for sslopt. Updated the type handling for sslcRead.
yellows8 [Wed, 30 Mar 2016 18:24:24 +0000 (14:24 -0400)]
Switched to using an enum for sslopt. Updated the type handling for sslcRead.

9 years agoImplemented actual support for sslc, homebrew can now actually use sslc(see also...
yellows8 [Wed, 30 Mar 2016 17:57:20 +0000 (13:57 -0400)]
Implemented actual support for sslc, homebrew can now actually use sslc(see also the sslc example).

9 years agoImplemented SOCU_AddGlobalSocket.
yellows8 [Wed, 30 Mar 2016 17:52:15 +0000 (13:52 -0400)]
Implemented SOCU_AddGlobalSocket.

9 years agoMerge pull request #271 from MerryMage/channel-filter
fincs [Fri, 25 Mar 2016 19:33:57 +0000 (20:33 +0100)]
Merge pull request #271 from MerryMage/channel-filter

ndsp: Monopole and biquad channel filter params

9 years agondsp: Monopole and biquad channel filter params
MerryMage [Fri, 25 Mar 2016 18:58:00 +0000 (18:58 +0000)]
ndsp: Monopole and biquad channel filter params

9 years agoMerge pull request #269 from wwylele/master
fincs [Fri, 18 Mar 2016 21:47:31 +0000 (22:47 +0100)]
Merge pull request #269 from wwylele/master

fix hid:GetGyroscopeRawToDpsCoefficient

9 years agofix hid:GetGyroscopeRawToDpsCoefficient
wwylele [Fri, 18 Mar 2016 20:52:16 +0000 (22:52 +0200)]
fix hid:GetGyroscopeRawToDpsCoefficient

9 years agoAdded initial sslc support. Minus init/exit this only has sslcAddTrustedRootCA implem...
yellows8 [Wed, 9 Mar 2016 00:29:48 +0000 (19:29 -0500)]
Added initial sslc support. Minus init/exit this only has sslcAddTrustedRootCA implemented.

9 years agoAdded httpc AddTrustedRootCA.
yellows8 [Tue, 8 Mar 2016 23:19:51 +0000 (18:19 -0500)]
Added httpc AddTrustedRootCA.

9 years agoFinally added code to exit httpc properly via HTTPC_Finalize.
yellows8 [Tue, 8 Mar 2016 20:00:57 +0000 (15:00 -0500)]
Finally added code to exit httpc properly via HTTPC_Finalize.

9 years agoMerge pull request #267 from Bownairo/master
yellows8 [Sun, 6 Mar 2016 20:24:04 +0000 (15:24 -0500)]
Merge pull request #267 from Bownairo/master

Adds function addPostDataRaw

9 years agoAdds function addPostDataRaw
Eero Kelly [Wed, 2 Mar 2016 03:40:26 +0000 (22:40 -0500)]
Adds function addPostDataRaw

9 years agoMerge pull request #266 from ObsidianX/nit-pick-hid-comments
Dave Murphy [Sun, 6 Mar 2016 13:13:49 +0000 (13:13 +0000)]
Merge pull request #266 from ObsidianX/nit-pick-hid-comments

Update hid.h comments

9 years agoClear the httpc sharedmem before using svcCreateMemoryBlock.
yellows8 [Mon, 29 Feb 2016 05:45:42 +0000 (00:45 -0500)]
Clear the httpc sharedmem before using svcCreateMemoryBlock.

9 years agoUpdate hid.h comments
Ryan Loebs [Wed, 24 Feb 2016 12:32:57 +0000 (04:32 -0800)]
Update hid.h comments

Nit-picky update to accurately describe the `hidKeys*()` functions, and how to extract individual bits from them.

9 years agoMerge pull request #265 from Lectem/patch-1
fincs [Tue, 16 Feb 2016 18:27:02 +0000 (19:27 +0100)]
Merge pull request #265 from Lectem/patch-1

add a note for svcExitThread and the thread API

9 years agoadd a note for svcExitThread and the thread API
Lectem [Tue, 16 Feb 2016 15:21:17 +0000 (10:21 -0500)]
add a note for svcExitThread and the thread API

Calling svcExitThread will make it so that threadCreate detached parameter won't work.

9 years agoImplemented actual httpc sharedmem handling. Implemented httpc AddPostDataAscii.
yellows8 [Fri, 12 Feb 2016 23:38:39 +0000 (18:38 -0500)]
Implemented actual httpc sharedmem handling. Implemented httpc AddPostDataAscii.

9 years agoMerge pull request #263 from smealum/libctru-cleanup
Dave Murphy [Fri, 12 Feb 2016 17:16:50 +0000 (17:16 +0000)]
Merge pull request #263 from smealum/libctru-cleanup

httpc fixes and extensions

9 years agohttpc fixes and extensions
Ken Sanislo [Fri, 29 Jan 2016 22:16:50 +0000 (14:16 -0800)]
httpc fixes and extensions

Signed-off-by: Dave Murphy <davem@devkitpro.org>
9 years agoMerge pull request #260 from javimadgit/master
fincs [Thu, 4 Feb 2016 16:53:31 +0000 (17:53 +0100)]
Merge pull request #260 from javimadgit/master

Add basic NFC service support

9 years agoFix nfcInit error
Javi [Thu, 4 Feb 2016 16:20:40 +0000 (17:20 +0100)]
Fix nfcInit error

9 years agoFixed prefix and parameters declaration
Javi [Thu, 4 Feb 2016 16:18:26 +0000 (17:18 +0100)]
Fixed prefix and parameters declaration

9 years agoAdd basic NFC service support
Javi [Thu, 4 Feb 2016 11:51:06 +0000 (12:51 +0100)]
Add basic NFC service support

9 years agoMerge pull request #259 from yuriks/patch-1
mtheall [Wed, 3 Feb 2016 08:45:00 +0000 (02:45 -0600)]
Merge pull request #259 from yuriks/patch-1

Fix crash when getting or setting struct params in CAM:U

9 years agoFix crash when getting or setting struct params in CAM:U
Yuri Kunde Schlesner [Wed, 3 Feb 2016 08:25:54 +0000 (00:25 -0800)]
Fix crash when getting or setting struct params in CAM:U

9 years agoAdd ndspChnIsPaused/ndspChnSetPaused (untested)
fincs [Thu, 28 Jan 2016 22:46:03 +0000 (23:46 +0100)]
Add ndspChnIsPaused/ndspChnSetPaused (untested)

9 years agoAdapt AMPXI to use libctru naming conventions for plain service calls.
fincs [Thu, 28 Jan 2016 22:44:51 +0000 (23:44 +0100)]
Adapt AMPXI to use libctru naming conventions for plain service calls.

9 years agoAdded ampxiInstallTitlesFinish.
yellows8 [Tue, 26 Jan 2016 06:09:21 +0000 (01:09 -0500)]
Added ampxiInstallTitlesFinish.

9 years agoMerge pull request #256 from Lectem/more_soc
mtheall [Tue, 26 Jan 2016 01:46:28 +0000 (19:46 -0600)]
Merge pull request #256 from Lectem/more_soc

added SOCU_GetNetworkOpt

9 years agoadded SOCU_GetNetworkOpt
Lectem [Mon, 25 Jan 2016 00:38:29 +0000 (19:38 -0500)]
added SOCU_GetNetworkOpt

9 years agoMerge pull request #254 from Rinnegatamante/master
Dave Murphy [Sun, 24 Jan 2016 18:05:17 +0000 (18:05 +0000)]
Merge pull request #254 from Rinnegatamante/master

Added some missing news:s funcs and updated header.

9 years agoMerge pull request #253 from yifanlu/master
Dave Murphy [Sat, 23 Jan 2016 22:42:26 +0000 (22:42 +0000)]
Merge pull request #253 from yifanlu/master

Added svc calls for svcCreateCodeSet and svcCreateProcess

9 years agoAdded svc calls for svcCreateCodeSet and svcCreateProcess
Yifan Lu [Sat, 23 Jan 2016 00:18:13 +0000 (16:18 -0800)]
Added svc calls for svcCreateCodeSet and svcCreateProcess

9 years agoAdded some missing news:s funcs and updated header.
Rinnegatamante [Sat, 23 Jan 2016 11:47:14 +0000 (12:47 +0100)]
Added some missing news:s funcs and updated header.

Added some missing news:s funcs and updated header.

9 years agoAdd fallback RomFS path for when argv isn't available (e.g. boot.3dsx)
fincs [Fri, 22 Jan 2016 23:59:39 +0000 (00:59 +0100)]
Add fallback RomFS path for when argv isn't available (e.g. boot.3dsx)

9 years agoAdd sdmc_getmtime
Michael Theall [Fri, 22 Jan 2016 22:40:28 +0000 (16:40 -0600)]
Add sdmc_getmtime

9 years agofix spacing
Michael Theall [Fri, 22 Jan 2016 01:22:43 +0000 (19:22 -0600)]
fix spacing

9 years agoAdd SOCU_GetIPInfo
Michael Theall [Fri, 22 Jan 2016 01:21:43 +0000 (19:21 -0600)]
Add SOCU_GetIPInfo

9 years agoreplace 6, 17 with IPPROTO_TCP, IPPROTO_UDP respectively
Michael Theall [Thu, 21 Jan 2016 23:12:58 +0000 (17:12 -0600)]
replace 6, 17 with IPPROTO_TCP, IPPROTO_UDP respectively

9 years agoMerge pull request #251 from ss23/250_socket_protocol
Dave Murphy [Thu, 21 Jan 2016 09:35:46 +0000 (09:35 +0000)]
Merge pull request #251 from ss23/250_socket_protocol

Change protocol in socket() to 0 if appropriate - Fix #250

9 years agoChange protocol in socket() to 0 if appropriate - Fix #250
Stephen Shkardoon [Thu, 21 Jan 2016 04:56:48 +0000 (23:56 -0500)]
Change protocol in socket() to 0 if appropriate - Fix #250

When the user is specifying TCP or UDP and it is the only option,
change the protocol parameter to 0, which is the only value the
underlying 3DS system will accept as valid. This compatibility layer
ensures that code will work transparently whether on a host system
or the 3DS.

9 years agoMerge pull request #247 from Lectem/more_soc
Dave Murphy [Thu, 21 Jan 2016 00:16:26 +0000 (00:16 +0000)]
Merge pull request #247 from Lectem/more_soc

added gethostname

9 years agoTested all the send/recv flags and the SOL_SOCKET options
Michael Theall [Thu, 21 Jan 2016 00:10:48 +0000 (18:10 -0600)]
Tested all the send/recv flags and the SOL_SOCKET options

9 years agoMerge pull request #249 from Lectem/patch-2
Dave Murphy [Wed, 20 Jan 2016 23:20:48 +0000 (23:20 +0000)]
Merge pull request #249 from Lectem/patch-2

remove restrict keyword in arpa/inet.h fixes #248

9 years agoremove restrict keyword in arpa/inet.h fixes #248
Lectem [Wed, 20 Jan 2016 21:15:48 +0000 (16:15 -0500)]
remove restrict keyword in arpa/inet.h fixes #248

This causes problems for non-c99 and c++ projects.

9 years agoFix Doxygen oversight
fincs [Tue, 19 Jan 2016 22:45:31 +0000 (23:45 +0100)]
Fix Doxygen oversight

9 years agoadded gethostname
Lectem [Tue, 19 Jan 2016 19:14:32 +0000 (14:14 -0500)]
added gethostname

9 years agoAdd shared system font parsing code.
fincs [Tue, 19 Jan 2016 18:23:58 +0000 (19:23 +0100)]
Add shared system font parsing code.

9 years agoFix use of RemoveDevice()
Michael Theall [Tue, 19 Jan 2016 01:34:12 +0000 (19:34 -0600)]
Fix use of RemoveDevice()

9 years agoMerge pull request #245 from Lectem/more_soc
mtheall [Mon, 18 Jan 2016 03:53:47 +0000 (21:53 -0600)]
Merge pull request #245 from Lectem/more_soc

fix getaddrinfo

9 years agofix getaddrinfo
Lectem [Mon, 18 Jan 2016 03:50:40 +0000 (22:50 -0500)]
fix getaddrinfo

9 years agoMerge pull request #244 from Lectem/more_soc
Dave Murphy [Sun, 17 Jan 2016 18:36:06 +0000 (18:36 +0000)]
Merge pull request #244 from Lectem/more_soc

SOC:u added close/shutdown sockets and inet_pton/ntop

9 years agoadded inet_pton and inet_ntop
Lectem [Sun, 17 Jan 2016 17:58:21 +0000 (12:58 -0500)]
added inet_pton and inet_ntop

9 years agofix alignment in arpa/inet.h
Lectem [Sun, 17 Jan 2016 17:25:41 +0000 (12:25 -0500)]
fix alignment in arpa/inet.h

9 years agoSOC:u added close/shutdown sockets
Lectem [Sun, 17 Jan 2016 02:13:22 +0000 (21:13 -0500)]
SOC:u added close/shutdown sockets

9 years agoMerge branch 'master' of github.com:smealum/ctrulib
Michael Theall [Sat, 16 Jan 2016 22:32:27 +0000 (16:32 -0600)]
Merge branch 'master' of github.com:smealum/ctrulib

9 years agoproper EEXIST error for mkdir
Michael Theall [Sat, 16 Jan 2016 22:32:21 +0000 (16:32 -0600)]
proper EEXIST error for mkdir

9 years agoMove sdmc_dir_t into 3ds/sdmc.h
Michael Theall [Sat, 16 Jan 2016 22:30:11 +0000 (16:30 -0600)]
Move sdmc_dir_t into 3ds/sdmc.h

9 years agoensure svcSleepThread gets u64
Dave Murphy [Sat, 16 Jan 2016 21:06:33 +0000 (21:06 +0000)]
ensure svcSleepThread gets u64

9 years agoMerge pull request #242 from Lectem/more_soc
mtheall [Fri, 15 Jan 2016 00:18:44 +0000 (18:18 -0600)]
Merge pull request #242 from Lectem/more_soc

More soc

9 years agoAdded gai_strerror
Lectem [Wed, 13 Jan 2016 22:20:46 +0000 (17:20 -0500)]
Added gai_strerror

9 years agoadded SOC:u getaddrinfo
Lectem [Wed, 13 Jan 2016 17:20:33 +0000 (12:20 -0500)]
added SOC:u getaddrinfo

9 years agoadded SOC:u getnameinfo
Lectem [Wed, 13 Jan 2016 17:18:16 +0000 (12:18 -0500)]
added SOC:u getnameinfo

9 years agofix sockaddr_storage to match the one used by SOC
Lectem [Wed, 13 Jan 2016 04:56:07 +0000 (23:56 -0500)]
fix sockaddr_storage to match the one used by SOC

9 years agofix PF_INET6 value
Lectem [Tue, 12 Jan 2016 22:36:45 +0000 (17:36 -0500)]
fix PF_INET6 value