Skip to content

Conversation

@kormax
Copy link
Contributor

@kormax kormax commented Nov 29, 2025

  • Display node codes in natural network order to avoid confusion when those codes are to be used in other commands.
  • Display full node codes instead of only part containing the node code number;
  • Display end area code for areas;
  • Display area ranges and service number in decimal form in parentheses.

Before:

[=] ┌───────────────────────────────────────────────
[=] ├── AREA_0000
[=] ├── AREA_0001
[=] │   ├── svc_0048
[=] │   ├── svc_004A
[=] │   ├── svc_0088
[=] │   ├── svc_008B
[=] │   ├── AREA_0003
[=] │   │   ├── svc_00C8
[=] │   │   ├── svc_00CA
[=] │   │   ├── svc_00CC
[=] │   │   ├── svc_00CE
[=] │   │   ├── svc_00D0
[=] │   │   ├── svc_00D2
[=] │   │   ├── svc_00D4
[=] │   │   ├── svc_00D6
[=] ├── AREA_0020
[=] │   ├── svc_0810
[=] │   ├── svc_0812
[=] │   ├── svc_0816
[=] │   ├── svc_0850
[=] │   ├── svc_0852
[=] │   ├── svc_0856
[=] │   ├── svc_0890
[=] │   ├── svc_0892
[=] │   ├── svc_0896
[=] │   ├── svc_08C8
[=] │   ├── svc_08CA
[=] │   ├── svc_090A
[=] │   ├── svc_090C
[=] │   ├── svc_090F
[=] ├── AREA_003F
[=] │   ├── AREA_0040
[=] │   │   ├── svc_1008
[=] │   │   ├── svc_100A
[=] │   │   ├── svc_1048
[=] │   │   ├── svc_104A
[=] │   │   ├── svc_108C
[=] │   │   ├── svc_108F
[=] │   │   ├── svc_10C8
[=] │   │   ├── svc_10CB
[=] │   │   ├── svc_1108
[=] │   │   ├── svc_110A

After:

[?] Area and service codes are printed in network order.
[=] ┌───────────────────────────────────────────────
[=] ├── AREA_0000FEFF (0-1023)
[=] ├── AREA_4000FF07 (1-31)
[=] │   ├── SVC_4800 (1)
[=] │   ├── SVC_4A00 (1)
[=] │   ├── SVC_8800 (2)
[=] │   ├── SVC_8B00 (2)
[=] │   ├── AREA_C000FF00 (3-3)
[=] │   │   ├── SVC_C800 (3)
[=] │   │   ├── SVC_CA00 (3)
[=] │   │   ├── SVC_CC00 (3)
[=] │   │   ├── SVC_CE00 (3)
[=] │   │   ├── SVC_D000 (3)
[=] │   │   ├── SVC_D200 (3)
[=] │   │   ├── SVC_D400 (3)
[=] │   │   ├── SVC_D600 (3)
[=] ├── AREA_0008BF0F (32-62)
[=] │   ├── SVC_1008 (32)
[=] │   ├── SVC_1208 (32)
[=] │   ├── SVC_1608 (32)
[=] │   ├── SVC_5008 (33)
[=] │   ├── SVC_5208 (33)
[=] │   ├── SVC_5608 (33)
[=] │   ├── SVC_9008 (34)
[=] │   ├── SVC_9208 (34)
[=] │   ├── SVC_9608 (34)
[=] │   ├── SVC_C808 (35)
[=] │   ├── SVC_CA08 (35)
[=] │   ├── SVC_0A09 (36)
[=] │   ├── SVC_0C09 (36)

@github-actions
Copy link

You are welcome to add an entry to the CHANGELOG.md as well

@kormax kormax marked this pull request as ready for review November 29, 2025 16:28
@kormax kormax force-pushed the improve-felica-scsvcode-output-format branch from 6de4d65 to 9cf1576 Compare November 29, 2025 16:29
@iceman1001 iceman1001 merged commit 3a5c0d8 into RfidResearchGroup:master Dec 1, 2025
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants