1 /*---------------------------------------------------------------------------* 2 3 Copyright (C) 2012 Nintendo. All rights reserved. 4 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 11 *---------------------------------------------------------------------------*/ 12 13 // 14 // Do not edit this file. 15 // This file is auto-generated. 16 // 17 18 #ifndef NN_AC_AC_RESULT_H_ 19 #define NN_AC_AC_RESULT_H_ 20 21 #include <nn/Result.h> 22 #include <nn/Modules.h> 23 24 25 #ifdef __cplusplus 26 27 namespace nn { 28 namespace ac { 29 30 //! @addtogroup nn_ac_result 31 //! @{ 32 33 34 /*! 35 @class nn::ac::ResultConnError 36 @brief Invalid content. 37 38 Handling this <tt>Result</tt> object catches all of the following result objects. 39 40 @li <tt>@ref nn::ac::ResultErrorKey</tt> 41 42 43 */ 44 NN_DEFINE_RESULT_CONST_RANGE( 45 ResultConnError, 46 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 25600, 25600, 38400 47 ); 48 49 /*! 50 @class nn::ac::ResultErrorKey 51 @brief Invalid content. 52 53 This result is subsumed by the following results and can be caught by handling any of them. 54 55 @li <tt>@ref nn::ac::ResultConnError</tt> 56 57 58 */ 59 NN_DEFINE_RESULT_CONST_RANGE( 60 ResultErrorKey, 61 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 25728, 25728, 25856 62 ); 63 64 /*! 65 @class nn::ac::ResultRetry 66 @brief Failed, but can be reopened after the cause is addressed. 67 68 Handling this <tt>Result</tt> object catches all of the following result objects. 69 70 @li <tt>@ref nn::ac::ResultCanceled</tt> 71 @li <tt>@ref nn::ac::ResultAlreadyExists</tt> 72 @li <tt>@ref nn::ac::ResultInClosing</tt> 73 @li <tt>@ref nn::ac::ResultProcessing</tt> 74 75 76 */ 77 NN_DEFINE_RESULT_CONST_RANGE( 78 ResultRetry, 79 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38400, 38400, 51200 80 ); 81 82 /*! 83 @class nn::ac::ResultCanceled 84 @brief Canceled. 85 86 This result is subsumed by the following results and can be caught by handling any of them. 87 88 @li <tt>@ref nn::ac::ResultRetry</tt> 89 90 91 */ 92 NN_DEFINE_RESULT_CONST_RANGE( 93 ResultCanceled, 94 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38528, 38528, 38656 95 ); 96 97 /*! 98 @class nn::ac::ResultAlreadyExists 99 @brief Already exists. 100 101 This result is subsumed by the following results and can be caught by handling any of them. 102 103 @li <tt>@ref nn::ac::ResultRetry</tt> 104 105 106 */ 107 NN_DEFINE_RESULT_CONST_RANGE( 108 ResultAlreadyExists, 109 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38656, 38656, 38784 110 ); 111 112 /*! 113 @class nn::ac::ResultInClosing 114 @brief In the process of closing. 115 116 This result is subsumed by the following results and can be caught by handling any of them. 117 118 @li <tt>@ref nn::ac::ResultRetry</tt> 119 120 121 */ 122 NN_DEFINE_RESULT_CONST_RANGE( 123 ResultInClosing, 124 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 38784, 38784, 38912 125 ); 126 127 /*! 128 @class nn::ac::ResultProcessing 129 @brief In the process of connecting. (Probably not returned.) 130 131 This result is subsumed by the following results and can be caught by handling any of them. 132 133 @li <tt>@ref nn::ac::ResultRetry</tt> 134 135 136 */ 137 NN_DEFINE_RESULT_CONST_RANGE( 138 ResultProcessing, 139 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 39680, 39680, 39808 140 ); 141 142 /*! 143 @class nn::ac::ResultUsage 144 @brief Invalid usage or state. 145 146 Handling this <tt>Result</tt> object catches all of the following result objects. 147 148 @li <tt>@ref nn::ac::ResultInvalidArgumentOutOfRange</tt> 149 @li <tt>@ref nn::ac::ResultOutOfMemory</tt> 150 @li <tt>@ref nn::ac::ResultInvalidParameter</tt> 151 @li <tt>@ref nn::ac::ResultAlreadyInitialized</tt> 152 @li <tt>@ref nn::ac::ResultAlreadyConnecting</tt> 153 @li <tt>@ref nn::ac::ResultNotConnecting</tt> 154 @li <tt>@ref nn::ac::ResultDebugOnly</tt> 155 @li <tt>@ref nn::ac::ResultNotAcInitialized</tt> 156 157 158 */ 159 NN_DEFINE_RESULT_CONST_RANGE( 160 ResultUsage, 161 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51200, 51200, 64000 162 ); 163 164 /*! 165 @class nn::ac::ResultInvalidArgumentOutOfRange 166 @brief Argument is out of range. (Not yet used.) 167 168 This result is subsumed by the following results and can be caught by handling any of them. 169 170 @li <tt>@ref nn::ac::ResultUsage</tt> 171 172 173 */ 174 NN_DEFINE_RESULT_CONST_RANGE( 175 ResultInvalidArgumentOutOfRange, 176 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51328, 51328, 51456 177 ); 178 179 /*! 180 @class nn::ac::ResultOutOfMemory 181 @brief Insufficient memory. (Not yet used.) 182 183 This result is subsumed by the following results and can be caught by handling any of them. 184 185 @li <tt>@ref nn::ac::ResultUsage</tt> 186 187 188 */ 189 NN_DEFINE_RESULT_CONST_RANGE( 190 ResultOutOfMemory, 191 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51456, 51456, 51584 192 ); 193 194 /*! 195 @class nn::ac::ResultInvalidParameter 196 @brief Invalid parameter. 197 198 This result is subsumed by the following results and can be caught by handling any of them. 199 200 @li <tt>@ref nn::ac::ResultUsage</tt> 201 202 203 */ 204 NN_DEFINE_RESULT_CONST_RANGE( 205 ResultInvalidParameter, 206 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51584, 51584, 51712 207 ); 208 209 /*! 210 @class nn::ac::ResultAlreadyInitialized 211 @brief Already initialized. (Not yet used.) 212 213 This result is subsumed by the following results and can be caught by handling any of them. 214 215 @li <tt>@ref nn::ac::ResultUsage</tt> 216 217 218 */ 219 NN_DEFINE_RESULT_CONST_RANGE( 220 ResultAlreadyInitialized, 221 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51712, 51712, 51840 222 ); 223 224 /*! 225 @class nn::ac::ResultAlreadyConnecting 226 @brief Already connected. (Returned if there is a collision while locked.) 227 228 This result is subsumed by the following results and can be caught by handling any of them. 229 230 @li <tt>@ref nn::ac::ResultUsage</tt> 231 232 233 */ 234 NN_DEFINE_RESULT_CONST_RANGE( 235 ResultAlreadyConnecting, 236 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51840, 51840, 51968 237 ); 238 239 /*! 240 @class nn::ac::ResultNotConnecting 241 @brief Not connecting. (Not yet used.) 242 243 This result is subsumed by the following results and can be caught by handling any of them. 244 245 @li <tt>@ref nn::ac::ResultUsage</tt> 246 247 248 */ 249 NN_DEFINE_RESULT_CONST_RANGE( 250 ResultNotConnecting, 251 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 51968, 51968, 52096 252 ); 253 254 /*! 255 @class nn::ac::ResultDebugOnly 256 @brief Debugging purposes only. (Not yet used.) 257 258 This result is subsumed by the following results and can be caught by handling any of them. 259 260 @li <tt>@ref nn::ac::ResultUsage</tt> 261 262 263 */ 264 NN_DEFINE_RESULT_CONST_RANGE( 265 ResultDebugOnly, 266 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 52096, 52096, 52224 267 ); 268 269 /*! 270 @class nn::ac::ResultNotAcInitialized 271 @brief AC Library is not initialized. 272 273 This result is subsumed by the following results and can be caught by handling any of them. 274 275 @li <tt>@ref nn::ac::ResultUsage</tt> 276 277 278 */ 279 NN_DEFINE_RESULT_CONST_RANGE( 280 ResultNotAcInitialized, 281 nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_AC, 52224, 52224, 52352 282 ); 283 284 /*! 285 @class nn::ac::ResultInvalid 286 @brief Invalid content. 287 288 Handling this <tt>Result</tt> object catches all of the following result objects. 289 290 @li <tt>@ref nn::ac::ResultNotInitialized</tt> 291 @li <tt>@ref nn::ac::ResultInvalidData</tt> 292 @li <tt>@ref nn::ac::ResultNotAgreeEula</tt> 293 @li <tt>@ref nn::ac::ResultLimitInternetAccess</tt> 294 @li <tt>@ref nn::ac::ResultFailedFileAccess</tt> 295 @li <tt>@ref nn::ac::ResultFailedWireless</tt> 296 @li <tt>@ref nn::ac::ResultNotConnectUsb</tt> 297 @li <tt>@ref nn::ac::ResultNotLinkUsb</tt> 298 @li <tt>@ref nn::ac::ResultNotFoundAccessPoint</tt> 299 @li <tt>@ref nn::ac::ResultFailedConnectAp</tt> 300 @li <tt>@ref nn::ac::ResultInvalidKeyValue</tt> 301 @li <tt>@ref nn::ac::ResultFailedDhcp</tt> 302 @li <tt>@ref nn::ac::ResultConflictIpAddress</tt> 303 @li <tt>@ref nn::ac::ResultUnsupportAuthAlgorithm</tt> 304 @li <tt>@ref nn::ac::ResultInvalidDns</tt> 305 @li <tt>@ref nn::ac::ResultInvalidProxy</tt> 306 @li <tt>@ref nn::ac::ResultFailedConntest</tt> 307 @li <tt>@ref nn::ac::ResultAlreadyExclusive</tt> 308 @li <tt>@ref nn::ac::ResultNotExclusive</tt> 309 @li <tt>@ref nn::ac::ResultInvalidLocation</tt> 310 311 312 */ 313 NN_DEFINE_RESULT_CONST_RANGE( 314 ResultInvalid, 315 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64000, 64000, 76800 316 ); 317 318 /*! 319 @class nn::ac::ResultNotInitialized 320 @brief Not initialized (such as when no profile exists). 321 322 This result is subsumed by the following results and can be caught by handling any of them. 323 324 @li <tt>@ref nn::ac::ResultInvalid</tt> 325 326 327 */ 328 NN_DEFINE_RESULT_CONST_RANGE( 329 ResultNotInitialized, 330 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64128, 64128, 64256 331 ); 332 333 /*! 334 @class nn::ac::ResultInvalidData 335 @brief Invalid data (such as not succeeding at connection tests). 336 337 This result is subsumed by the following results and can be caught by handling any of them. 338 339 @li <tt>@ref nn::ac::ResultInvalid</tt> 340 341 342 */ 343 NN_DEFINE_RESULT_CONST_RANGE( 344 ResultInvalidData, 345 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64256, 64256, 64384 346 ); 347 348 /*! 349 @class nn::ac::ResultNotAgreeEula 350 @brief User has not agreed to the EULA. (Not yet used.) 351 352 This result is subsumed by the following results and can be caught by handling any of them. 353 354 @li <tt>@ref nn::ac::ResultInvalid</tt> 355 356 357 */ 358 NN_DEFINE_RESULT_CONST_RANGE( 359 ResultNotAgreeEula, 360 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64384, 64384, 64512 361 ); 362 363 /*! 364 @class nn::ac::ResultLimitInternetAccess 365 @brief Internet connection is restricted (such as when blocked from the network stack). 366 367 This result is subsumed by the following results and can be caught by handling any of them. 368 369 @li <tt>@ref nn::ac::ResultInvalid</tt> 370 371 372 */ 373 NN_DEFINE_RESULT_CONST_RANGE( 374 ResultLimitInternetAccess, 375 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64512, 64512, 64640 376 ); 377 378 /*! 379 @class nn::ac::ResultFailedFileAccess 380 @brief NAND is corrupted. 381 382 This result is subsumed by the following results and can be caught by handling any of them. 383 384 @li <tt>@ref nn::ac::ResultInvalid</tt> 385 386 387 */ 388 NN_DEFINE_RESULT_CONST_RANGE( 389 ResultFailedFileAccess, 390 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64640, 64640, 64768 391 ); 392 393 /*! 394 @class nn::ac::ResultFailedWireless 395 @brief Wireless device is damaged or malfunctioning. 396 397 This result is subsumed by the following results and can be caught by handling any of them. 398 399 @li <tt>@ref nn::ac::ResultInvalid</tt> 400 401 402 */ 403 NN_DEFINE_RESULT_CONST_RANGE( 404 ResultFailedWireless, 405 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64768, 64768, 64896 406 ); 407 408 /*! 409 @class nn::ac::ResultNotConnectUsb 410 @brief The USB Ethernet adapter is not connected. 411 412 This result is subsumed by the following results and can be caught by handling any of them. 413 414 @li <tt>@ref nn::ac::ResultInvalid</tt> 415 416 417 */ 418 NN_DEFINE_RESULT_CONST_RANGE( 419 ResultNotConnectUsb, 420 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 64896, 64896, 65024 421 ); 422 423 /*! 424 @class nn::ac::ResultNotLinkUsb 425 @brief The USB Ethernet adapter is connected, but there is no link. 426 427 This result is subsumed by the following results and can be caught by handling any of them. 428 429 @li <tt>@ref nn::ac::ResultInvalid</tt> 430 431 432 */ 433 NN_DEFINE_RESULT_CONST_RANGE( 434 ResultNotLinkUsb, 435 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65024, 65024, 65152 436 ); 437 438 /*! 439 @class nn::ac::ResultNotFoundAccessPoint 440 @brief Access point was not found. 441 442 This result is subsumed by the following results and can be caught by handling any of them. 443 444 @li <tt>@ref nn::ac::ResultInvalid</tt> 445 446 447 */ 448 NN_DEFINE_RESULT_CONST_RANGE( 449 ResultNotFoundAccessPoint, 450 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65280, 65280, 65408 451 ); 452 453 /*! 454 @class nn::ac::ResultFailedConnectAp 455 @brief Access point connection failed. 456 457 This result is subsumed by the following results and can be caught by handling any of them. 458 459 @li <tt>@ref nn::ac::ResultInvalid</tt> 460 461 462 */ 463 NN_DEFINE_RESULT_CONST_RANGE( 464 ResultFailedConnectAp, 465 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65408, 65408, 65536 466 ); 467 468 /*! 469 @class nn::ac::ResultInvalidKeyValue 470 @brief Invalid key value. 471 472 This result is subsumed by the following results and can be caught by handling any of them. 473 474 @li <tt>@ref nn::ac::ResultInvalid</tt> 475 476 477 */ 478 NN_DEFINE_RESULT_CONST_RANGE( 479 ResultInvalidKeyValue, 480 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65536, 65536, 65664 481 ); 482 483 /*! 484 @class nn::ac::ResultFailedDhcp 485 @brief DHCP failed. (Not yet used.) 486 487 This result is subsumed by the following results and can be caught by handling any of them. 488 489 @li <tt>@ref nn::ac::ResultInvalid</tt> 490 491 492 */ 493 NN_DEFINE_RESULT_CONST_RANGE( 494 ResultFailedDhcp, 495 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65664, 65664, 65792 496 ); 497 498 /*! 499 @class nn::ac::ResultConflictIpAddress 500 @brief IP address conflict. 501 502 This result is subsumed by the following results and can be caught by handling any of them. 503 504 @li <tt>@ref nn::ac::ResultInvalid</tt> 505 506 507 */ 508 NN_DEFINE_RESULT_CONST_RANGE( 509 ResultConflictIpAddress, 510 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65792, 65792, 65920 511 ); 512 513 /*! 514 @class nn::ac::ResultUnsupportAuthAlgorithm 515 @brief Unsupported encryption algorithm. 516 517 This result is subsumed by the following results and can be caught by handling any of them. 518 519 @li <tt>@ref nn::ac::ResultInvalid</tt> 520 521 522 */ 523 NN_DEFINE_RESULT_CONST_RANGE( 524 ResultUnsupportAuthAlgorithm, 525 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 65920, 65920, 66048 526 ); 527 528 /*! 529 @class nn::ac::ResultInvalidDns 530 @brief DNS resolution failed. (Not yet used.) 531 532 This result is subsumed by the following results and can be caught by handling any of them. 533 534 @li <tt>@ref nn::ac::ResultInvalid</tt> 535 536 537 */ 538 NN_DEFINE_RESULT_CONST_RANGE( 539 ResultInvalidDns, 540 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 66560, 66560, 66688 541 ); 542 543 /*! 544 @class nn::ac::ResultInvalidProxy 545 @brief Failed to connect to the proxy server. (Not yet used.) 546 547 This result is subsumed by the following results and can be caught by handling any of them. 548 549 @li <tt>@ref nn::ac::ResultInvalid</tt> 550 551 552 */ 553 NN_DEFINE_RESULT_CONST_RANGE( 554 ResultInvalidProxy, 555 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 66688, 66688, 66816 556 ); 557 558 /*! 559 @class nn::ac::ResultFailedConntest 560 @brief Failed to connect to the HTTP server. (Not yet used.) 561 562 This result is subsumed by the following results and can be caught by handling any of them. 563 564 @li <tt>@ref nn::ac::ResultInvalid</tt> 565 566 567 */ 568 NN_DEFINE_RESULT_CONST_RANGE( 569 ResultFailedConntest, 570 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 66816, 66816, 66944 571 ); 572 573 /*! 574 @class nn::ac::ResultAlreadyExclusive 575 @brief Already exclusive. (Not yet used.) 576 577 This result is subsumed by the following results and can be caught by handling any of them. 578 579 @li <tt>@ref nn::ac::ResultInvalid</tt> 580 581 582 */ 583 NN_DEFINE_RESULT_CONST_RANGE( 584 ResultAlreadyExclusive, 585 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 67840, 67840, 67968 586 ); 587 588 /*! 589 @class nn::ac::ResultNotExclusive 590 @brief Not exclusive. (Not yet used.) 591 592 This result is subsumed by the following results and can be caught by handling any of them. 593 594 @li <tt>@ref nn::ac::ResultInvalid</tt> 595 596 597 */ 598 NN_DEFINE_RESULT_CONST_RANGE( 599 ResultNotExclusive, 600 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 67968, 67968, 68096 601 ); 602 603 /*! 604 @class nn::ac::ResultInvalidLocation 605 @brief Invalid location. (Not yet used.) 606 607 This result is subsumed by the following results and can be caught by handling any of them. 608 609 @li <tt>@ref nn::ac::ResultInvalid</tt> 610 611 612 */ 613 NN_DEFINE_RESULT_CONST_RANGE( 614 ResultInvalidLocation, 615 nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_AC, 68096, 68096, 68224 616 ); 617 618 /*! 619 @class nn::ac::ResultFatal 620 @brief Fatal error. 621 622 */ 623 NN_DEFINE_RESULT_CONST_RANGE( 624 ResultFatal, 625 nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_AC, 512000, 512000, 524288 626 ); 627 628 629 630 631 //! @} 632 633 } // namespace ac 634 } // namespace nn 635 636 #endif // __cplusplus 637 638 #endif // NN_AC_AC_RESULT_H_ 639