From 031787b90816bcf4da14f2a858b3a1ce16f85b1a Mon Sep 17 00:00:00 2001 From: nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> Date: Thu, 11 Jul 2024 19:42:05 +1000 Subject: [PATCH] fix: formatting and theming --- docs/IC-chips/card.md | 11 ++++++-- docs/commands/index.md | 62 +++++++++++++++++++++--------------------- mkdocs.yml | 22 +++++++++++++++ 3 files changed, 61 insertions(+), 34 deletions(-) diff --git a/docs/IC-chips/card.md b/docs/IC-chips/card.md index e8ef357..ba7bb98 100644 --- a/docs/IC-chips/card.md +++ b/docs/IC-chips/card.md @@ -165,8 +165,9 @@ Unlisted IC module. * RC-S890 * 576B EEPROM -### Dual interface (32KB)[@sonyRCS952Datasheet2005] +### Dual Interface (32KB)[@sonyRCS952Datasheet2005] IC with physical contacts, potentially for credit/debit cards like Rakuten Edy. Supports both DES and AES encryption, JavaCard applets, ISO/IEC 14443 (NFC-A) and ISO/IEC 7816 (APDU). + * Model name: RC-S952 * IC code: `08`[@sonyFeliCaTechnicalProductsList] * Known PICCs: @@ -177,8 +178,9 @@ IC with physical contacts, potentially for credit/debit cards like Rakuten Edy. * 32KB EEPROM * Hardware core: Infineon -### Dual interface (16KB)[@sonyRCS952Datasheet2005] +### Dual Interface (16KB)[@sonyRCS952Datasheet2005] IC with physical contacts, potentially for credit/debit cards like Rakuten Edy. Supports both DES and AES encryption, JavaCard applets, ISO/IEC 14443 (NFC-A) and ISO/IEC 7816 (APDU). + * Model name: RC-S953 * IC code: `09`[@sonyFeliCaTechnicalProductsList] * 16KB EEPROM @@ -187,6 +189,7 @@ IC with physical contacts, potentially for credit/debit cards like Rakuten Edy. ### CJRC-compliant[@sonyRCS954Datasheet2009] Unlisted IC with physical contacts, potentially for credit/debit cards with additional transport card functionality, such as JR East's View Card with Suica. Model number (ending in 4) indicates compliance with CJRC IC Card standard. Supports both DES and AES encryption, JavaCard applets, ISO/IEC 14443 (NFC-A) and ISO/IEC 7816 (APDU). + * Known model names: * RC-S954 * RC-S957/2[@sonyRCS957SecurityTarget2009] @@ -334,6 +337,7 @@ Unlisted IC, likely a precursor to SD2 potentially for transport cards. Model nu Released in 2021. Introduced: + * Extended Overlap Services * Value Limited Purse Services * Integrated FeliCa Lite-S @@ -460,10 +464,11 @@ A JavaCard applet seperately developed and licensed by FeliCa Networks Inc., a s * Known PICCs: N/A Within the Mobile FeliCa Client Android application, there are references to two implementation types: + * `FelicaSe` (Secure Element?) * `FelicaGp` (GlobalPlatform) -Special thanks to[@eggman](https://qiita.com/eggman/items/27d988fe5c0be2c38a33) on Qiita for gathering data on `FelicaSe` chips. +Special thanks to [@eggman](https://qiita.com/eggman/items/27d988fe5c0be2c38a33) on Qiita for gathering data on `FelicaSe` chips. ### Version 1.0[@sonyMobileFeliCa10SecurityTarget2006] * IC type: `06`-`07`[@sonyFeliCaTechnicalProductsList] diff --git a/docs/commands/index.md b/docs/commands/index.md index 513a094..9a68d62 100644 --- a/docs/commands/index.md +++ b/docs/commands/index.md @@ -9,8 +9,8 @@ Note: likely missing some FeliCa Ad-Hoc Link Protocol (Mobile FeliCa OS?) comman Most of this information may be incorrect; use with caution. -| Name | Required Mode | Req. Code | Resp. Code | -|------------------------------------------------------------------------------------------|---------------|-----------|------------| +| Name | Required Mode | Req. Code | Resp. Code | +|-----------------------------------------------------------------------------------------|---------------|-----------|------------| | Polling[@sonyFeliCaSDManual2024;@onakasuitaCommands] | 0 | `00` | `01` | | Request Service[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `02` | `03` | | Request Response[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `04` | `05` | @@ -19,36 +19,36 @@ Most of this information may be incorrect; use with caution. | Search Service Code[@nfcpyTT3Sony2022;@onakasuitaCommands] | Any | `0A` | `0B` | | Request System Code[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `0C` | `0D` | | Request Block Information[^rbi][@sonyRCS493BProductSpecifications2008] | Any | `0E`? | `0F`? | -| [Authentication Start (DES)](./authentication.md#authentication-start-des) | 0 | `10` | `11` | -| [Authentication Finish (DES)](./authentication.md#authentication-finish-des) | 1 or 2 in DES | `12` | `13` | +| [Authentication Start (DES)](./authentication.md#authentication-start-des) | 0 | `10` | `11` | +| [Authentication Finish (DES)](./authentication.md#authentication-finish-des) | 1 or 2 in DES | `12` | `13` | | Read (DES)[@sonyFeliCaSDManual2024;@onakasuitaCommands] | 2 in DES | `14` | `15` | | Write (DES)[@sonyFeliCaSDManual2024;@onakasuitaCommands] | 2 in DES | `16` | `17` | -| ??? | 2 in DES? | `18` | `19` | -| ??? | 2 in DES? | `1A` | `1B` | -| ??? | 2 in DES? | `1C` | `1D` | -| Request Block Information Ex[^rbie][@sonyRCS493BProductSpecifications2008] | Any? | `1E`? | `1F`? | -| ??? | ? | `20` | `21` | -| Get Container Issue Information[@gungun256ContainerInfo2016] | 0 (Any?) | `22` | `23` | -| ??? | ??? | `24` | `25` | -| ??? | ??? | `26` | `27` | +| ??? | 2 in DES? | `18` | `19` | +| ??? | 2 in DES? | `1A` | `1B` | +| ??? | 2 in DES? | `1C` | `1D` | +| Request Block Information Ex[^rbie][@sonyRCS493BProductSpecifications2008] | Any? | `1E`? | `1F`? | +| ??? | ? | `20` | `21` | +| Get Container Issue Information[@gungun256ContainerInfo2016] | 0 (Any?) | `22` | `23` | +| ??? | ??? | `24` | `25` | +| ??? | ??? | `26` | `27` | | Get Node Property[@sonyFeliCaSDManual2024] | Any | `28` | `29` | -| ??? | ? | `2A` | `2B` | -| ??? | ? | `2C` | `2D` | -| ??? | ? | `2E` | `2F` | -| ??? | ? | `30` | `31` | +| ??? | ? | `2A` | `2B` | +| ??? | ? | `2C` | `2D` | +| ??? | ? | `2E` | `2F` | +| ??? | ? | `30` | `31` | | Request Service v2[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `32` | `33` | | Read (MAC)[@sonyFeliCaSDManual2024] | 0 or 1 in MAC | `34` | `35` | | Write (MAC)[@sonyFeliCaSDManual2024] | 0 or 1 in MAC | `36` | `37` | | Get System Status[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `38` | `39` | -| ??? | ? | `3A` | `3B` | +| ??? | ? | `3A` | `3B` | | Request Specification Version[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `3C` | `3D` | | Reset Mode[@sonyFeliCaSDManual2024;@onakasuitaCommands] | Any | `3E` | `3F` | -| [Authentication Start (AES)](./authentication.md#authentication-start-aes) | 0 | `40` | `41` | -| [Authentication Finish (AES)](./authentication.md#authentication-finish-aes) | 1 or 2 in AES | `42` | `43` | +| [Authentication Start (AES)](./authentication.md#authentication-start-aes) | 0 | `40` | `41` | +| [Authentication Finish (AES)](./authentication.md#authentication-finish-aes) | 1 or 2 in AES | `42` | `43` | | Read (AES)[@sonyFeliCaSDManual2024;@onakasuitaCommands] | 2 in AES | `44` | `45` | | Write (AES)[@sonyFeliCaSDManual2024;@onakasuitaCommands] | 2 in AES | `46` | `47` | -| Get ??? | 2 in AES? | `48` | `49` | -| ??? | 2 in AES? | `4A` | `4B` | +| Get ??? | 2 in AES? | `48` | `49` | +| ??? | 2 in AES? | `4A` | `4B` | | Update Random ID[@sonyFeliCaSDManual2024;@onakasuitaCommands] | 2 in AES? | `4C` | `4D` | | Set Node Property[@sonyFeliCaSDManual2024] | 2 in AES? | `78` | `79` | | Activate[@sonyFALPPatent2002] | Any? | ?? | ?? | @@ -62,21 +62,21 @@ Most of this information may be incorrect; use with caution. | Register Area[@sonyRCS493BProductSpecifications2008;@sonyFeliCaHighSpeedPatent2011] | 2 or 3 | ?? | ?? | | Register Service[@sonyRCS493BProductSpecifications2008;@sonyFeliCaHighSpeedPatent2011] | 2 or 3 | ?? | ?? | | Register Issue ID Ex[@sonyRCS493BProductSpecifications2008] | 2 or 3 | ?? | ?? | -| Register Separate System(?)[^separate][@sonyFeliCaSeparateSystems2005] | ?? | ?? | ?? | +| Register Separate System(?)[^separate][@sonyFeliCaSeparateSystems2005] | ?? | ?? | ?? | | Set Relational Service[@sonyRCS493BProductSpecifications2008] | ?? | ?? | ?? | | Change System Block[@sonyFeliCaHighSpeedPatent2011] | 3 | ?? | ?? | | Register Manufacture ID[@sonyFeliCaHighSpeedPatent2011] | 2 or 3 | ?? | ?? | | Self Diagnosis[@sonyFeliCaHighSpeedPatent2011] | 2 | ?? | ?? | -| Ping (echo back)[@nxpPN533Note2018] | Any | F0 | F0 | +| Ping (echo back)[@nxpPN533Note2018] | Any | `F0` | `F0` | | Delete Key[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | -| Set Node Property[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | -| Set Random ID Option[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | -| Disable Issuance[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | -| Set Diversification Code[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | -| Tracking[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | -| Reset Data[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | -| Reset All[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | -| Terminate[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | +| Set Node Property[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | +| Set Random ID Option[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | +| Disable Issuance[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | +| Set Diversification Code[@sonyFeliCaSDManual2024] | ?? | ?? | ?? | +| Tracking[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | +| Reset Data[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | +| Reset All[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | +| Terminate[@sonyFeliCaDiscardPatent2014] | ?? | ?? | ?? | diff --git a/mkdocs.yml b/mkdocs.yml index cda7302..bbcd5a1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,6 +2,28 @@ site_name: NFC-F Information site_url: https://nullablevoidptr.github.io/nfcf-info/ theme: name: material + palette: + - media: "(prefers-color-scheme)" + primary: blue + accent: cyan + toggle: + icon: material/brightness-auto + name: Switch to light mode + - media: "(prefers-color-scheme: light)" + scheme: default + primary: blue + accent: cyan + toggle: + icon: material/brightness-7 + name: Switch to dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: blue + accent: cyan + toggle: + icon: material/brightness-4 + name: Switch to system preference + plugins: - search - bibtex: