]> Chaos Git - corbenik/ctrulib.git/commitdiff
Added UDS_HOST_NETWORKNODEID. Updated UDS_SENDFLAG_Broadcast.
authoryellows8 <yellows8@users.noreply.github.com>
Tue, 5 Apr 2016 15:26:48 +0000 (11:26 -0400)
committeryellows8 <yellows8@users.noreply.github.com>
Tue, 5 Apr 2016 15:26:48 +0000 (11:26 -0400)
libctru/include/3ds/services/uds.h

index ef14bc6ebe295f20184e8e45e97cca9681607066..608783b3a1eca327bb5ab1d4de1c3eeebea0c735 100644 (file)
@@ -10,6 +10,9 @@
 /// Broadcast value for NetworkNodeID / alias for all NetworkNodeIDs.
 #define UDS_BROADCAST_NETWORKNODEID 0xFFFF
 
+/// NetworkNodeID for the host(the first node).
+#define UDS_HOST_NETWORKNODEID 0x1
+
 /// Default value that can be used for udsSendTo() input8.
 #define UDS_SEND_INPUT8_DEFAULT 0xF3
 
@@ -107,7 +110,7 @@ enum {
 
 enum {
        UDS_SENDFLAG_Default = BIT(0), //Unknown what this bit is for.
-       UDS_SENDFLAG_Broadcast = BIT(1) //When set, broadcast the data frame even when UDS_BROADCAST_NETWORKNODEID isn't used. Needs verified.
+       UDS_SENDFLAG_Broadcast = BIT(1) //When set, broadcast the data frame via the destination MAC address even when UDS_BROADCAST_NETWORKNODEID isn't used.
 };
 
 typedef enum {